AGRO666

Results 8 comments of AGRO666

I think the problem is that the keepalive parameter is too high. The program continues to send packets to the client when the client is no longer online. And when...

Try: HOMEKIT_SERVICE(THERMOSTAT, .characteristics = (homekit_characteristic_t*[]) { &currentHeatingCoolingState, &targetHeatingCoolingState, &currentTemperature, &targetTemperature, &temperatureDisplayUnit, NULL }), HOMEKIT_SERVICE(HUMIDITY_SENSOR, .characteristics=(homekit_characteristic_t*[]) { &currentRelativeHumidity, NULL }), speak russian? tg @AGRO666

my code: cha_temperature.value.float_value = temp; cha_humidity.value.float_value = hum; if (temp_hk != temp) { homekit_characteristic_notify(&cha_temperature, cha_temperature.value); delay(100); } if (hum_hk != hum) { homekit_characteristic_notify(&cha_humidity, cha_humidity.value); delay(100); } temp_hk = temp; hum_hk...

And remove from the code HOMEKIT_CHARACTERISTIC(FIRMWARE_REVISION, "1.0"),

https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/blob/8a8e1a065005e9252d728b24f96f6d0b29993f67/src/arduino_homekit_server.cpp#L33

sensorVal = 0 (inactive) or 1 (active). Other values cannot be used and replace homekit_characteristic_t cha_faucet = HOMEKIT_CHARACTERISTIC_(ACTIVE, 0);

I tested it with HomeKit I set esp_log_level_set("*", ESP_LOG_ERROR); the pair was not created E (61577) chip[DL]: Long dispatch time: 2792 ms, for event type 7 E (67245) chip[DL]: Long...

I tested in Homekit debug.ino on_off_light - worked window_covering_device - worked fan - worked thermostat - worked generic_switch - Not supported on_off_plugin_unit - worked (in log - E (1498) chip[ZCL]:...