Node.js code for publishing APC UPS info (from apcupsd) to MQTT broker