parnic / node-screenlogic

Pentair ScreenLogic Javascript library using Node.JS
https://www.npmjs.com/package/node-screenlogic
MIT License
53 stars 15 forks source link

Starting the hot tub? #10

Closed alonweinstein closed 5 years ago

alonweinstein commented 5 years ago

What would be the client command to start the hot tub?

parnic commented 5 years ago

https://github.com/parnic/node-screenlogic#setcircuitstatecontrollerid-circuitid-circuitstate https://github.com/parnic/node-screenlogic#slsetcircuitstatemessage controllerId will probably be 0, circuitId can be retrieved (as the documentation explains) by the response to getControllerConfig() but will probably be 500 for the spa, and circuitState will be 1 for on and 0 for off.