Page 1 of 1

Strange readings in log and Error: EventSystem:

Posted: Wednesday 05 April 2017 10:33
by peerkersezuuker
Hi,
Since a while i notice strange things in my domoticz log.
In my "All"log there are only lines like :
Error: EventSystem: Malformed action sequence!
In my "STATUS" log i get the blue lines with status messages.
In my "ERROR" log i get the output of my LUA scripts (timed and device change).

Looking further in the log i noticed that the Error: EventSystem: message start at 23:00 until 00:00, i have only one event that trigger something at 23:00 and that is my Bathroom Ventilator event :

Image

I started testing, and i changed the time to a early one (because i don't wanted to wait until 23:00)
And the results were the same.

Code: Select all

2017-04-05 10:01:00.240  EventSystem: Event triggered: Badkamer Ventilator_1
2017-04-05 10:01:00.240  Error: EventSystem: Malformed action sequence!
But a little further down the log there was an other message.

Code: Select all

2017-04-05 10:01:14.415  EventSystem: Event triggered: Badkamer Ventilator_4
I have only one event associated with the Badkamer ventilator, and this one is working since a year flawless.

I think the _4 is a sequential number changed every time the event is edited/saved by me, but i don't understand where the _1 is comming from.
Maybe my eventsystem got corrupted or something?
How to solve this and stop the eventsystem overflooding my log. (maybe it then turns back to normal with the correct log entry's under the correct label).

Wit regards
Peer van Hoek

Re: Strange readings in log and Error: EventSystem:

Posted: Wednesday 05 April 2017 11:07
by gerard76
The _1 and _4 point to the block being triggered. So _4 is the 'Off after 10' being triggered almost at the bottom.

In you first block you have a statement that looks weird:
Set V1 and V2 Off after 10

If I were a blocky parser I'd complain about that. Does that even work? The result of an "X and Y" is True or false, but not something you can turn off/on. Also when blocky scripts get this long I think you should move to LUA.

Re: Strange readings in log and Error: EventSystem:

Posted: Saturday 08 April 2017 11:04
by peerkersezuuker
Hello,
Thanks for the response.
I disabeled the Badkamer event and ported it to a LUA script.
The error's are gone from the log, and the ventilators are doing what they are supposed to do.

The only thing left is that the log display from domoticz are still messed up (All gives nothing, Status gives all, and error gives lua status), but maybe this is for another post.

With regard's
Peer