Events not working after update to 3.5837

Moderator: leecollings

RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Events not working after update to 3.5837

Post 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
marco.bag
Posts: 14
Joined: Tuesday 16 December 2014 0:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post by marco.bag »

same here
matthijsberg
Posts: 4
Joined: Saturday 05 November 2016 22:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post 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.
marco.bag
Posts: 14
Joined: Tuesday 16 December 2014 0:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post 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.
RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Re: Events not working after update to 3.5837

Post by RichardBokker »

i also rebooted my PI, it seems to work now. Actions are performed.

Lets see how long it will be.
four2six
Posts: 53
Joined: Wednesday 24 February 2016 9:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: NRW, Germany
Contact:

Re: Events not working after update to 3.5837

Post by four2six »

i can confirm this happening, too

python scripts seem to be unaffected
RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Re: Events not working after update to 3.5837

Post 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.
RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Re: Events not working after update to 3.5837

Post by RichardBokker »

problem is back, just a couple of hours after the reboot.
Kouseri
Posts: 57
Joined: Sunday 04 January 2015 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Events not working after update to 3.5837

Post by Kouseri »

The latest beta fixed lua related issues I encountered with the 3.5837 release.
marco.bag
Posts: 14
Joined: Tuesday 16 December 2014 0:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post by marco.bag »

Me too... using Beta V3.5868 looks that solved the problem... we will see in the next few days.
four2six
Posts: 53
Joined: Wednesday 24 February 2016 9:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: NRW, Germany
Contact:

Re: Events not working after update to 3.5837

Post by four2six »

the latest beta made my blockly scripts worse. none of them aren't triggered anymore. before it was just half of them.
matthijsberg
Posts: 4
Joined: Saturday 05 November 2016 22:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post 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.
Last edited by matthijsberg on Monday 07 November 2016 15:53, edited 1 time in total.
matthijsberg
Posts: 4
Joined: Saturday 05 November 2016 22:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post by matthijsberg »

Does anyone know if it's possible to downgrade, and if so, where to get the previous stable? thanks.
elmortero
Posts: 247
Joined: Sunday 29 November 2015 20:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9639
Location: Spain
Contact:

Re: Events not working after update to 3.5837

Post 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
matthijsberg
Posts: 4
Joined: Saturday 05 November 2016 22:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post 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.
RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Re: Events not working after update to 3.5837

Post 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.
wwismans
Posts: 2
Joined: Thursday 10 November 2016 1:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post by wwismans »

Same here. All of my commandArray[v] commands are not working anymore..
Tried updating to beta, but still no luck... Grrrrr :oops:
wwismans
Posts: 2
Joined: Thursday 10 November 2016 1:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post by wwismans »

Fixed in stable release 5877, thanks guys!
martjah
Posts: 15
Joined: Wednesday 11 June 2014 11:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Events not working after update to 3.5837

Post 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.
simon_rb
Posts: 612
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: Events not working after update to 3.5837

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest