I have a MQTT Mosquitto server running on a Raspberry Pi, and it receives local energy data every 5 seconds, along with other MQTT data - switches, environmental data etc.
Currently, the same Pi processes the data in node-RED, and publishes it in a NR dashboard & Grafana.
However, I've also setup node-RED in a Oracle VM, and considering processing/displaying the data in the VM instance instead of my local Pi.
What would be the best way to securely/efficiently get the data to the VM from my local Pi, and get data back from the VM to my local Pi?
- MQTT using SSL/TLS
- MQTT over websockets
- Something else
I've no experience of doing any of the above, and I've a feeling that this is going to be a learning curve!!