Various nodes to run sonoff server and control your devices using Node-RED. It uses simple-sonoff-server.
This assumes you have Node-RED already installed and working. If you need to install Node-RED see installation guide.
$ cd ~/.node-red
$ npm install node-red-contrib-sonoff-server
$ node-red-stop && node-red-start
Each node has more detailed information in the Node-RED info panel.
- sonoff-server
- sonoff-list
- sonoff-off
- sonoff-on
- sonoff-state