parnic / node-screenlogic

Pentair ScreenLogic Javascript library using Node.JS

Home Page:https://www.npmjs.com/package/node-screenlogic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heater/thermostat support?

blazer0x opened this issue · comments

Thank you for creating this! I've got everything working including spa and pool temp display, but I seem to not be able to turn the heater on/off or adjust the pool or spa temperature.

Can you share the code you're using that isn't working for this?
Heat mode documentation: https://github.com/parnic/node-screenlogic#setheatmodecontrollerid-bodytype-heatmode (also see #13)
Set temperature documentation: https://github.com/parnic/node-screenlogic#setsetpointcontrollerid-bodytype-temperature

I'm using another project (homebridge-screenlogic - https://github.com/schemers/homebridge-screenlogic#readme) which utilizes node-screenlogic. The issue seems to be that all of my screenlogic devices are detected except for the heater and thermostat controls. Here's what my startup using homebridge looks like:
[2/27/2020, 11:15:27 PM] [ScreenLogic] found 11 accessories
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Pool'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Spa'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Air'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Spa'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Water Feature'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Pool Light'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Spa Light'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Glo-Brights'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Pool'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Jets'...
[2/27/2020, 11:15:27 PM] [ScreenLogic] Initializing platform accessory 'Cleaner'...

P.S. Thank you for responding, I really appreciate it and any advice you can offer!

I see that you opened an issue on that project. That's going to be your best bet to get this solved. My library provides a way for other developers to get at their pool equipment easily, so I can't provide help on how it's being used in other applications. All calls to ScreenLogic equipment goes through a single device (the easytouch controller) so there's not really any detecting of components that the code has control over.

Heh yeah I meant to open the issue there initially, but then realized I opened it here, and there's no option to delete, so I figured oh well I guess it can't hurt just in case the author of the other project is MIA :) Thanks again for responding.