parnic / node-screenlogic

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

Set pump speeds #62

Closed tagyoureit closed 1 year ago

tagyoureit commented 1 year ago

Creating a new issue so we don't pollute the other thread.

When I get back the pump status the data is this:

Pump 0: 
{"pumpCircuits":
[
{"circuitId":1,"speed":5,"isRPMs":true},
{"circuitId":6,"speed":2000,"isRPMs":true},
{"circuitId":7,"speed":2500,"isRPMs":true},
{"circuitId":8,"speed":3250,"isRPMs":true},
{"circuitId":18,"speed":1320,"isRPMs":true},
{"circuitId":0,"speed":1000,"isRPMs":true},
{"circuitId":0,"speed":1000,"isRPMs":true},
{"circuitId":0,"speed":1000,"isRPMs":true}
],
"pumpType":2,
"isRunning":true,
"pumpWatts":506,
"pumpRPMs":2000,
"pumpUnknown1":0,
"pumpGPMs":255,
"pumpUnknown2":255}

I tried both (in your original code):

Neither worked. What am I missing here?

And a follow on item- looks like in order to change the pump, or circuit itself, I'll need to call 12568 and update the entire pool config. Does that sound correct?

parnic commented 1 year ago

I'll try to take a look at it soon. Here's what that message came in, if it helps: https://github.com/parnic/node-screenlogic/pull/28

apizzi69 commented 1 year ago

Any updates on this @parnic ?

parnic commented 1 year ago

@apizzi69 sorry, I forgot this issue existed. I gave an update over here:

https://github.com/parnic/node-screenlogic/issues/61#issuecomment-1348693063

This command works for me. If others can give me info about their system (wireshark dumps or whatever is easiest) would help me figure it out for other systems, pump types, whatever the issue is.

edit: or if you can provide some example code that doesn't work for you, I can at least see if the same code works on my system or not.

apizzi69 commented 1 year ago

@parnic Thanks!

Any chance i can get an email to communicate better and work with you on this? I would like to help out with this initiative! You can delete the comment after 2 mins so its not out there

parnic commented 1 year ago

@parnic Thanks!

Any chance i can get an email to communicate better and work with you on this? I would like to help out with this initiative!

Sure, it's on my Github profile.

apizzi69 commented 1 year ago

ok got it! @parnic !

tagyoureit commented 1 year ago

I did get this working in my typescript branch. Made comments in the other thread. Thx!