Hi,
thanks,
generally I have no problem with MQTT. The problem is with Gen2 device discovery via MQTT. In Gen2 MQTT is different than Gen1. Take a look here: https://shelly-api-docs.shelly.cloud/gen2/Overview/RPCChannels#mqtt
In Gen1 there was one topic shellies/# with announces etc. And every device could be discovered via MQTT (off course only when MQTT was configured). And most of devices were sending once a while messages.
In Gen2 every device got its own topic, and every client got own topic to. And that works well.
But Gen2 does not send any announces via MQTT (as far I see) and there are two ways to detect device:
- use mDNS - which will give you all informations (but works only in LAN and sometimes it take a while to find device)
- you must know device names - and then try to subscribe proper topics etc.
And that is the problem - is there any other method to find the device via MQTT...