I have several LightwaveRF sockets, they are great looking, except that there's no way to know their status and when there's a power cut... the revert to default off.
I have been trying to create a simple script to check the last status so it can revert back with a user variable, something like this:
Habitat_status (integer) = 0 <- this is what I call the lamp and 0 = off
Then whenever the switch is triggered via domoticz, it updates the variable to 0 or 1 for off and on. Then I have a time blockly like this: But nothing seems to happen every minute, no trace of it on the log file.
Am I missing anything obvious? Also, has anyone overcome this luck of feedback status from the LIghtwaveRF switches with a clever trick?