russinnes / Noma-Ayla-Devices_ESP32

Taking apart some undocumented Ayla IOT Cloud devices (Noma brand)
1 stars 0 forks source link

Is this something you are going to release? #1

Open mjb83 opened 21 hours ago

mjb83 commented 21 hours ago

Hi there, please forgive my ignorance as some (most) of what you wrote here went way too far over my head :)

Needless to say, I am very impressed and awed at your abilities here.

Is there any way you can make this an add-on for home assistant? Based on all the soldering and firmware flashing I am guessing not, but thought I would ask. I just installed one of the garage door openers with Noma IQ as well and was hoping to get control over to home assistant.

From my limited understanding here you've basically taken the dongle, removed all the firmware on it, and then created and flashed your own? Assuming that is correct, I would have to somehow flash my dongle as well, correct?

If you need a tester, I'm here if I can help, let me know!

russinnes commented 20 hours ago

Hi;

Yes I could script it all, however it absolutely requires a connection the the UART pads on the back of the device, as well as the EN and Boot pads. Those pads are the serial port of the device; that is where all of our commands to dump/reflash need to go thru. Writing an integration into HA is pretty trivial; the device needs new firmware to allow that however. There is no (easy) way to use their existing firmware/APIs etc to control the device unfortunately. Those soldered connections are really only truely necessary for the re-flash operation.

russinnes commented 20 hours ago

However - this is all assuming you want to use their dongle. There is absolutely nothing stopping you from sticking an RPi zero or an arduino or even your own ESP32 beside the box, and interfacing in parallel with the exposed serial port on the board. It will still require soldering but is much much less involved. This would keep the original functionality of the IQ app/device as well, as it would sit in parallel.