Open daytonturner opened 1 month ago
I'm attempting to do the same thing as in the app there are diagnostic values for the chlorinator such as: -Cell Temp -Cell Current -Cell Voltage -Board Temp -Relay Polarity
Port mirrored the local setup and captured the call for this data:
Looks like all the data is there in high and low bytes for each of the values in the first file (1.txt). The response for the relay polarity is in the second file (3.txt). I can capture more, but this is my first time doing this so hoping I'll get some reassurance that this is useful
Awesome - thats what I was looking at as well. I'm using a Sense & Dispense, with a chlorinator and salt cell. Let me know if theres anything I can do to assist, either with pull requests or submitting diagnostics - happy to help however needed
Hi there!
I started digging around with the intent to add chlorinator operating status to your library, but notice that some work has already been done in an attempt to add this, and wonder what your preferred approach would be.
I noticed this comment: https://github.com/cryptk/python-omnilogic-local/blob/main/pyomnilogic_local/models/telemetry.py#L77-L80
Where it checks for the presence of bit 4 being set within status_raw. I've got a diagnostic dump from my chlorinator when it was chlorinating vs not, and was initially going to use the operating_state field, but perhaps your commented out way would work better.
Here are two examples:
NOT CHLORINATING:
CHLORINATING:
You can see
operating_state
is2
when chlorinating and1
when not. But of course, the value ofstatus_raw
is clearly different as well.Is there a reason your code is commented out? Either of these methods seem like they would suffice.