Mixiaoxiao / Arduino-HomeKit-ESP8266

Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
MIT License
1.48k stars 278 forks source link

Compatibility issue with ios 16.6 #233

Open doboti opened 10 months ago

doboti commented 10 months ago

The whole peckage worked just fine, but when i downloaded the latest version of ios wich is actually 16.6 my lightbulbs just stopped working, and i couldn't pair them anymore. Tried on an other iphone with the same ios version, but same issue. I tried to upload an example code (example 1, 4, 5) but my phone never saw the accessories. If not the ios version what else could couse the issue?

vishal-codinghub commented 10 months ago

I have iOS 16.6 and so far I tried following...

Example 2 works quite reliably. I can control and see device in the Home App. Example 3 Stateless Programmable Switch: lets me walk through Home app wizard until the location of device - Living room etc. At the end does not show in the App.

romaneightpointzero commented 10 months ago

After the HomeKit update 16.6 and the new architecture HomeKit says Device unavailable. I fixed the problem with a delete of the not working devices and new upload of the sketch with active homekit_storage_reset() - function. After that I registered the device as a new device via HomeKit-App. Uploaded the sketch with deactivated reset - Function. Now it works again.

NS-K commented 10 months ago

Can you please elaborate? What do you mean by deactivated reset function

Grwmagad commented 10 months ago

homekit_storage_reset() <- reset function

just deactivate it by adding comment "//" in front of the line

romaneightpointzero commented 10 months ago

Can you please elaborate? What do you mean by deactivated reset function

homekit_storage_reset() <- reset function

just deactivate it by adding comment "//" in front of the line

Already answered.