Closed mikemucc closed 4 years ago
JSON representation:
{
"24": {
"Heater": true,
"Solar": false,
"Solar is Heater": false,
"Chlorinator": false,
"Cooler": false,
"IntelliChem": false
},
"25": {
"Heater": true,
"Solar": true,
"Solar is Heater": false,
"Chlorinator": false,
"Cooler": false,
"IntelliChem": false
},
"27": {
"Heater": true,
"Solar": true,
"Solar is Heater": true,
"Chlorinator": false,
"Cooler": false,
"IntelliChem": false
},
"28": {
"Heater": true,
"Solar": false,
"Solar is Heater": false,
"Chlorinator": true,
"Cooler": false,
"IntelliChem": false
},
"29": {
"Heater": true,
"Solar": true,
"Solar is Heater": false,
"Chlorinator": true,
"Cooler": false,
"IntelliChem": false
},
"31": {
"Heater": true,
"Solar": true,
"Solar is Heater": true,
"Chlorinator": true,
"Cooler": false,
"IntelliChem": false
},
"8219": {
"Heater": true,
"Solar": true,
"Solar is Heater": true,
"Chlorinator": false,
"Cooler": true,
"IntelliChem": false
},
"8223": {
"Heater": true,
"Solar": true,
"Solar is Heater": true,
"Chlorinator": true,
"Cooler": true,
"IntelliChem": false
},
"32792": {
"Heater": true,
"Solar": false,
"Solar is Heater": false,
"Chlorinator": false,
"Cooler": false,
"IntelliChem": true
},
"32793": {
"Heater": true,
"Solar": true,
"Solar is Heater": false,
"Chlorinator": false,
"Cooler": false,
"IntelliChem": true
},
"32795": {
"Heater": true,
"Solar": true,
"Solar is Heater": true,
"Chlorinator": false,
"Cooler": false,
"IntelliChem": true
},
"32796": {
"Heater": true,
"Solar": false,
"Solar is Heater": false,
"Chlorinator": true,
"Cooler": false,
"IntelliChem": true
},
"32797": {
"Heater": true,
"Solar": true,
"Solar is Heater": false,
"Chlorinator": true,
"Cooler": false,
"IntelliChem": true
},
"32799":{
"Heater": true,
"Solar": true,
"Solar is Heater": true,
"Chlorinator": true,
"Cooler": false,
"IntelliChem": true
},
"40991": {
"Heater": true,
"Solar": true,
"Solar is Heater": true,
"Chlorinator": true,
"Cooler": true,
"IntelliChem": true
}
}
Very cool, thanks for sharing!
So: Solar 0x1 Solar-is-heatpump 0x2 Chlorinator 0x4 Cooling 0x800 Intellichem 0x8000
And we can just OR them together to interpret the flags. I appreciate it!
Indeed. Sorry if GitHub spammed you, I had some mistakes in my initial findings, mainly because my API only refreshes every 5 seconds and it was late. I also jacked up my pool automation figuring this out (but a quick powercycle fixed it... :-) ).
Not so much an issue, but interesting findings that I thought anybody working on this would find useful.
I'm in the middle of creating a UI in Angular, and needed the ability to programmatically determine the heater/cooler configuration so I did a little research with my EasyTouch/ScreenLogic II today to figure out what equipFlags really means.
Here are the results:
Binary Representations: