I running domoticz 4.9700 on RPI3.
I cannot figure out why my blockly isn't refresh switch type selector . I hope you guys can give me some advice and help me to solve my problem. I create script when humidity grows over 60 then run air-condition in drying mode till 55. and if temperature grow over 25 then run air-condition in cool mode. If humidity under 55 and temperature under 25 then air condition switch off. The script which I create work but have some problem with refresh on dashbord status of switch selector.
switch type selector dosen't refresh status
Moderator: leecollings
-
- Posts: 2
- Joined: Tuesday 09 October 2018 19:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
switch type selector dosen't refresh status
- Attachments
-
- 3-blockly_script.png (207.48 KiB) Viewed 492 times
-
- 2-Switch selector1.png (67.25 KiB) Viewed 492 times
-
- 1-Switch selector.png (39.24 KiB) Viewed 494 times
Last edited by miskec on Tuesday 09 October 2018 22:49, edited 1 time in total.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: switch type selector dosen't refresh status
The selector switch starts one of the scripts if the matching level is set. The blockly you use, starts one of the scripts if the matching condition is met. Executing the script as entered in the action field of the selector switch does not set the matching level of the selector switch. It is working only in one way (level ==>> action)miskec wrote: ↑Tuesday 09 October 2018 19:58 I running domoticz 4.9700 on RPI3.
I cannot figure out why my blockly isn't refresh switch type selector . I hope you guys can give me some advice and help me to solve my problem. I create script when humidity grows over 60 then run air-condition in drying mode till 55. and if temperature grow over 25 then run air-condition in cool mode. If humidity under 55 and temperature under 25 then air condition switch off. The script which I create work have some problem with refresh on dashbord status of switch selector.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 2
- Joined: Tuesday 09 October 2018 19:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: switch type selector dosen't refresh status
Hi Waaren,
Can you explain how you mean level /action in my example. I try also with level and not work. maybe I do something wrong. Thank you
Can you explain how you mean level /action in my example. I try also with level and not work. maybe I do something wrong. Thank you
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: switch type selector dosen't refresh status
Sorry I cannot explain it in another way than I already tried.
I doubt if it possible at all to set the level (0,10,20 etc...) of a selector switch with blocky. But I am not very experienced using Blockly maybe someone else knows ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest