I’ve been using the MQTT service extensively with some external WiFi connected arduino devices very successfully, but until yesterday, I did not realize that if either the router or the Cerbo is restarted while no internet is available, the MQTT service is not available, logging an error trying to resolve a DNS name. I understand you use this service for VRM, but my equipment expects the MQTT service to be fully accessible simply through a local network.
I need to know if there is a way to circumvent this DNA name resolution when the service is used strictly local.
The MQTT broker is always available, it does not matter if the device has internet access or not. Probably your device is loosing the IP address or connection. Try to access it via it’s IP address instead of the DNS name and eventually set a static IP on the GX device. I have many GX devices completely offline where I can access the MQTT broker with no issues.
I am addressing the Cerbo and in turn the MQTT broker by IP address. I believe it does connect to the broker but there is no response from it to the subscriptions. When the Cerbo has internet connection, it all works fine. It almost looks like it all goes through the cloud, but that is not what I want to happen.
Yes i do. As i said, this system works flawlessly as long as the cerbo has internet after booting up plus maybe 15 minutes for all to settle. After that, internet can be dropped and it continues to work flawlessly. But if the cerbo restarts and has no internet, the MQTT broker does not respond.