OpenLuup entities flashing
-
Scenes and room don't flash as frequently as they used to but they still do.
I am starting a thread here though it seems to be an openLuup issue.
Everytime something in a room updates, the room entity flashes which is to be expected but I am seeing the same thing with scenes which are not running or triggered.I also open a ticket regarding an error I am seeing at startup regarding HVAC devices on openLuup which appears to be a syntax error.
-
I see the device expression syntax error. If you open a PR, I'll post an update device mapping file on it in reply.
-
I see the device expression syntax error. If you open a PR, I'll post an update device mapping file on it in reply.
I did open a PR... 00059
-
OK. Just posted a file on the PR that you can download.
-
I'm not seeing scene flashing or room flashing at this point. Several builds ago, I filtered out elements of the data that weren't relevant, and that did it for me.
In your Entities list, try selecting your flashing room as a filter, and see if there's also a device that is updating frequently. Groups will flag an update whenever a member in the group says it was updated, so if there's a device in the room that is updating frequently, you will see the update highlight on both the device and the parent room (which is a Group in MSR). By filtering the list, you will see the room's devices, and if there's a device that's ticking away, so would the room. That could be hard to see without the filter, because the device may be above or below the "fold" (outside the scroll viewport).
-
Hey Patrick,
It's not flashing every second or two as it used to indeed but it still does intermittently for unknown reasons. I see a bunch of scenes (not all of them) flash for no apparent reason,. For rooms, indeed I can see that they flash when a device in it gets updated.
I also am not just thinking about it for MSR but also for ALTUI... even though it may not be much, if we can reduce the CPU utilization a little, it's always an improvement.
I noodled around with luajit with JIT on and off and got a few events where loading ALTUI spiked the openLuup CPU utilization to 50%. I have turned JIT back on and now it never goes above 2%. I run a few hundred devices and over a hundred scenes on openLuup... A constant refresh must be heavy. -
FYI, running MSR on a Pi4 with full debug to Vera, openLuup and Hass:
12:05:21 up 3 days, 1:01, 4 users, load average: 0.00, 0.00, 0.00
-
It spends a lot of time waiting for things to happen. The thing is async to the max. If there's nothing to do, it isn't doing anything.
-
T toggledbits locked this topic on