I’m working on a project with MQTT - and I wanted to see if anyone has input about how to best accomplish my plan.
The goal: I have a system with a Raspberry Pi and an Argon as components that communicate to each other, they are portable, and they get moved to a new environment periodically (therefore the local IP addresses change). I have to use local communication because the internet is intermittent at the site, and I can’t be losing messages during brief internet outages - the messages are time sensitive alarm conditions. I want the Rpi to initially send it’s local IP address to the Argon, and once that is received, further messages will be completely local.
So I think the question is - can I get two separate MQTT clients running simultaneously on an Argon? Or should I (could I) set up the Argon to use a Cloud Broker initially, but when the Local IP info arrives via MQTT and cloud, change the Mqtt broker to be the local one?