-
Notifications
You must be signed in to change notification settings - Fork 1
Wow! Finally! Thanks! #6
Comments
Getting those heat signatures... Wow. I'll give it a massive go to get it from one heater. But I have four in total. |
Thanks! |
And yes: I do. Because that's the only way to set unique temperatures in different rooms. I have fetched all the signatures (I reckon it's the URL Encoded form: signature; ie. 302D0214616BC6DF275E505E923592AA5473566FBCCD9A08021500943A7xxxxxxxxxxx) Is it mandatory to have the entire temperature range? |
No, but you need to retreive signature for all temperature you want to be able to set, plus temperature 0 (which is used to turn it off. |
Allready on it. At the moment, I get read temps from all through the zone list I guess. However, setting the temperatures, I need to add all four zones with all 30 temp signatures. |
Have you succeeded in sniffing the adax app version 2? I am curious what the appVersion parameter value is and if the api response gives you different and hopefully more data. |
Grabbed the signatures just fine for heat and zone. |
Sorted, was checking the wrong request, signatures found ok. |
@joggs my appversion is iOS-adax-2.4.0. I would say Yes, this should be version 2 |
You have an example of how the parameters.py should look. Have got all the values, but still no dice. I am wondering if I have some values with wrong syntax or notation. |
Sorry for my late reply. def get_static(value):
switcher = {
"account_id": '12345',
"appVersion": 'iOS-adax-2.4.0',
"device": 'iPhone10,4',
"os": 'iOS 2012.4',
"timeOffset": '120',
"timeZone": 'Europe/Stockholm',
"locale": '',
"zone_signature": '302C02142396D5FGFGAFG856468FDGCB4018FDF93F0214079A870064DBFE22691A27FC09F3AFE23B7A7B22'
}
return switcher.get(value,"Key missing")
def get_signature_456789(value):
switcher = {
"heat_signature": '302D0214035B337E5CDDC9EE3C59AA54FA688610215009740C147DAAB144859E592B9BC4493DBC2CAA004',
0: '302D02146DB0C8AA23548666A666A69A81485434226B02150080BD1B0DE19DEABD3D8EE007AA09B93EB3BBBFBA', #Set as HVAC_OFF
5: '302D02142572F806E126F9F4DEF0510AF7A9526ED3AC91D70215008AB85235A584FB928423C50E366261D4DD315B',
}
return switcher.get(value,"Key missing") The signature key is normally 32 or 34 characters. |
Will give the implementation a go, and give you some feedback along the way :-)
The text was updated successfully, but these errors were encountered: