0.2.0 • Published 9 years ago

td-mqtt-bridge v0.2.0

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

Telldus to MQTT Bridge

Install as a service on Raspberry Pi

Source

Install forever.js

npm install -g forever

Copy etc/init.d/td-mqtt-bridge to /etc/init.d and make it executable

sudo su
cp etc/init.d/td-mqtt-bridge /etc/init.d/td-mqtt-bridge
chmod a+x /etc/init.d/td-mqtt-bridge

Edit the node binary paths and app paths in the script is necessary

After putting the script in place, you should update the system service definitions:

update-rc.d td-mqtt-bridge defaults

Run or check on the script and its process with the following commands:

service td-mqtt-bridge start
service td-mqtt-bridge status
service td-mqtt-bridge restart
service td-mqtt-bridge stop