I've recently started incorporating arduino/ESP32 based devices into my HomeSeer environment and can now see the appeal of MQTT. Unfortunately I'm finding it has a steep learning curve and would appreciate some advice on how best to get started so I don't set off with the wrong foundations.
Presently I have HomeSeer running on an i7 fanless PC running Windows 10. I've various plugins in use including Z-Wave, RFXCom, Harmony, Wemo, etc. The latest addition is the Arduino plugin which I'm using to poll sensors from an ESP32 unit monitoring my hydroponic farm. I've set up a Node-RED server/dashboard running on a Raspberry Pi3 and have also installed Mosquitto MQTT broker on it but not enabled it (yet).
First question is should I use Mosquitto on the RPi or the broker in the MCSMQTT plugin?
Secondly, I started working through the 200 pages of the plugin manual (big respect, documentation seems to be going the way of the dodo these days) unfortunately I wasn't able to work out a recommended configuration as a start point. Specifically;
Dave
Presently I have HomeSeer running on an i7 fanless PC running Windows 10. I've various plugins in use including Z-Wave, RFXCom, Harmony, Wemo, etc. The latest addition is the Arduino plugin which I'm using to poll sensors from an ESP32 unit monitoring my hydroponic farm. I've set up a Node-RED server/dashboard running on a Raspberry Pi3 and have also installed Mosquitto MQTT broker on it but not enabled it (yet).
First question is should I use Mosquitto on the RPi or the broker in the MCSMQTT plugin?
Secondly, I started working through the 200 pages of the plugin manual (big respect, documentation seems to be going the way of the dodo these days) unfortunately I wasn't able to work out a recommended configuration as a start point. Specifically;
- Which broker to use as the documentation seems to mention the mcsMQTT broker as almost a fall back
- Recommended way to secure the environment SSL/username & password, etc. as a start point
- Recommended workflow with Node-RED. I could see how I could use Node-RED just for use as a dashboard but I could also see how it could work
- HS => MQTT <= Node-RED <= Arduino sensors
- Any simple worked examples of getting HS devices outputting MQTT status and how to ingest that in Node-RED
Dave
Comment