by gstar · 2y ago · 0 comments
The system uses RS422, with a base64 encoded AES key in the aaservice binary, and I was contemplating building an esp32 based open source implementation of the controller.
That's a crazy weird coincidence.
https://www.aliexpress.com/item/1005005918675239.html
The connectors on the small RJ45 daughter board are JST-SH 1.0
The yellow lead puts out 4.2v to replicate a Li-Ion battery (as far as I can tell). You can ignore this.
Red is positive
Black is negative
Green is usb d+
Blue is usb d-
https://www.wago.com/de-en/c/installation-terminal-blocks-an...
Pin 1: RS422 +/B
Pin 2: RS422 -/A
Pin 3: ? - appears to be unused; connected to unpopulated pad on PCB
Pin 4: GND
Pin 5: ~14.2v DC unloaded
Pin 6: GND
Pin 7: ?
Pin 8: ?
Shield: GND
Note: the RS422 protocol has a basic bus arbitration built-in to allow both ends to communicate. The control unit sends <U>Ping</U=xx> messages, after which it opens a slot for the Tablet to communicate back to it. At least on my system xx represents a simple CRC value that can be used to validate message authenticity. I haven't seen any AES encryption in use, messages I've seen are all plaintext, maybe the AES encryption was introduced in a later revision.I do, have 2 spare USB-C to JST-SH adapters that suit the round advantage air circuit board if anyone wants one (Perth, Free). Email in profile.
https://git.nethack.net/rob/aircon
Essentially it just talks to the android tablet API to do things so it's no help if (when) the tablet dies, but it means I can do things like:
- have the entire unit turn on/off as needed based on average zone temperatures
- open/close vents based on room owners' devices being online, or temperatures of nearby zones
- dump zone temperatures to influxdb
The protocol itself is crazy, with obfuscated ternary data (instead of binary). People who reversed it are heroes.
I'm willing to bet money on that it's planned obsolescence, especially considering their "technology keeps moving forward" bullshit.
Source: my customers
That being said it's more likely the hardware mfg is just trying to claw in more margin.
I should really write that up at some point too.
Shame on this manufacturer.
I usually get the 'oh did not think of that' because logging is a serious afterthought in many cases. It is boring and you just drop in log4j and log away right?
log4j had big vulnerability a while back and it was a huge pain to contact all our vendors and find out if they had patched for it or not.
Also congrats to the OP! Sadly, european aircon appliances are usually built the same way (last only as long as the warranty).
(in fact, replacing basic central heating thermostats with a tablet device has been very successful for one energy company in my country, see https://www.eneco.nl/energieproducten/toon-thermostaat/; it wouldn't have been possible if the thermostat data thing was some complicated / encrypted nonsense)
There is no single control for the whole house but on the other hand I never let it run when I am away and I am never in 2 rooms at the same time so I just close the door so I only have to keep one room cool. I fail to see the need of an aircon I could control remotely with a smartphone or any smart bullshit system that control every room at the same time. And I think if I ever needed that I would probably just control the individual aircon via small esp32 with irtransmitter driven by a home server. That way the individual remotes would still be usable in case of an individual failure.
Why do work when you can read HN?
Hi from east Asia!
https://www.quora.com/Why-are-West-Australians-called-sandgr...
Also, good morning from Poland, EU :).
OTOH, they can find an industrial display + a Linux SoM (system-on-module) that can run linux or Android for under $200 in quantity.
Same diff though: no one cared, so they got what was cheap.