RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.72k stars 357 forks source link

HAA S26 Unable to pair #534

Closed brymonster closed 5 years ago

brymonster commented 5 years ago

First, thank you for all the wonderful tools developed here! Total noob at all of this so I apologize in advance.

I believe I have successfully erased and flashed my Sonoff S26 with HAA. Soldering the contacts was much easier than expected.

IMG_0077

Connected to the LCM-XXXX network, selected my home network, enter password. OTA repository for Home Accessory Architect: RavenSystem/haa OTA binary file: main.bin waited.. Tried pairing to HomeKit. Nothing found. Restarted device and phone. Same result, no accessories found. For a first time user, I followed the instructions to the "T", but it's still left unfinished. It seems there's still more to do. At this time noticed the device has a HAA-XXXX SSID.

IMG_0493

This is where I realized, I needed a JSON file to configure the device. For the S26, I'm using: {"c":{"l":13,"i":1},"h":[{"t":2,"a":{"0":{"r":[{"g":12,"v":0}]},"1":{"r":[{"g":12,"v":1}]}},"b":[{"g":0}]}]}

IMG_0492

Unfortunately, despite multiple attempts, the device still won't pair with HomeKit. I have tried many times, unplugging, replugging and restarting iPhone/iPad.

IMG_0489

IMG_0487

Does my process seem right? If I missed something, please let me know. Thank you all again for the hard work in development and community support.

RavenSystem commented 5 years ago

Your process seems right, but your JSON is wrong because it is old, from a beta version.

Try this from here: https://github.com/RavenSystem/esp-homekit-devices/wiki/HAA-Templates#sonoff-s20s26-without-uart-output-with-status-led-and-working-button

brymonster commented 5 years ago

hey thanks! I will try that now. Do I need to reconnect to my wifi every time I enter that page? Anyway to know its successfully connected to my network?

UPDATE: the updated JSON worked! thank you Jose and TEAM! y'all awesome.

RavenSystem commented 5 years ago

https://github.com/RavenSystem/esp-homekit-devices/wiki/Home-Accessory-Architect#setup-mode

RavenSystem commented 5 years ago

Do I need to reconnect to my wifi every time I enter that page?

No.

Anyway to know its successfully connected to my network?

Only using your network devices (your router wifi web, dhcp server...).

brymonster commented 5 years ago

thank you @RavenSystem! looking forward to iFan03 HAA support...and for the rest of my sonoffs to arrive.