Search found 7 matches

by peatmoss
Wednesday 26 June 2024 7:29
Forum: Python
Topic: Govee support
Replies: 17
Views: 5567

Re: Govee support

I think I found the issue. My govee lights got a new IP and it stopped working after that. I had to delete the device from Domoticz and add it again to get it working. I still have random issues where the log says the device index does not exist when used in a script.
by peatmoss
Tuesday 25 June 2024 21:29
Forum: Python
Topic: Govee support
Replies: 17
Views: 5567

Re: Govee support

I've been using the govee plugin, thanks for writing it! I had a power failure and had to reset my govee permanent outdoor light controller, I had to re-add them to the app. Now the plugin seems to see them but they don't work, no errors in the debug logs. I've set the lights for local api access ...
by peatmoss
Thursday 12 December 2019 21:33
Forum: dzVents
Topic: Turn off switch after being on x minutes [Solved]
Replies: 8
Views: 4223

Re: Turn off switch after being on x minutes [Solved]

This seems to work. I used a user variable. Not the most elegant but... return { on = { devices = { 269 }, timer = {'every 5 minutes' } }, execute = function(domoticz, item) if item.isTimer then if domoticz.devices(269).state == 'On' then local hotWaterTime = domoticz.variables('hotwatertime').value ...
by peatmoss
Thursday 12 December 2019 20:46
Forum: dzVents
Topic: Turn off switch after being on x minutes [Solved]
Replies: 8
Views: 4223

Re: Turn off switch after being on x minutes [Solved]

Yeah I should have mentioned it can be turned on by Alexa via fauxmo, the actual switch or Domoticz web. I'll look at logging to a file to debug.
by peatmoss
Thursday 12 December 2019 6:53
Forum: dzVents
Topic: Turn off switch after being on x minutes [Solved]
Replies: 8
Views: 4223

Re: Turn off switch after being on x minutes [Solved]

Its still not shutting off. After a closer look at the logs I think mqtt keeps updating the status and resets the off timer. I may have to fix this by setting a variable to keep track of the on time. Here are the logs: 2019-12-11 21:50:14.289 (MQTTDisco) 012/hot water: Topic: 'hot_water/tele/STATE ...
by peatmoss
Thursday 12 December 2019 1:03
Forum: dzVents
Topic: Turn off switch after being on x minutes [Solved]
Replies: 8
Views: 4223

Re: Turn off switch after being on x minutes [Solved]

Thanks Waaren! I'll give this a try.
by peatmoss
Wednesday 11 December 2019 23:14
Forum: dzVents
Topic: Turn off switch after being on x minutes [Solved]
Replies: 8
Views: 4223

Turn off switch after being on x minutes [Solved]

Hi, I have a hot water recirculating pump that I control with Domoticz. We turn this on 15 minutes before taking a shower of when we want hot water at the faucet. Is there a way to turn off this switch after it has ben on for x minutes? I tried doing this in dzVents without luck. Here is what I have ...