michaelusner / esp32-pentair-controller

Control your Pentair pool equipment via RS485->ESP32->MQTT->Home Assistant
22 stars 7 forks source link

Spillway is being detected as Air Blower #5

Open rsumner opened 2 years ago

rsumner commented 2 years ago

The spillway pump on my EasyTouch 8 is being identified as the Air Blower. When the Spillway pump is on, the MQTT topics and serial output will show that the AirBlower is on when the airblower is never actually enabled. The serial output also doesn't log the actual spillway circuit output as it does the remainder of the circuit status.

rsumner commented 2 years ago

On my EasyTouch8, the circuits are:

  1. spa
  2. cleaner
  3. spillway
  4. waterfeature
  5. airblower
  6. pool-lowspeed
  7. pool-light
  8. spa-light
  9. jets

I installed nodejs-poolcontroller with a RS485 usb stick and reviewed their mqtt topics to get this information easily.

Digging through their millions of lines of code, I couldn't figure out how they were able to query the controller initially to get the circuit names and their order so you can determine which bit to shift in the circuit status broadcast. I do see they have a mapping of circuit ID to circuit name, so they must query the controller to determine which is which.

michaelusner commented 1 year ago

I've seen another instance where component addresses are different. I made the assumption that they'd be consistent across installations but that appears to not be the case. I'm currently working on an ESPHome based version of this project which will allow setting the component addresses in the yaml file. Hopefully that will fix things.