Page 1 of 1

problem with Blockly in the latest beta

Posted: Tuesday 20 February 2018 12:01
by alexsh1
Hello,

After I have upgraded Domoticz to v3.8924 I have a problem with blockly scripts.
When I switch on and off the kitchen LED, the following is shown in the log:

Code: Select all

2018-02-20 10:50:25.403 (Z-Wave) Light/Switch (Plus) 
2018-02-20 10:50:25.644 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:25.645 Activating Scene/Group Device: Kitchen LED (On) 
2018-02-20 10:50:26.156 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:36.495 (Z-Wave) Light/Switch (Minus) 
2018-02-20 10:50:36.518 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:36.519 Group Kitchen LED is Off 
2018-02-20 10:50:36.549 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:36.550 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:36.552 (Z-Wave) Light/Switch (Minus) 
2018-02-20 10:50:36.560 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:36.561 Group Kitchen LED is Off 
2018-02-20 10:50:36.585 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:36.660 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:36.752 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:36.753 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:36.763 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:36.763 Group Kitchen LED is Off 
2018-02-20 10:50:36.862 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:36.954 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:36.955 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:36.967 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:36.968 Group Kitchen LED is Off 
2018-02-20 10:50:37.064 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:37.156 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:37.157 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:37.167 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:37.167 Group Kitchen LED is Off 
2018-02-20 10:50:37.266 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:37.358 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:37.359 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:37.369 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:37.370 Group Kitchen LED is Off 
2018-02-20 10:50:37.468 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:37.560 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:37.561 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:37.572 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:37.573 Group Kitchen LED is Off 
2018-02-20 10:50:37.671 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:37.763 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:37.763 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:37.774 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:37.774 Group Kitchen LED is Off 
2018-02-20 10:50:37.808 (Z-Wave) Light/Switch (Minus) 
2018-02-20 10:50:37.830 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:37.873 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:37.965 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:37.966 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:37.976 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:37.976 Group Kitchen LED is Off 
2018-02-20 10:50:38.075 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:38.167 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:38.168 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:38.178 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:38.179 Group Kitchen LED is Off 
2018-02-20 10:50:38.277 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:38.369 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:38.370 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:38.381 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:38.381 Group Kitchen LED is Off 
2018-02-20 10:50:38.480 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:38.571 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:38.572 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:38.583 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:38.583 Group Kitchen LED is Off 
2018-02-20 10:50:38.682 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:38.774 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:38.775 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:38.785 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:38.785 Group Kitchen LED is Off 
2018-02-20 10:50:38.884 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:38.978 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:38.979 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:38.990 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:38.991 Group Kitchen LED is Off 
2018-02-20 10:50:39.088 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:39.115 (Z-Wave) Temp (Bathroom Floor Tempepature) 
2018-02-20 10:50:39.180 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:39.181 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:39.194 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:39.194 Group Kitchen LED is Off 
2018-02-20 10:50:39.291 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:39.383 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:39.384 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:39.394 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:39.395 Group Kitchen LED is Off 
2018-02-20 10:50:39.493 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:39.585 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:39.586 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:39.596 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:39.597 Group Kitchen LED is Off 
2018-02-20 10:50:39.696 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:39.788 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:39.789 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:39.799 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:39.799 Group Kitchen LED is Off 
2018-02-20 10:50:39.898 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:39.991 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:39.991 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:40.002 EventSystem: Event triggered: Z-wave scene conrol_1 
2018-02-20 10:50:40.002 Group Kitchen LED is Off 
2018-02-20 10:50:40.101 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
2018-02-20 10:50:40.193 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:41.007 (Z-Wave) Light/Switch (Minus) 
2018-02-20 10:50:41.008 Activating Scene/Group: [Kitchen LED] 
2018-02-20 10:50:41.009 Activating Scene/Group Device: Kitchen LED (Off) 
2018-02-20 10:50:41.118 (Mi Light WiFi Hub) Lighting Limitless/Applamp (Kitchen LED) 
EventSystem is repeated about 20 times! With the previous beta I did not have such an issue.
Any ideas please? Blockly is attached.

Thanks

Re: problem with Blockly in the latest beta

Posted: Tuesday 20 February 2018 16:06
by DomoRon
I have this problem too in 3.8922. I wasn't aware I downloaded a beta, I'll think I'll go back to the latest stable.
When I switch something on or off, it works fine. But when I use a group Domoticz switches random things on or off and keeps doing that until I down and up it. I run on Ubuntu 16.04.

Re: problem with Blockly in the latest beta

Posted: Tuesday 20 February 2018 17:50
by sach
I noticed this too when i updated to 8926 today.
Try changing the drop-down on the right hand side of the Blocky to device.
This resolved it for me.