I'm implementing a solution for IoT/home automation, starting first test on my house...
Is going to use MQTT to exchange messages using a central broker model.
This are the components: cloud server, central home server, home nodes [sensors+actuators].
At the moment I have the MQTT broker on my home computer... My question is, what is better for performance/security/scalability
- have the MQTT Broker at my house and if central server fails, have devices communicating with cloud [nodes have also 3g connections via API]
- have the MQTT Broker at the cloud and coordinate all from the internet
- have a hybrid approach where if home server is down, it uses cloud server for broker
is there other option I'm not aware of?