Arduino-HomeKit-ESP8266 icon indicating copy to clipboard operation
Arduino-HomeKit-ESP8266 copied to clipboard

Sensors looses Connection

Open N5NMR opened this issue 2 years ago • 10 comments
trafficstars

Working with Wenos D1 Mini and SHT 30 Sensor.

All Sensors looses connection to Apple HomeKit on a unregulated basis.

I use only SHT 30 sensor, but on one I also use an I2C Display and on two others I use Voltmeter as Analog Display.

Any suggestions?

N5NMR avatar Jul 03 '23 06:07 N5NMR

Same problem here and probably the same as #213 I am trying to ESP.restart() after 0 homekit clients have been reported for a few times. But thats obviously not the right way.

Grwmagad avatar Jul 24 '23 05:07 Grwmagad

Same problem here and probably the same as #213

I am trying to ESP.restart() after 0 homekit clients have been reported for a few times.

But thats obviously not the right way.

Did this also. But now the Sensors are kicked out by apple and need to reinstalled… f@ck

N5NMR avatar Jul 26 '23 11:07 N5NMR

I do not have issues with that. I only added some EEPROM variables that erase my pairing but thats my fault. I will change the address where the EEPROM will be written and it will be fine. ESP.restart is not resetting the pairing. Are you sure that there is no homekit_storage_reset in the setup() function? Or somewhere else?

Grwmagad avatar Jul 26 '23 11:07 Grwmagad

I have same problem. Sensors Worked in 5 minutes and losses connection. Pls help me

phanquynhatminh avatar Jul 26 '23 16:07 phanquynhatminh

Sure, all HomeKit storage reset has been out // in the code.

However. After implementing a reset in the code it Worked for a week or so and suddenly kicked out twice a day. No idea. Checked everything twice.

Nerv wrecked

N5NMR avatar Jul 28 '23 06:07 N5NMR

Any fix do this??

jockethebastard avatar Apr 25 '24 00:04 jockethebastard

The only thing that works ist to count the arduino_homekit_conecction_client_count == 0 (in my case till 25) and then do a reset.

Now it worked for a while. Anyway. Sometimes all sensors are kicked out completely by apple and need be reinstalled. No idea why

N5NMR avatar Apr 25 '24 17:04 N5NMR

The only thing that works ist to count the arduino_homekit_conecction_client_count == 0 (in my case till 25) and then do a reset.

Now it worked for a while. Anyway. Sometimes all sensors are kicked out completely by apple and need be reinstalled. No idea why

I don't know exactly what you mean, but I'll try to figure it out. I set up a brand new ESP8266 yesterday with my temp sensor, and it worked right away, no problems adding it to HomeKit. But, since I have to move the sensor and disconnect it from the power source, it's then not working. Says it's not compatible and then never to be found again, unless I reinstall it.

jockethebastard avatar Apr 26 '24 06:04 jockethebastard

Sound like you have the HomeKit.reset still in the setup. // it after you upload the code. And upload again. It's stupid but works

I send the reset code later

N5NMR avatar Apr 26 '24 12:04 N5NMR