Blocky Commands ignored

Moderator: leecollings

Post Reply
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Blocky Commands ignored

Post by cbartetzko »

My observation is, that blocky scripts are sometimes totally ignored by the system (Of course they are marked active)
or that single blocky commands are ignored (e.g. when you try to set a new setpoint for a thermostat).
In all these cases there is no message / no hint at all in the Log, why these blocky commands are ignored.

Is there any possibility to debug blocky on a deeper level than the system log, which doesn't show anything ?
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Blocky Commands ignored

Post by Lebo2d9 »

I think there must be some errors in the blocky scripts. Here they always work.
Can you copy one of your scripts that isn't working
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Blocky Commands ignored

Post by cbartetzko »

Here you are:
See Attachement
Blocky.jpg
Blocky.jpg (31.02 KiB) Viewed 2940 times
The script as such is executed in this case (Messages are written into the Log)
However the Set-Commands are totally ignored, no message, no Failure message, no hint at all in the log, why this is ignored.
tozzke
Posts: 135
Joined: Friday 02 January 2015 9:22
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands
Contact:

Re: Blocky Commands ignored

Post by tozzke »

Isn't this because you simply can't set the '... actual' block? that it's just a read out of this specific sensor?

When I add a dummy thermostat ( I don't have a smart thermostat myself), I get to add this block (under Devices - SetPoints)
Image
Shouldn't you use this block instead?
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Blocky Commands ignored

Post by cbartetzko »

Probably you are right.
However the strange thing is, that I do not have this "Set SetPoint" Command available in my Blockly
nor do I have other Devices than the "actual." for Setpoints.

Obviously you are using a Beta firmware, which has new functions available,
which are not available in the latest stable firmware.
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Blocky Commands ignored

Post by cbartetzko »

I've upgraded now to the latest Beta-Firmware (3.7365).
But even there I don't get the "Set Setpoint" Blockly-Element as you are showing.
All I can access is this:
7385.jpg
7385.jpg (42.94 KiB) Viewed 2913 times
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Blocky Commands ignored

Post by StanHD »

It should be in "Devices" if you expand that one?
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Blocky Commands ignored

Post by cbartetzko »

In my Devices Menu there are no Setpoints:
no.jpg
no.jpg (28.39 KiB) Viewed 2891 times
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Blocky Commands ignored

Post by StanHD »

Hmm, could you take a look in Chrome Incognito mode. If that's possible?
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Blocky Commands ignored

Post by cbartetzko »

Yeah, in Chrome Incognito Mode it seems to work:
yes.jpg
yes.jpg (29.77 KiB) Viewed 2887 times
But how do I get it working in my normal Chrome environment ?
Chrome App-Cache Cleaning (as described in Domoticz User-Manual) does not help.
I tried this several times.
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Blocky Commands ignored

Post by cbartetzko »

And by the way, even with this new Blockly-Function (tried no in Chrome Incognito Mode)
my intitial problem of ignored Blockly commands is still there:
script1.JPG
script1.JPG (29.76 KiB) Viewed 2883 times
Script is working, Comments are written into Log, but "Set Setpoint" Commands are ignored (not executed, no message in Log)
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Blocky Commands ignored

Post by Lebo2d9 »

Don't you need to update the value with a json sctipt?

Verstuurd vanaf mijn SM-G920F met Tapatalk
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Blocky Commands ignored

Post by Lebo2d9 »

I set the setpoints of my heating like this.
http://127.0.0.1:8080/json.htm?type=set ... &used=true

Verstuurd vanaf mijn SM-G920F met Tapatalk
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Blocky Commands ignored

Post by cbartetzko »

Of course I can update Setpoint with scripts (e.g. with a LuA-script).
But I wanted to do this in Blockly.
Of what use is this new Blockly-Element "Set Setpoint" if I need a script additionally ?
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Blocky Commands ignored

Post by Lebo2d9 »

I use the url with a dummy switch in the on/off action

Verstuurd vanaf mijn SM-G920F met Tapatalk
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest