OK, so here's some testing:-
Neither Set instructions work:
Blockley1.JPG
Both Set instructions work
Blockley2.JPG
Both Set instructions work
Blockley3.JPG
So I was incorrect (again :cry: ). When I analyzed my existing Blockleys that utilise "Off", I found them not working correctly. (I ...
Search found 341 matches
- Monday 19 August 2019 14:57
- Forum: Switches and Scenes
- Topic: Selector switch URL's
- Replies: 8
- Views: 2577
- Monday 19 August 2019 12:06
- Forum: Switches and Scenes
- Topic: Selector switch URL's
- Replies: 8
- Views: 2577
Re: Selector switch URL's
@StanHD, does the set level name also works for labels other then Off ? (cannot test right now)
btw. Please use uploaded images ( the link might not work in the future )
@waaren, I don't think it does. I just looked through my Blockleys and in every instance (other than "off") I have used ...
- Monday 19 August 2019 10:39
- Forum: Switches and Scenes
- Topic: Selector switch URL's
- Replies: 8
- Views: 2577
Re: Selector switch URL's
Apologies, you're correct.
The "If" should work with the level name and the "Set" should work with the level name or level %. The below is working:-
https://www.dropbox.com/s/hgafc56nb7wxoct/Blockly2.JPG?dl=1
Both "Kitchen Extract Manual" and "Extract Fan" are selector switches created from the ...
The "If" should work with the level name and the "Set" should work with the level name or level %. The below is working:-
https://www.dropbox.com/s/hgafc56nb7wxoct/Blockly2.JPG?dl=1
Both "Kitchen Extract Manual" and "Extract Fan" are selector switches created from the ...
- Monday 19 August 2019 1:01
- Forum: Switches and Scenes
- Topic: Selector switch URL's
- Replies: 8
- Views: 2577
Re: Selector switch URL's
Hi,
Did you change your switch type from "On/Off" to "Selector"?
This can cause problems. If so then try it again by creating a new switch from Dummy hardware type.
With your Blockly, try using the Selector "Level" in the If block:
If Selector = Level 20%
Sent from my SM-T820 using Tapatalk
Did you change your switch type from "On/Off" to "Selector"?
This can cause problems. If so then try it again by creating a new switch from Dummy hardware type.
With your Blockly, try using the Selector "Level" in the If block:
If Selector = Level 20%
Sent from my SM-T820 using Tapatalk
- Tuesday 04 June 2019 7:42
- Forum: Blockly
- Topic: Dimmer level as condition in Blocky
- Replies: 6
- Views: 5314
Re: Dimmer level as condition in Blocky
The nested blockly wont work and also you cannot use the "if do" statement with the blue gear icon without an "else if".
Try using the plain "if do" block alone with the 2 conditions in an "and " block:-
If x=on and y > level 50%
Do Set y = level 50%
Try using the plain "if do" block alone with the 2 conditions in an "and " block:-
If x=on and y > level 50%
Do Set y = level 50%
- Monday 25 February 2019 22:43
- Forum: LUA
- Topic: Flood Fibaro sensor detection
- Replies: 3
- Views: 1484
Re: Flood Fibaro sensor detection
Hi, it appears your "if" statement is not complete.
If flood = ?????
Sent from my SM-T820 using Tapatalk
If flood = ?????
Sent from my SM-T820 using Tapatalk
- Saturday 16 February 2019 17:28
- Forum: Blockly
- Topic: set selector problem
- Replies: 3
- Views: 1048
Re: set selector problem
Hi, try replacing the text block "comfort" with:- <Level %> Block and the appropriate value of your selector (40?).
Sent from my SM-T820 using Tapatalk
Sent from my SM-T820 using Tapatalk
- Saturday 09 February 2019 8:45
- Forum: Blockly
- Topic: Need help regarding introduing delay in script execution
- Replies: 1
- Views: 799
Re: Need help regarding introduing delay in script execution
Your time criteria just excludes 1 hour between 16:00 and 17:00. Is that correct? If so then you need to change the "and" to "or" because you are crossing midnight into a new day, and the time is reset.
Another way may be to use "not equal to" 16:00 and 17:00?
Sent from my SM-T820 using Tapatalk
Another way may be to use "not equal to" 16:00 and 17:00?
Sent from my SM-T820 using Tapatalk
- Saturday 05 January 2019 17:39
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 435901
Re: Blockly examples
Try with the other "if" block that does not have the blue gear icon. The one you have used needs an "else if" to work.frigide wrote:
Why is this not working?
Sent from my SM-T820 using Tapatalk
- Monday 24 December 2018 10:39
- Forum: Others
- Topic: Logitech hub
- Replies: 6
- Views: 3110
Re: Logitech hub
@smartel
Thank you very much, working again now.
Looks like Logitech may be realising the amount of customers they made unhappy.
Sent from my SM-T820 using Tapatalk
Thank you very much, working again now.
Looks like Logitech may be realising the amount of customers they made unhappy.
Sent from my SM-T820 using Tapatalk
- Thursday 13 December 2018 15:15
- Forum: Blockly
- Topic: Selector not working
- Replies: 7
- Views: 1616
Re: Selector not working
I think you need to place the number of the rule after the = sign, not the name you gave it.
So:
if selector = 0 then
if selector = 10 then .....
I tried this before playing with strings, but with no luck.
Have you tried it like this:-
if selector = Level % 10 then .....
Because I have ...
- Wednesday 12 December 2018 20:24
- Forum: Blockly
- Topic: not all devices showing in blockly - devices
- Replies: 3
- Views: 1736
Re: not all devices showing in blockly - devices
Hi StanHD,
Yes i found it, they are all under 1 device, did not try that. Sorry for the dumb question. Thank you for the fast response and solving my problem.
Now i can go on making a script.
Greetz,
Jang You're welcome.
No such thing as a dumb question. The forum is for us all to learn and ...
Yes i found it, they are all under 1 device, did not try that. Sorry for the dumb question. Thank you for the fast response and solving my problem.
Now i can go on making a script.
Greetz,
Jang You're welcome.
No such thing as a dumb question. The forum is for us all to learn and ...
- Wednesday 12 December 2018 8:30
- Forum: Blockly
- Topic: not all devices showing in blockly - devices
- Replies: 3
- Views: 1736
Re: not all devices showing in blockly - devices
Hi,
After you select one of the devices, is there nothing else listed when you select the list arrow to the right of the block?
After you select one of the devices, is there nothing else listed when you select the list arrow to the right of the block?
- Sunday 02 December 2018 20:53
- Forum: Heating/cooling
- Topic: evohome usb hgi80 problem
- Replies: 16
- Views: 2896
Re: evohome usb hgi80 problem
Hi, thought I would check my system with the timed override:-
Windows 7, Domoticz V4.10215, Hgi80 by USB, Evohome wifi, 6 x Honeywell "Round" thermostats, paired with 4 x HR92 rad valves, and 2 x BDR91 for Wet UFH & Plinth Convector.
Not exactly exhaustive, but a couple of overrides set for 30 ...
Windows 7, Domoticz V4.10215, Hgi80 by USB, Evohome wifi, 6 x Honeywell "Round" thermostats, paired with 4 x HR92 rad valves, and 2 x BDR91 for Wet UFH & Plinth Convector.
Not exactly exhaustive, but a couple of overrides set for 30 ...
- Sunday 02 December 2018 19:33
- Forum: Blockly
- Topic: Selector not working
- Replies: 7
- Views: 1616
Re: Selector not working
I use the selector level like this:-


- Wednesday 07 November 2018 23:17
- Forum: Other questions and discussions
- Topic: Can Domoticz be used as an interface between different makes
- Replies: 8
- Views: 1348
Re: Can Domoticz be used as an interface between different makes
Hi, remove the "Time=" block and replace with just the number block on its own.
- Saturday 27 October 2018 14:33
- Forum: Design, usability and languages
- Topic: New Domoticz Events design
- Replies: 47
- Views: 12222
Re: New Domoticz Events design
This new Events Editor is a great upgrade for the Domoticz interface.
Not noticed any bugs yet, but even if they exist, this is still a very nice improvement.
Thank you very much to the Devs. Your hard work is appreciated.
Not noticed any bugs yet, but even if they exist, this is still a very nice improvement.
Thank you very much to the Devs. Your hard work is appreciated.
- Tuesday 09 October 2018 20:01
- Forum: Blockly
- Topic: Simple Blocky script not working
- Replies: 2
- Views: 1236
Re: Simple Blocky script not working
Replace the "if do" block with the one without the blue gear. The one with the blue gear only works if there is an else condition added.
- Thursday 30 August 2018 17:15
- Forum: Switches and Scenes
- Topic: adding blinds controlled via relays
- Replies: 4
- Views: 2349
Re: adding blinds controlled via relays
Add them to "$Hidden Devices" Room Plan
- Wednesday 29 August 2018 23:17
- Forum: Switches and Scenes
- Topic: adding blinds controlled via relays
- Replies: 4
- Views: 2349
Re: adding blinds controlled via relays
For my Velux windows I also use 2 relays, so this may give you some ideas for your blinds.
To start with I made 2 virtual dummy Domoticz Push-Buttons to operate the relays:-
https://www.dropbox.com/s/iql7w8jib8elr70/relay78.PNG?dl=1
They are defined with scripts to address relays 7 and 8 on an ...
To start with I made 2 virtual dummy Domoticz Push-Buttons to operate the relays:-
https://www.dropbox.com/s/iql7w8jib8elr70/relay78.PNG?dl=1
They are defined with scripts to address relays 7 and 8 on an ...
