I have installed nicholasrobinson/node-smartcielo-http but homebridge is giving me this error below.
Any ideas?
[SmartCielo] TypeError: Cannot read property 'getAttribute' of null
at getAppUserAndSessionId (/homebridge/node_modules/homebridge-smartcielo/node_modules/node-smartcielo/SmartCielo.js:127:64)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Promise.all (index 0)
So all the integrations here are using an IR remote controlling thermostat adapter, yeah?
For the Mitsubishi Mr Slim series, an enterprising person managed to reverse engineer the communication protocol of the hardwire port where their wireless module plugs in, and there is now local control for them via about $10 of wires and a wemos mini wifi -> serial adapter.
Has anyone tried to do something similar for the Mr Cool units?
I installed a wemos d1 clone in one of my Mr Slims, and I noticed that both the Mr Slim and the Mr Cool showed up on my router as ESP-xxxxxx (where the x’s are the last 6 of the MAC address).
So apparently the wifi usb thing that comes with the Mr Cool also runs on an ESP chip. Not necessarily useful, but it might be an interesting project to crack open that wifi USB dongle and see what’s in it and capture the signal that’s running over the RX/TX pins of the ESP chip… see if it can be reverse engineered…
Did a little more digging, and it appears that the Mr. Cool units are rebranded Midea ACs (there are a half dozen brands that all use Midea… this is true for microwave ovens as well).
I’m going to give this project a try, since I already have a bag of spare ESPs.
But the short version is that apparently (if the above and linked information is accurate) the USB dongle doesn’t actually talk USB… it talks 9600 baud 5v serial over the USB pins.
I’m getting mixed things about that…
osk102 seems to work occasionally, osk103 works almost…never…
need fake cloud and stuff like that…
Then some updates from cloud breaks it again…
So I would recommend the esp way…cheap, reliable and relative easy, especially now pull-request request for midea-protocol from Sergiy is merged into esphome repository
Hey guys! I’ve been waiting for a solution on this one for a while now- reading through, it sounds like you’ve finally cracked it! My background here is very limited, but I’m a snappy learner! Would you mind breaking down the ESP method so that I can finally get my Mr Cools in HA?
Wow just came across this thread, This seems promising that this Integreation of Cielo Smart AC controller will work. Thank you for creating this.
Do you know if this can say work with some temp sensor.
I have a server rack and ac in the room. Or Pioneer Mini Split AC with Cielo smart AC app on the phone.
I am wondering say if I put some temp sensor in the rack and rack say reaches 95F then AC should come on when it reaches say 70 Degree or what ever temp AC turns off…
Anyway regardless thank you so much for creating this.
I did find out that it literally renders Mr.Cool remote useless. It doesn’t function anymore… I have to the Sensibo to change settings… I don’t mind at all but just letting people know.