Added a few more command line arguments for cleaner logging.
Added a Ctrl+C handler to gracefully shutdown.
I'm migrating the code to a class, so that I can better separate the programme logic from the process management logic. This will let me daemonise the code a bit better and "cleaner".
Bug squashing.
Changed the main exec file to just call out the class, wrapping it with some parameter validation logic.
Fixed a number of bugs and typos and have now gotten the programme working.
Ignoring pyc files
Fixed a bug where I called logger.basicConfig() twice - only one call allowed.
Made the on_publish event handler a lambda function too.
Fixing some bugs with SIGINT handling.
Squashed a few typos/bugs.
Updating repo README with branch/release info
Fixed a bug where the log file was accidentally hardcoded. Added initial daemonisation code.
import typo fix
Change MQTT to SQLite
Rework program arguments for SQlite
Fix a typo & a whitespace error
Fix missed reference to self.database
Add sending of instantanous command
Fix tabs -> spaces