Delay timer with Blockly
Moderator: leecollings
- proza
- Posts: 24
- Joined: Friday 12 February 2016 15:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11415
- Location: The Netherlands
- Contact:
Delay timer with Blockly
Normally all the light goes out at 23.00. But if a movement is detected in the living room, I want to increase a timer by 10 minutes. When the timer count down to zero, a group switch will turn off the lights. For the time being I do not see any possibility within blockey. Look forward to a nice tip
If you see me collapse, pause my Garmin fenix 3
- Sine
- Posts: 17
- Joined: Monday 02 February 2015 15:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Delay timer with Blockly
Blockly is VERY limited.
There is not set or reset -able timer, something you need for things like presence detection.
Years ago there was a poll for what functionality should be added to blockly, this one was high on the list.
I doubt we'll ever see it (Oh hi gizmocuz)
Search for "presence detection" and you might find a few things you can brew up in lua
There is not set or reset -able timer, something you need for things like presence detection.
Years ago there was a poll for what functionality should be added to blockly, this one was high on the list.
I doubt we'll ever see it (Oh hi gizmocuz)
Search for "presence detection" and you might find a few things you can brew up in lua
-
- Posts: 113
- Joined: Friday 08 January 2016 12:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Delay timer with Blockly
You could try this, using a virtual switch, and 2 blocklyd.
1:
If sensor = on
Set virtual switch = on
Set virtual switch = off after 600 seconds.
( or a time you want ).
2:
If time = ((after 23:00 or before 06:00) and virtual switch = off)
Set yourGroup = off.
1:
If sensor = on
Set virtual switch = on
Set virtual switch = off after 600 seconds.
( or a time you want ).
2:
If time = ((after 23:00 or before 06:00) and virtual switch = off)
Set yourGroup = off.
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
- proza
- Posts: 24
- Joined: Friday 12 February 2016 15:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11415
- Location: The Netherlands
- Contact:
Re: Delay timer with Blockly
Thank you @Sion, I can continue to work out the complete flow This part is working.
- Attachments
-
- 2019-01-07 22_07_35-Start.jpg (28.29 KiB) Viewed 4082 times
If you see me collapse, pause my Garmin fenix 3
Who is online
Users browsing this forum: No registered users and 1 guest