wink-mqtt icon indicating copy to clipboard operation
wink-mqtt copied to clipboard

Rsyslog refactor

Open xdissent opened this issue 7 years ago • 6 comments

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 packable 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!

xdissent avatar May 29 '17 20:05 xdissent