Page 1 of 2
Events not working after update to 3.5837
Posted: Saturday 05 November 2016 21:42
by RichardBokker
Hi
I updated my domoticz to 3.5837, and from that point on all my events (blockly and lua) are not working anymore!
The scripts are running (log file is saying script active) but the outputs are not set when the IF conditions are correct.
Anyone an idea how this happenend?
In example, the next simple script is running but commandarray is not executed somehow?
Code: Select all
commandArray = {}
print ("TV hoek actief script");
if (otherdevices['Hulp_TvAan'] == 'Off' and (otherdevices['St_TVWoonkamer'] == 'On' or otherdevices['St_MediaplayerMinix'] == 'On')) then
commandArray['Hulp_TvAan'] = 'On'
print ("TV of Mediaplayer is actief");
elseif (otherdevices['Hulp_TvAan'] == 'On' and (otherdevices['St_TVWoonkamer'] == 'Off' or otherdevices['St_MediaplayerMinix'] == 'Off')) then
commandArray['Hulp_TvAan'] = 'Off'
print ("TV of Mediaplayer is inactief");
end
return commandArray
Re: Events not working after update to 3.5837
Posted: Saturday 05 November 2016 21:51
by marco.bag
same here
Re: Events not working after update to 3.5837
Posted: Saturday 05 November 2016 22:52
by matthijsberg
Same here. When I reboot my PI events work for an hour, maybe 2, then they stop working again. Manual tuning on / off devices still works. Script gets run (I see some troubleshoot prints in my log), but it looks like the command is not send to the device.
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 7:53
by marco.bag
This morning, after a reboot seams working but it's strange... never happened, i do expect that it's going to block again.
As debug the CPU was over 30% (intel i5) when was not working so i think can be some process that can hang after a while.
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 10:32
by RichardBokker
i also rebooted my PI, it seems to work now. Actions are performed.
Lets see how long it will be.
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 12:48
by four2six
i can confirm this happening, too
python scripts seem to be unaffected
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 13:08
by RichardBokker
Scripts outside event editor domoticz itself, are working indeed.
i have some lua en python scripts not located in de event editor, and they seems to be working.
THe problem is especially in the event editor of domoticz.
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 17:40
by RichardBokker
problem is back, just a couple of hours after the reboot.
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 17:59
by Kouseri
The latest beta fixed lua related issues I encountered with the 3.5837 release.
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 22:46
by marco.bag
Me too... using Beta V3.5868 looks that solved the problem... we will see in the next few days.
Re: Events not working after update to 3.5837
Posted: Sunday 06 November 2016 22:59
by four2six
the latest beta made my blockly scripts worse. none of them aren't triggered anymore. before it was just half of them.
Re: Events not working after update to 3.5837
Posted: Monday 07 November 2016 13:41
by matthijsberg
I find that the z-wave signals are now send, but the user variables in my scripts are no longer read, so comparing to the user var fails and thus my logic fails. Saw a new beta this morning, let's see what happens!
Edit; fixed. Script error.
Re: Events not working after update to 3.5837
Posted: Monday 07 November 2016 14:21
by matthijsberg
Does anyone know if it's possible to downgrade, and if so, where to get the previous stable? thanks.
Re: Events not working after update to 3.5837
Posted: Monday 07 November 2016 15:21
by elmortero
matthijsberg wrote:Does anyone know if it's possible to downgrade, and if so, where to get the previous stable? thanks.
There is an article on the Wiki page that covers that:
http://www.domoticz.com/wiki/Going_back ... us_version
Re: Events not working after update to 3.5837
Posted: Monday 07 November 2016 15:31
by matthijsberg
Thanks elmortero. After reading this;
"But, it is not recommended to revert back to a stable version!
Best to post the problem on the forum, and ge
Going back to a previous version can make your current database tables/content corrupt, it is strongly advised NOT to do this"
and the fact that I would like to go back to not the latest but the previous stable release, I guess I'll pass on this one.
Re: Events not working after update to 3.5837
Posted: Monday 07 November 2016 17:37
by RichardBokker
I will go to newest beta too then, just to fix these event issues. That seems to be the solution for now. Lets try it out.
Re: Events not working after update to 3.5837
Posted: Thursday 10 November 2016 2:04
by wwismans
Same here. All of my commandArray[v] commands are not working anymore..
Tried updating to beta, but still no luck... Grrrrr

Re: Events not working after update to 3.5837
Posted: Monday 14 November 2016 11:33
by wwismans
Fixed in stable release 5877, thanks guys!
Re: Events not working after update to 3.5837
Posted: Thursday 29 December 2016 12:06
by martjah
Hi,
I updated from the last stable version to the latest beta version (3.6265). I updated because i bought a Logitech Harmony Hub and it was not working with the latest stable. After updating the Harmony Hub started working perfectly.
But now none of my events work anymore. All the switches are turning on/off perfectly and the status of the switches are correct. But the events are not triggered anymore.
I do not use LUA scripting, just blockly's. Are more people having this problem?
**update**: i reverted back to the latest stable (3.5877) and the events are working again. I disabled the Harmony Hub in Domoticz because it's not working but that is not a priority.
Re: Events not working after update to 3.5837
Posted: Saturday 21 January 2017 10:43
by simon_rb
I'm on the most recent stable version (updated a couple of weeks ago) and this has just started happening to me. Even restarting Domoticz doesn't help - I have to reboot my Pi to get events working again.. Anyone else still having this issue or found a fix - all I have done is upgrade my rtx433e firmware to the latest - don't think that would effect things
Cheers