Hi
Domoticz version: 3.8153
On Raspberry Pi3
I have a blockly event that doesnt seem to work.
It is based on the event type time and should fire every minute.
I can see in the extended log file that Domoticz is running timed events every minute on the minute,
but nothing happens
Any ideas?
// Jörgen
Blockly script with event type Time dont fire
Moderator: leecollings
-
- Posts: 4
- Joined: Friday 12 January 2018 21:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
- jvdz
- Posts: 2335
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Blockly script with event type Time dont fire
You are testing for On in both tests. What is the value of TimerTest?
Jos
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 4
- Joined: Friday 12 January 2018 21:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: Blockly script with event type Time dont fire
Sorry it should bee off.
I have tried both on and off but no message in the log This was another try at it, same result, nothing
// J
I have tried both on and off but no message in the log This was another try at it, same result, nothing
// J
- jvdz
- Posts: 2335
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Blockly script with event type Time dont fire
So what does it show when you click "Show current states"?
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 4
- Joined: Friday 12 January 2018 21:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
- jvdz
- Posts: 2335
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Blockly script with event type Time dont fire
I realize again why I didn't like blockly from the start as I don't like programming when the code has it own mind. 
Use DzEvent or LUA... much easier.
Either way, something in my mind told me that blockly needed a time test in there for it to work and this indeed does work: It didn't without the OR Time test. I am not a blockly buff so maybe somebody can comment in case it should have worked.
Jos

Use DzEvent or LUA... much easier.
Either way, something in my mind told me that blockly needed a time test in there for it to work and this indeed does work: It didn't without the OR Time test. I am not a blockly buff so maybe somebody can comment in case it should have worked.
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 4
- Joined: Friday 12 January 2018 21:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: Blockly script with event type Time dont fire
Thank you for your help. Appreciated
// J
// J
Who is online
Users browsing this forum: No registered users and 1 guest