Help creating output calculation greater than and less than

I have my EV charger and Clothes Dryer on the same circuit. It’s using a Splitvolt device so if the dryer is running the EV can’t charge. I would like to create two outputs by using the following logic:

  • EV = IF (input wattage > 3600 AND input wattage < 3800) THEN input wattage ELSE 0
  • Dryer = IF (input wattage < 3600 AND input wattage > 3800) THEN input wattage ELSE 0

Is there a way to create this or I do I need to create some min/max magic?

Thanks for the assistance!

That’s outside of the scope of what outputs can do. There are no logical operators. You would also have trouble accumulating the energy attributable to the two loads. That would probably require a couple of integrators, and while one or two to deal with solar and battery flows are ok, having a lot of them could become problematic.

I’d recommend either using influxDB, Emoncms or Home Assistant to make this distinction.

Darn. I was hoping to use the iotawatt as the source of truth, but I’ll just do it in HA.

Thanks for the quick reply!

1 Like