Rulee Chen

Results 12 comments of Rulee Chen

My solution is to change the value of cha_name during arduino setup. ``` String hostName; extern "C" homekit_characteristic_t cha_name; void setup(void) { hostName = WiFi.macAddress(); cha_name.value.string_value = const_cast(hostName.c_str()); } void...

Yes, I think it can be achieved. As you can see in the multi accessory example we can define some sensor accessories and export them via a bridge accessory. That...

+1 has this problem. I have tested 2 WiFi routers with simplest code.

I am linking another relevant issue https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/103

Guys, I have got the magic! Just remove this line. ![image](https://user-images.githubusercontent.com/907369/136806376-e655d1d3-945c-46d9-b66b-f0ea1b1926f4.png)

@mateusmsantin Have a try of my version https://github.com/ruleechen/home-switch/blob/main/extras/arduino_homekit_server.cpp I have some little customizations. Probably helps. Good luck.

@mateusmsantin It seems not the issue related to ArduinoOTA. Please change 'homekit_base64.h' in the file to 'base64.h'. That is a customization of my env.

@Sanjayc1806 Keep state is the functionality beyond this library. I'm afraid we have to do it ourself by saving the on/off state. And recover state base on the saved state...

@Sanjayc1806 Welcome. Mine is up for over 10 days now.

Perhaps the same scenario with this issue https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/139