Event Controller not working with battery/tank fill level%

Maurice Gundlaff shared this bug 40 days ago
Submitted

Hello, I noticed the new event controller does not work when battery fill level or tank fill level is selected. I tried making it so that a wall light turns red when the content of my hydrogent tank is below 33% and green when it is above. The light stood white in both cases. I also tried a similar thing with a battery. Light green when battery above 95% and red below. Tested it with two energie modules, one above and one below 95% -> No reaction from the light.

Replies (3)

photo
2

I have been able to get this to work for my hydrogen tanks on my mining ship, but I have noticed when I try to do this with batteries (a mix of 1.5 and 0.5 m) that the block is only counting the 1.5 m batteries.

photo
1

I have experienced a very similar issue. I am attempting to use battery fulled function as well and want it to trigger the want an LCD to say “Charged” when above 95% and charging when below 95%, but the event controller fails to do so.

photo
3

It seems that the compare values have been programmed so that 1 = 100%, meaning that you should put the values between 0 and 1 for 0% - 100% range. so 33% is 0.33 in the Event Controller setup. It worked for me at least.

photo
2

Thank you! I've been trying to get set up several different automations based on this value and couldn't get them to work, just tested this on both tanks and block inventories and you are definitely correct.

photo
Leave a Comment
 
Attach a file
Access denied