Closed bwoodworth closed 4 years ago
Can you explain a little more about what you are trying to do? There are already some readings coming into the addon like salt ppm. Are there other values you need to be able to pull in as sensors? Are there settings in the IntelliChlor that you need to be able to set?
I think I see what you want and it should be doable in the current version of the library. I will get something in there soon and you can test.
This is a screenshot of the ScreenLogic App for the chlorinator.
Level1 and 2 would be the Pool and Spa output. Status I assume is operating status and the Superchlorination is an option to run the cell on 100% for 24 hours (never used it, I just shock the pool).
My preference would be to be able to set the output levels. I am sure others would also like the super option.
In new release v1.21. Please test
Unfortunately, the Chlorinator shows all "unkown" for the new values.
I also need to figure out what to add to the configuration to be able to control the salt cell. I need to find a good tool to look into mqtt and the different topics there.
What does your HA configuration look like?
Looks like you got it working from the other thread. Closing.
Not sure if the set salt levels are working right. I am trying to send the value for the pool setting increasing it to 70% from the existing 60 as a test. See anything wrong in my test config? I sent the mqtt message manually and via this test config in hassio.
Error from addon logs:
TypeError: this.setSaltCellConfig is not a function
at UnitConnection.
My config:
switch:
MQTT state
Interesting. Have you done a rebuild of the add-on since updating to 1.21?
Yep, saw the comments about the pump info so did post update.
Wow... what is that cool MQTT interface? I am still looking for something usable.
(Sorry @bwoodworth for hijacking this thread.)
Wow... what is that cool MQTT interface? I am still looking for something usable.
(Sorry @bwoodworth for hijacking this thread.)
Its pretty decent... heres a link https://www.microsoft.com/en-us/p/mqtt-explorer/9pp8sfm082wd?activetab=pivot:overviewtab
I fixed the bug. Please test v1.22
Thank you so much. Unfortunately, HA does not (yet) show the update...
Can you restart the addon and check the log for salt cell level 1 and 2? Do they match what you tried to set it to?
Can you restart the addon and check the log for salt cell level 1 and 2? Do they match what you tried to set it to?
Ah, sorry for the misunderstanding. For version 1.21 I could update it from the Add-on store. 1.22 is not yet available. there. Should I update manually?
On the Add-On Store page you can reload to get the latest versions, but wait a minute. The fix I made won't work. I am working on another one.
v1.23 released and should fix the issue.
Fantastic.... And it works :-) I could change the Values in HA and see them change in my Pentair App... Now I just need to find a way to change the units in climate control... Or use something else...
put this in your mqtt device config:
unit_of_measurement: '%'
working great, thanks!
Can you restart the addon and check the log for salt cell level 1 and 2? Do they match what you tried to set it to?
tested both levels and everything is working perfectly
Fantastic! Closing.
Thanks @parnic and @bwoodworth ... Really great work.
I did look in the library and tried setting up HA according to the state values I found:
platform: mqtt name: "Pool Salt Status" state_topic: pentair/status/state
platform: mqtt name: "Pool Salt Level 1" state_topic: pentair/level1/state
platform: mqtt name: "Pool Salt Level 2" state_topic: pentair/level2/state
platform: mqtt name: "Pool Salt Superchlorinator" state_topic: pentair/level1/state
platform: mqtt name: "Pool Salt ppm" unit_of_measurement: 'ppm' state_topic: pentair/saltppm/state
I am just now realizing that some of these values would need to go into the switch section, not the sensor section (e.g. the salt levels)...
I will wait for the next release.
@bwoodworth : I also have an IC40 chlorinator and a Variflow pump which I can switch to a Varispeed pump. so if you need any data or want me to test something, just let me know :-)
Originally posted by @sarahmva in https://github.com/bwoodworth/hassio-addons/issues/9#issuecomment-658402593