QOS 0 question [message #1859488] |
Sat, 10 June 2023 21:43 |
Len Gross Messages: 1 Registered: June 2023 |
Junior Member |
|
|
I believe all MQTT connections use TCP/IP. Therefore, it seems that when the broker publishes to a topic (even at QOS 0), it would know if a connection was established with each subscriber.
In my application, I'd like to know that the connection to a swirch was made. The switch is reliable so if the connection is made it will trigger the relay.
Unfortunately, I can not easily modify the code of the client (Tasmota running on a Sonoff S31) that has subscribed to the message; and it will only subscribe with QOS zero. Also, the subscriber just "eats the message" and does not send any application level response.
I probably can come up with a workaround by sending a message before/after that generates a response from the switch, but it would be way cleaner if I could subscribe to a "connection failed" topic. Does something like this exist?
Thanks in advance.
--Len
|
|
|
Powered by
FUDForum. Page generated in 0.04488 seconds