wink-mqtt
wink-mqtt copied to clipboard
Rsyslog refactor
Everything stopped working for me when I updated firmware recently: monit got confused and wouldn't start local-control server, log rotation made tailing flakey, and I got inconsistent queries from the apron dbs. I refactored so rsyslog takes care of the app lifecycle and aprontest
is used for all queries (seems much more reliable). I also made it npm pack
able with bundled dependencies, so you can install directly from tarball without worrying about missing node_modules
. There's query debouncing and race prevention built in, and setting a value from mqtt doesn't immediately publish the value - it waits for the hub to acknowledge the change. Note that I did get rid of the group
topics - not sure if that was being used. Let me know what you think!