Search found 135 matches
- Friday 28 February 2020 6:11
- Forum: Switches and Scenes
- Topic: Hue blink lights (and back to former state)
- Replies: 2
- Views: 528
Re: Hue blink lights (and back to former state)
with Blockly you could try and use something like this (you'll have to create a uservariable for this to work to prevent retriggering. Note that this is text but you'll have to "translate" it to Blockly): If [trigger_switch] = [On] and [target_light] = [On] and [uservariable_target_light_blink] = [0 ...
- Wednesday 04 December 2019 22:02
- Forum: Blockly
- Topic: Blinds Automation
- Replies: 8
- Views: 2108
Re: Blinds Automation
'Closed' isn't a command you can send, it's a state to be used in the if statement something like this will work better I'd say: If [Time = [Sunset] and [Jalousie] = [Open] Do [Set [Jalousie] = [On]] [Set [Jalousie] = [Stop] after [8] seconds] It might sound strange to turn the Jalousie On but that ...
- Thursday 21 November 2019 21:03
- Forum: Blockly
- Topic: Blinds blocky
- Replies: 3
- Views: 676
Re: Blinds blocky
There are multiple things wrong with your blockly. E.G. you can't compare 2 times with each other (sunrise and sunset are nothing more than variable times depending on your location) try doing it this way: https://i.imgur.com/j3Qsm0F.png I added the 'Blind 1 = Open' and 'Blind 1 = Closed' to prevent ...
- Wednesday 11 September 2019 13:08
- Forum: Blockly
- Topic: Blocky program don't work
- Replies: 2
- Views: 845
Re: Blocky program don't work
The timer 'After 600 seconds' is still active even though you close the door before that timer ends. So it'll turn on 'Deur marker' after 600 seconds regardless and when it does, the second blockly is triggered because of the condition 'and Deur marker = On' If you want to do it in Blockly then you ...
- Sunday 01 September 2019 11:23
- Forum: Blockly
- Topic: How to select actions that not exist in blockly
- Replies: 5
- Views: 886
Re: How to select actions that not exist in blockly
in the do-section you'll have to use the corresponding % (so Set [Chigo huiskamer] Level (%) [10] for 'max cool', 20 for '21 graden cool' etc)
In the if-section you can use the names you gave those percentages
In the if-section you can use the names you gave those percentages
- Tuesday 06 August 2019 19:52
- Forum: LUA
- Topic: FOR 60 Minutes ( doesn't switch off after 2 commands )
- Replies: 6
- Views: 1109
Re: FOR 60 Minutes ( doesn't switch off after 2 commands )
Hi All, I'm struggling with some easy stuff. All I want to do is switch a dummy to detect presence for an x time to control lights . The code below works but if the switch is triggered for a second time within the countdown time the 'Presence' won't go to it's OFF state any more every time there is ...
- Tuesday 06 August 2019 18:10
- Forum: LUA
- Topic: FOR 60 Minutes ( doesn't switch off after 2 commands )
- Replies: 6
- Views: 1109
Re: FOR 60 Minutes ( doesn't switch off after 2 commands )
Hi All, I'm struggling with some easy stuff. All I want to do is switch a dummy to detect presence for an x time to control lights . The code below works but if the switch is triggered for a second time within the countdown time the 'Presence' won't go to it's OFF state any more every time there is ...
- Friday 31 May 2019 10:39
- Forum: Blockly
- Topic: condition when manually activated
- Replies: 2
- Views: 1007
Re: condition when manually activated
I think this'll do the trick: If [ [Time > [Sunset]] or [Time < [Sunrise]] ] and [Garden movement] = [On] and [Garden lights] = [Off] Do [Set [Garden lights] = [On]] [Set [Garden lights] = [Off] After [120] seconds] When you've turned on the 'Garden lights' manually, the motion sensor won't trigger ...
- Friday 10 May 2019 17:26
- Forum: PHP and all others
- Topic: Hall lights
- Replies: 17
- Views: 5065
Re: Hall lights
I tried the "or" but did not work, same error Could you show your Blockly? I think something else is still wrong. The 'Open' block in your opening post/first Blockly and the 'On' block in your second screenshot are both positioned incorrectly. As @nayr already said but you didn't follow his advice.
- Thursday 09 May 2019 21:14
- Forum: Blockly
- Topic: Selector switch for airco event
- Replies: 1
- Views: 994
Re: Selector switch for airco event
in the If statements you have to use the name you gave the level, in the output you have to set to 'Level (%) xx'
- Thursday 09 May 2019 16:57
- Forum: PHP and all others
- Topic: Hall lights
- Replies: 17
- Views: 5065
- Tuesday 07 May 2019 6:05
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 416085
- Monday 06 May 2019 21:37
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 416085
- Monday 06 May 2019 19:22
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 416085
Re: Blockly examples
Hello, how can I realize it? From 22.00 on, I would like to see the lamp on the left and on the right and from 6:00 on the lamp on the left, on the right and on the top. but it does not work that way https://www.domoticz.com/forum/download/file.php?id=19705 anyone an idea? What exactly doesn't work ...
- Thursday 25 April 2019 21:51
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 416085
Re: Blockly examples
I'd add a integer variable 'mechanische_ventillatie_level' which I'll sync with the level (%) of the switch so you'll get something like: If [Klimaat beheersing] = [On] and [CO2 Huiskamer] >= [400] and [CO2 Huiskamer] < [522] and [VAR mechanische_ventillatie_level] ≠ [10] Do [Set Mechanische V ...
- Thursday 11 April 2019 6:31
- Forum: Blockly
- Topic: Howto blink a light?
- Replies: 2
- Views: 2294
Re: Howto blink a light?
if blinking for x amount of times with 1 second interval does the trick, it's quite easy to do with Blockly:


- Saturday 06 April 2019 14:11
- Forum: LUA
- Topic: Selector switch & Inverted blind
- Replies: 2
- Views: 849
Re: Selector switch & Inverted blind
Try 'Closed' 

- Friday 22 February 2019 17:18
- Forum: Blockly
- Topic: simple blockly does not run ok
- Replies: 2
- Views: 736
Re: simple blockly does not run ok
Nested (an if in an if) if's don't work, so you'll have to change it to:


- Sunday 10 February 2019 12:56
- Forum: Blockly
- Topic: Doorbell script question
- Replies: 12
- Views: 2042
Re: Doorbell script question
I think I confused you a bit: I have a doorbell learned in domoticz as (Deurbel). This showed not up as an ON/OFF switch but is shown in domoticz as Deurbel.JPG when the bell button at the frontdoor is pressed 1 time, domoticz log shows in a very short time 3 x a notification (sometimes 4 or 5 ...
- Sunday 10 February 2019 11:25
- Forum: Blockly
- Topic: Doorbell script question
- Replies: 12
- Views: 2042
Re: Doorbell script question
Of course you'll have to do that, else the if condition won't be true. Where you can create the variables you can also give it a certain value 'Niet aangebeld' in this case. If [ [ [Bel Schakelaar] = [On] ] and [ [var Deurbel] = ["Niet aangebeld"] ] ] Do [Set [var Deurbel] = ["Er is aangebeld ...