tagyoureit / nodejs-poolController

An application to control pool equipment from various manufacturers.
GNU Affero General Public License v3.0
326 stars 95 forks source link

Not able to get Chlorinator data #210

Closed fgonza2 closed 4 years ago

fgonza2 commented 4 years ago

Hi, first of all, this is awesome work, thanks a lot!!

I am seeing an issue where i can see any data from my chlorinator. I get the following in the web client:

Intellichlor--40 (1) Off Salt 0 ppm Current Output 0 % Setpoint undefined% / undefined% Status Ok

On the JSON GET REST call: { "id": 1, "lastComm": 1599586453670, "targetOutput": 17, "saltLevel": 0, "saltRequired": 0, "status": { "val": 0, "name": "ok", "desc": "Ok" }, "type": { "val": 0, "name": "pentair", "desc": "Pentair" }, "name": "Intellichlor--40", "equipmentType": "chlorinator" }

All other functions seem to be working ok.

Pool Equipment

Desktop (please complete the following information):

Additional context I can control and see the chlorination level directly from the easytouch panel directly

Not sure if this is a bug or something i am missing on the configuration somewhere. Thanks a lot

tagyoureit commented 4 years ago

Glad you are enjoying it.

Can you attach a packet capture so we can review. Alternatively, if you are still on the 6.0.0 release you can check out the next branch which has a ton of bug fixes and likely includes this one. The master branch should be updated with the latest code in the next week or so.

fgonza2 commented 4 years ago

seems to be working now. I am working on an integration with home assistant

tagyoureit commented 4 years ago

We've been working on MQTT (see mqtt branch) and have had very many discussions about this in the Gitter rooms. Users of both HomeSeer and HomeAssistant are successfully using this. What type of integration are you working on?

fgonza2 commented 4 years ago

hi, i did an integration via restapi see screenshot. I am also using an RS-485 to wifi box, which is rugged to put in the pool equipment box and needs no maintenance vs. a RPI see here

i am interested in the MQTT option as well assuming in can post update messages on its own rather than polling like it is now via rest. I could find clear documentation, somehow it says that it needs to be updated for 6.0 to work so i didnt go deeper. Can you point me to the documentation for PQTT or gitter chat? i'd be happy to help and contribute as well

tagyoureit commented 4 years ago

Nice implementation. And cool wifi device - I hadn't seen that before. If you go to gitter you can search or just scroll up to the last few conversations on MQTT. MQTT documentation was from the very first release so the basics are there but it is much more complete now.

tagyoureit commented 4 years ago

I just pushed up 6.1 to master and MQTT is included with it. Directions in Wiki.