Search found 2 matches

by plampix
Saturday 11 May 2024 15:17
Forum: Switches and Scenes
Topic: lastUpdate doesn't get updated for "Push On Button" switch type
Replies: 1
Views: 1246

lastUpdate doesn't get updated for "Push On Button" switch type

Good day, I'm having an issue with a Tuya fingerbot. If I add the switch as an On/Off switch, push the button in Domoticz, lastUpdate gets updated. If I change the type to a "Push On Button", lastUpdate doesn't get updated by pushing the button in domoticz, or dzvents, but it does get updated when I ...
by plampix
Wednesday 11 April 2018 21:02
Forum: Other questions and discussions
Topic: Cheap 433MHz door sensor (with open and close)
Replies: 49
Views: 27378

Re: Cheap 433MHz door sensor (with open and close)

Even simpler would be this generic solution (follow JelteV's instructions, just call the on/off devices $device/close and $device/open, and the main device $device). This will work for all your */close and */open devices! return { active = true, -- set to false to disable this script on = { devices ...