When the smartplug is controlled via the web UI the state correctly updates on MQTT e.g
Topic: <basetopic>/<smartplugID>/out/ctrlmode
Message: On or Off
However, if the smart plug is controlled via MQTT e.g
Topic: <basetopic>/<smartplugID>/in/ctrlmode
Message: On or Off
The status out topic does not update, the http JSON /status always return the correct statue. Having the correct state always available via MQTT would be very useful for integration with other control systems e.g Home Assistant
When the smartplug is controlled via the web UI the state correctly updates on MQTT e.g
Topic:
<basetopic>/<smartplugID>/out/ctrlmode
Message:On
orOff
However, if the smart plug is controlled via MQTT e.g
Topic:
<basetopic>/<smartplugID>/in/ctrlmode
Message:On
orOff
The status
out
topic does not update, the http JSON/status
always return the correct statue. Having the correct state always available via MQTT would be very useful for integration with other control systems e.g Home Assistant