I'm new to Domoticz and I want to accomplish the following, but do not know how to solve it, hope someone can help.
At the moment I've got a smart switch who's switching a simple lamp in my living room.
I've set up a trigger / timer: 1:15 before sundown the switch is set to ON and at 23:00 the switch is set to OFF.
That works great.
But now I want to add some extra functionality by adding a light sensor.
This is what I would like to accomplish:
When it is daytime and the light sensor is triggered (ON) eg. on a very cloudy day, the livingroom lamp should switch on.
When the clouds move away and the light sensor is triggered OFF, the livingroom lamp should switch off after XX minutes.
When the clouds move back again and the light sensor is triggered again and the time is still within the XX minutes, the livingroom light will remain on.
The light sensor must be ignored when the default triggers are activated on the livingroom lamp (ON at 1:15 before sundown and OFF at 23:00)
This is the first setup I want to make with the light sensor, but maybe I want to trigger some more switches in the future.
I hope someone can help me point me in the right direction how to solve this.
I've tried to create a dummy switch, created a user variable and tried to make a Blocky script.
But I'm not shure these are the best ways.
Maybe it is better to create a Python or LUA script? and is there a simple solution?
Thank you for your help.
light sensor trigger in combination with daytime
Moderator: leecollings
- madpatrick
- Posts: 667
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: light sensor trigger in combination with daytime
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 1
- Joined: Saturday 11 September 2021 13:27
- Target OS: Linux
- Domoticz version:
- Contact:
Re: light sensor trigger in combination with daytime
Hello,
please check below links,FirstCallOnline its surely clear your all concern.
viewtopic.php?t=26998
please check below links,FirstCallOnline its surely clear your all concern.
viewtopic.php?t=26998
Who is online
Users browsing this forum: No registered users and 1 guest