Blockly/Domoticz acting weird

Moderator: leecollings

Post Reply
Domostiaan
Posts: 6
Joined: Monday 24 August 2020 16:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Blockly/Domoticz acting weird

Post by Domostiaan »

HI,

i have been trying to get an energy saving event running through Blockly.
Which most of the time works. but now almost once a day it shutsdown the AV plug without a good reason.

i have it setup the following way:
Step 1 is seeing that the usage is lower than 10Watt.
Step 1 is seeing that the usage is lower than 10Watt.
step 1 usage lower .jpg (75.94 KiB) Viewed 390 times
Step 2 seeing usage is again above 10 watt after 2100seconds (20 minutes) and cancel shutdown.
Step 2 seeing usage is again above 10 watt after 2100seconds (20 minutes) and cancel shutdown.
step 2 usage high again.jpg (86.69 KiB) Viewed 390 times
Step 3 is seeing usage still is lower than 10Watt after 20 minutes. and shutdown Shelly Plug S.
Step 3 is seeing usage still is lower than 10Watt after 20 minutes. and shutdown Shelly Plug S.
step 3 usage stays low.jpg (88.65 KiB) Viewed 390 times
but the Shelly Plug now gets randomly shutdown by Step 2 that doesn't even contain the Shelly Plug inside the event.
of by an not existing timer.

i hope to find a way to eliminate these strange errors.

will plage screenshots of the log in second post because of limit of 3 attachments.
Domostiaan
Posts: 6
Joined: Monday 24 August 2020 16:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly/Domoticz acting weird

Post by Domostiaan »

log and general log
Attachments
the Shelly Plug Log, in RED the latest random shutdown when usage was 200Watt+ in YELLOW a timer shutdown (i don't have timers set for this device) in BLUE random shutdown, after this one i deleted all events en created them again in case something went wrong behind the scene.
the Shelly Plug Log, in RED the latest random shutdown when usage was 200Watt+ in YELLOW a timer shutdown (i don't have timers set for this device) in BLUE random shutdown, after this one i deleted all events en created them again in case something went wrong behind the scene.
log.jpg (185.89 KiB) Viewed 389 times
General log, it sees step 1 and 2. but at the time of shutdown 21:51:16 is sees nothing.
General log, it sees step 1 and 2. but at the time of shutdown 21:51:16 is sees nothing.
general log.jpg (63.06 KiB) Viewed 389 times
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Blockly/Domoticz acting weird

Post by waaren »

Domostiaan wrote: Thursday 17 September 2020 23:03 log and general log
I see in the screenshots that you set the 3 Blockly scripts to trigger at 'All' , implying on every device update in the system and every minute. Is this as intended?

The (relatively new) user field in the log cannot be trusted yet.
see this forum post and this github issue
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest