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

RS-485?

tagyoureit opened this issue · comments

Parnic,

Are you able to see what messages the RS-485 bus is sending/receiving? For example, I'm really interested in the ControllerConfigMessage and how it translates to a request/response on the serial bus. Let me know if you can see that side of the communications.

It's great you're making progress and I'm trying to understand how (or if) it makes sense to utilize this networking approach in my app.

Tag

Sorry, I didn't see this over the weekend.

This library is meant to interact remotely so I don't have any direct access to a bus on the device. That said, I'm working primarily off network sniffing and decompiling their android app, so it may be possible, but I don't have any reference for how to do it.

Understood... the one thing (ok, one of the things) I'm looking for is how the Screenlogic knows what equipment is on the Intellitouch board (# of circuits, expansion boards, etc etc). I haven't been able to find the correct RS485 packets to do that. If you come across a way to just query those individual components maybe I can use that to see exactly which packets has the same info.

I don't know how to query individual components, but the circuit count and type data is available in the SLControllerConfigMessage code. Maybe that'll help?

edit: oh, right, you pointed that out in your initial comment. Sorry, I don't have any more information than that right now.

I'm still trying to understand the basic relationship between the network messages and RS-485... how does this const MSG_ID = 12532 ID relate to the RS-485 actions. I think this is either message 2 or 40 or 252, but I don't see all of the information that you extract from this message in either of those messages that I can read.

Closing since there's no work for me to do here. Happy to chat about it further if I can be of help! :)