Hello,
Not sure were to place this question.
Ik want to turn the lights in 30 minutes before sunset. (At sunset it is to late). How can I accomplish this with blockly? Currently I'm doing fine with blockly and don't want to invest in LUA.
Are there any tricks to accomplish this?
Regards,
Jeroen
Turn light on 30 minutes before sunset with Blockly (Solved)
Moderators: leecollings, remb0
-
- Posts: 3
- Joined: Tuesday 18 October 2016 15:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Turn light on 30 minutes before sunset with Blockly (Solved)
Last edited by jeroenvdpoll on Thursday 20 October 2016 21:01, edited 1 time in total.
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Turn light on 30 minutes before sunset with Blockly
Just use a timer, or go scripting and let your imagination go... 

-
- Posts: 3
- Joined: Tuesday 18 October 2016 15:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Turn light on 30 minutes before sunset with Blockly
I don't want to invest in learning the LUA scripting language if it's not necessary.
This is basically the only thing I cannot figure out with purely using blockly.
Can you explain how to use a timer?

This is basically the only thing I cannot figure out with purely using blockly.
Can you explain how to use a timer?
-
- Posts: 3
- Joined: Tuesday 18 October 2016 15:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Turn light on 30 minutes before sunset with Blockly (Solved)
I figured it out:
Created a dummy switch and set time 30 before sunset to turn switch on, at sunrise (before sunrise 0 minutes) it turns off.
This dummy switch now controls the lights.
Thanks for setting me on the right track
Created a dummy switch and set time 30 before sunset to turn switch on, at sunrise (before sunrise 0 minutes) it turns off.
This dummy switch now controls the lights.
Thanks for setting me on the right track
Re: Turn light on 30 minutes before sunset with Blockly (Solved)
Hi,
I know this is a pretty very old post but could you please explain how you achieve to do an action xx minutes before sunset please ?
Regards,
Laurent
I know this is a pretty very old post but could you please explain how you achieve to do an action xx minutes before sunset please ?
Regards,
Laurent
- waltervl
- Posts: 5859
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Turn light on 30 minutes before sunset with Blockly (Solved)
You do not need blockly for this but use the timer function (button Timer on device widget), see wiki https://www.domoticz.com/wiki/Managing_ ... ice_Timers
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Turn light on 30 minutes before sunset with Blockly (Solved)
Ah thks a lot, I didn't know this was possible directly with Timers in Domoticz.waltervl wrote: ↑Monday 02 January 2023 10:00You do not need blockly for this but use the timer function (button Timer on device widget), see wiki https://www.domoticz.com/wiki/Managing_ ... ice_Timers
Who is online
Users browsing this forum: No registered users and 1 guest