Commit Graph

108 Commits

Author SHA1 Message Date
8c02b4857d degC is now true/false instead of 0/1
Seek ahead instead of using padding variables
2018-03-30 20:14:08 -05:00
3262ac428b Added chem data
Added salt cell config
Added system version
Tweaked pool status to pre-adjust values

Chem data uses big endian encoding for most of its values (but not all) while everything else (so far) has used little endian. Chem data also encodes bits like whether there's a system error or not inside other pieces of data like salt levels. There are also bytes in the returned data that I don't know the significance of just yet.
Pool status was tweaked such that asking for pH is corrected down to its proper float representation (e.g. 7.60) instead of the integer representation that is sent by the system (760). Same for water balance/saturation. Salt now returns the proper value (scaled up by 50) instead of the value sent over by the system, which I guess is the maximum precision the system can provide.
2018-03-30 19:59:17 -05:00
b6ee816fb3 Added decoding of messages
Also moved things out to their own files and setup require()s to bring it all together.
2018-03-30 16:07:56 -05:00
af02f60791 Code cleanup
Much better organization and ease-of-use now that the proof of concept is established. Still an awful lot to do here, but I'm getting the hang of the whole node.js thing.
Also moved the actual test functionality out to a test script so the module itself doesn't execute anything.
2018-03-30 10:27:01 -05:00
c1234187ca NPM package file 2018-03-30 10:25:33 -05:00
7d4af8db5f Renamed to follow convention 2018-03-30 10:25:03 -05:00
0713d9acca Initial code commit
I have no idea what I'm doing in node.js, so this just proves that we can discover and communicate with a Pentair ScreenLogic server on the network. It's super ugly and needs a ton of work, but it's functional.
2018-03-28 23:52:46 -05:00
ae2b05b0e4 Initial commit 2018-03-28 23:49:01 -05:00