ceisenach / screenlogic_over_ip

IP Communications for Pentair ScreenLogic2
GNU General Public License v3.0
16 stars 2 forks source link

Updates to Protocol_Document.pdf #8

Open colinrblake opened 5 years ago

colinrblake commented 5 years ago

I have been working on an app for controlling my pool and found your Pentair ScreenLogic Protocol document VERY useful. I have a couple of updates. NB: all ints are four bytes.

12543 - Get Schedule Data Answer

12548 - Set Scheduled Event By ID Request Data sent is:

colinrblake commented 5 years ago

I have discovered another message, to set the date/time on the Pentair controller.

Message ID 8112, and the response is 8113.

Contents of the request (to set the date/time) showing sample data to set the date/time to August 7, 2019, 8:15:15pm:

00 00 Sender ID b0 1f MsgID 8112 14 00 00 00 Length 20 e3 07 Year 2019 08 00 Month 8 00 00 Day of Week (ignored) 07 00 Day 14 00 Hour 20 8pm 0f 00 Minutes 15 0f 00 Seconds 15 00 00 Milliseconds 0 00 00 Follow DST (0=no) 00 00 Unknown (Farenheit/Centigrade?)

NOTE: after using this for a while, it seems that the seconds are ignored. Therefore if you want to accurately set the date/time, you need to send this message at the top of the minute!

ceisenach commented 5 years ago

@colinrblake Thanks for gathering all this information. I don't have the time right now to update the protocol document, but it would be great if you can submit a PR with the changes. If not, I will make sure to incorporate this additional info when time permits.

Thanks!

colinrblake commented 5 years ago

Edit the PDF directly? Doesn't that make it difficult to keep the formatting consistent if you can't define styles? Or is there some good (free) PDF editor I don't know about?

ceisenach commented 5 years ago

Sorry -- I meant edit the Latex source for the PDF, not the PDF directly.