njlammerts,
You can also use an user variable.
When the door and the window are closed then set the user variable to 1.
When one of them is open set user variable to 0.
When zero then badkamer is off.
Kuifje
Search found 36 matches
- Monday 27 December 2021 15:21
- Forum: Blockly
- Topic: Insert delay option in script?
- Replies: 11
- Views: 2672
- Wednesday 03 November 2021 13:01
- Forum: dzVents
- Topic: Stop sending notifications
- Replies: 24
- Views: 2489
Re: Stop sending notifications
Piefje, i dont know about these scripts but in blockly i was advised to use a user variable ( integer ) when i wanted to put my badkamer licht out after 60 minutes. Without it the counter kept counting. When your pound level is <30 and the user variable is 0 turn on the valve and set the user ...
- Friday 15 January 2021 15:38
- Forum: Blockly
- Topic: Blockly doesn't react on kaku motion sensor
- Replies: 3
- Views: 821
Re: Blockly doesn't react on kaku motion sensor
SvdHaar.
you need to change the blue do-if in to a normal do blockly. This one is waiting for more.
kuifje
you need to change the blue do-if in to a normal do blockly. This one is waiting for more.
kuifje
- Tuesday 23 June 2020 18:21
- Forum: Blockly
- Topic: Temperature controlled relay
- Replies: 1
- Views: 593
Re: Temperature controlled relay
FredZ
have you tried 22 in stead of 21.9 degrees. i dont think blockly understands the dot.
Give it a try.
Kuifje
have you tried 22 in stead of 21.9 degrees. i dont think blockly understands the dot.
Give it a try.
Kuifje
- Monday 17 February 2020 11:08
- Forum: Blockly
- Topic: [SOLVED] Noob question: how to switch lights after powefailure
- Replies: 5
- Views: 687
Re: Noob question: how to switch lights after powefailure
Sjonnie, If there is a sunrise there will be no sunset at the same time. When there is a sunrise you need to connect a timestamp or a user variable to this action. This way no action will take place after sunrise. For example: if sunrise and time is >7:00 and user variable sunrise =0 set user ...
- Thursday 09 January 2020 12:54
- Forum: Blockly
- Topic: Blocky based on dimming
- Replies: 1
- Views: 380
Re: Blocky based on dimming
Erwin033
In gebeurtenissen is a chapter called logic. In logic you will find a level %. That is what i use with the hue bulbs to put them in the right %.
I hope this will get you on the right track.
greetings,
Kuifje
In gebeurtenissen is a chapter called logic. In logic you will find a level %. That is what i use with the hue bulbs to put them in the right %.
I hope this will get you on the right track.
greetings,
Kuifje
- Sunday 24 November 2019 13:28
- Forum: Blockly
- Topic: parallel events
- Replies: 2
- Views: 330
Re: parallel events
https://www.domoticz.com/forum/viewtopi ... 62&t=20048
Maybe this will put you in the right track.
Use uservariables.
Kuifje
Maybe this will put you in the right track.
Use uservariables.
Kuifje
- Saturday 18 May 2019 7:32
- Forum: Blockly
- Topic: How do i stop this from looping forever?
- Replies: 3
- Views: 940
Re: How do i stop this from looping forever?
IT turns on and of because you are using the same triggers at the same time.
When you push the remote button does iT stay on or is this a 1 time only?
Kuifje
When you push the remote button does iT stay on or is this a 1 time only?
Kuifje
- Saturday 18 May 2019 7:13
- Forum: Blockly
- Topic: Why is the last "SET" always being triggered? Driving me nuts
- Replies: 1
- Views: 829
Re: Why is the last "SET" always being triggered? Driving me nuts
First of all you are using the if/do and the else/if the wrong way. And second you should use a user variable to prefent the triggering.
Kuifje
Kuifje
- Friday 05 April 2019 12:48
- Forum: Blockly
- Topic: Help needed blocklyscript doorsensor toilet
- Replies: 6
- Views: 1102
Re: Help needed blocklyscript doorsensor toilet
Yazoo,
you have to use 1 if do blockly en put the else under the if. ( example ) The user variable has to be integer. ( Example )
Kuifje
you have to use 1 if do blockly en put the else under the if. ( example ) The user variable has to be integer. ( Example )
Kuifje
- Thursday 04 April 2019 12:08
- Forum: Blockly
- Topic: Help needed blocklyscript doorsensor toilet
- Replies: 6
- Views: 1102
Re: Help needed blocklyscript doorsensor toilet
Yazoo,
You have to use a user variable.
When sensor1 is alarm and sensor1 is 0
Set sensor1 to 1
Set wclamp to on
If sensor1 is no alarm and sensor1 is 1
Set wclamp off
Use the if else blockly. The one with the blue shizzle.
Mabey this will get you in the right direction
Kuifje
You have to use a user variable.
When sensor1 is alarm and sensor1 is 0
Set sensor1 to 1
Set wclamp to on
If sensor1 is no alarm and sensor1 is 1
Set wclamp off
Use the if else blockly. The one with the blue shizzle.
Mabey this will get you in the right direction
Kuifje
- Wednesday 03 April 2019 14:06
- Forum: Blockly
- Topic: Blockly irrigation control problem
- Replies: 4
- Views: 1025
Re: Blockly irrigation control problem
Johny,
you use a "if" "else" the wrong way.
When you click your mouse on the blue dot an else appears, that one you have to put under the if. You have to do this 4 times.
Now the first one doesn't know what the second one is doing or supposed to do.
Kuifje
you use a "if" "else" the wrong way.
When you click your mouse on the blue dot an else appears, that one you have to put under the if. You have to do this 4 times.
Now the first one doesn't know what the second one is doing or supposed to do.
Kuifje
- Tuesday 02 April 2019 16:00
- Forum: Blockly
- Topic: Switch on every 15 min for 1 min
- Replies: 1
- Views: 819
Re: Switch on every 15 min for 1 min
Jubbes,
maybe this will get you in the right direction.
I haven't been able to test it, maybe you can.
Good luck.
Kuifje
maybe this will get you in the right direction.
I haven't been able to test it, maybe you can.
Good luck.
Kuifje
- Wednesday 27 March 2019 9:10
- Forum: Blockly
- Topic: motion detection and timeout
- Replies: 3
- Views: 1432
Re: motion detection and timeout
OK
good for you
kuifje
good for you
kuifje
- Wednesday 27 March 2019 9:06
- Forum: Blockly
- Topic: blocks random switch on and off
- Replies: 4
- Views: 1061
Re: blocks random switch on and off
Gianni, i think you have to work with user variables. Because now the fan can switch on when the temperature is 19 degrees ore more but at the same time the humudity can drop under 59%, so the fan stops again. "if temp>19 or hum>60 and (user variable) koeling keuken switch = 0 "do set (user variable ...
- Friday 22 March 2019 6:57
- Forum: Blockly
- Topic: motion detection and timeout
- Replies: 3
- Views: 1432
Re: motion detection and timeout
Henk
I think you need to use the if else blocky .
IF " gardenmotion detected=0 and time< sunset and movement = on
SET " gardenmotion detected = 1
SET " garden lights on
IF " gardenmotion detection = 1
SET" garden lights off after 1 minute.
Kuifje
I think you need to use the if else blocky .
IF " gardenmotion detected=0 and time< sunset and movement = on
SET " gardenmotion detected = 1
SET " garden lights on
IF " gardenmotion detection = 1
SET" garden lights off after 1 minute.
Kuifje
- Tuesday 19 March 2019 22:34
- Forum: Blockly
- Topic: Security in through blocky event
- Replies: 2
- Views: 814
Re: Security in through blocky event
I think the " security status = armed home " is a status that can not be set. I think it can only set something else.
If " security = armed home is on
Do set .......
Kuifje
If " security = armed home is on
Do set .......
Kuifje
- Tuesday 19 March 2019 22:30
- Forum: Blockly
- Topic: Blocky script triggers itself continuously
- Replies: 3
- Views: 1048
Re: Blocky script triggers itself continuously
Your welcome.
I use the variables very often.
Greetings,
Kuifje
I use the variables very often.
Greetings,
Kuifje
- Monday 18 March 2019 10:52
- Forum: Blockly
- Topic: Blocky script triggers itself continuously
- Replies: 3
- Views: 1048
- Sunday 18 November 2018 12:02
- Forum: Blockly
- Topic: Lightbulb, motiondetector reset turn off-timer on every movement
- Replies: 3
- Views: 1141