maximkulkin / esp-homekit

Apple HomeKit accessory server library for ESP-OPEN-RTOS
MIT License
1.1k stars 168 forks source link

With release 2.7.0 8826 core for IDE - the phone is constantly losing accessory. #145

Closed vvrec closed 4 years ago

vvrec commented 4 years ago

I went through all the possible sources of the problem until I found that with release 2.7.0 8826 board the phone is constantly losing accessory. Problem is gone when rolled back to the previous version

maximkulkin commented 4 years ago

WAT? What is this version about?

vvrec commented 4 years ago

Core ArduinoESP8266 for Arduino IDE https://github.com/esp8266/

maximkulkin commented 4 years ago

esp-homekit does not support ArduinoESP8266 SDK. Supported SDKs are esp-open-rtos and ESP8266_RTOS_SDK from Espressif

vvrec commented 4 years ago

I probably wrote incorrectly. I'm talking about an add-on for Arduino IDE to work with ESP8266 Board ...

maximkulkin commented 4 years ago

Ok, I have two answers here: "It should work" and "It is not supported". Arduino IDE support usually means that it does provide you familiar functions (like digitalRead, digitalWrite, sleep, etc) which means it has an Arudino API layer. Even if it happen to compile, I suggest using supported SDKs directly.

mriksman commented 4 years ago

I'm curious how you even got this going... Arduino IDE with ESP8266 uses NONOS - it shouldn't even run ESP-HomeKit. Are you using this; https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266? They ported it to support NONOS.

vvrec commented 4 years ago

Issue is closed after updating to version 2.7.1. For me ...