Jump to content

Automation Bug - AND,XOR,OR,NOT (Pirmarily AND)


UnkwnPedestrian
  • Branch: Live Branch Version: Windows Pending

When using automation paired with battery management (OR,XOR,AND), whenever AND gate is toggled by a wattage sensor paired with a NOT gate and a motion sensor, it seems to toggle other AND gates on the map for a split second, I would show you but I can't really without showing a video, it seems to happen at random times and affects systems that are completely isolated from each other.

 

for clarity I marked out the isolated parts of my automation system in red below in the screenshot (apologies for the messy base design, I am testing and exploring!)

-also I have attached Gate buffers to the parts of my system that uses wattage sensors to get around this issue as it causes nasty infinite looping on some of these isolated systems.(still occurs but less)

image.png.80c982b969e407600a9bbfbdbdfae991.png


Steps to Reproduce
  1. have three or more complex automation systems related to power generation and batteries
  2. make sure each system is isolated from one another
  3. have a wattage sensor + a NOT gate toggle an AND gate
  4. observe all the other AND gates in your isolated automation systems get toggled briefly before resetting (some of them-if you built it similar to mine-even looping!)



User Feedback


I'd recommend watching what happens to the power network every time a power shutoff is toggled. You'll see that all power grids are "rescanned", so to speak. This has an immediate effect on what other wattage sensors are reporting and will have an effect on your automation.

I deal with this by placing either a filter or a buffer gate right after the wattage sensors to avoid the consequences of this behavior. (The type of gate chosen depends on how you set up the sensor.)

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...