In this case the broker has already delivered the message so I would expect no additional messages to be sent by the broker. There is also a Quality Of Service option, but I am not familiar if it would affect your scenario or not. You would need to read the spec or experiment if "At Least Once" and "Retain" would result in retransmission after reconnection.
My guess is that you will want to trigger event on the LWT being Online and then publish whatever you want the arduino to do.
If possible I would prefer to have the point of control retain the state and restore the state on power application. HS would sync with the node as it publishes its status. Tasmota lets you either initialize output to prior value or to Off.
My guess is that you will want to trigger event on the LWT being Online and then publish whatever you want the arduino to do.
If possible I would prefer to have the point of control retain the state and restore the state on power application. HS would sync with the node as it publishes its status. Tasmota lets you either initialize output to prior value or to Off.
Comment