Hello community,
this is my first post, so please appologise me, if i made something wrong
i’m searching for a solution to toggle a MQTT (to be more detailed a Tasmota relay) device to “off” or “on” even when they are offline.
Background:
The MQTT device will be powered by a ordonary lightswitch and will be powered off in the evening and powered on every morning. I have automations to switch this Tasmota switch to Off/On by several conditions whitch can happen even when the Switch is offline and should happen when the Switch becomes online again.
Example:
the Tasmota relay is “on” and will be powered off by the lightswitch. Meanwhile the Tasmota is offline, the condition changes and the automation should change him to “off”. When power comes back the Tasmota should change to “off”. Normally the last state (on/off) of the Relay will be set when the Tasmota gets power again.
Is there any simple solution for this?
Thanks and greetings from Germany!
Joerg