Open densh1k opened 1 year ago
@densh1k you need to modify the values for TARGET_HUMIDIFIER_DEHUMIDIFIER_STATE
and CURRENT_HUMIDIFIER_DEHUMIDIFIER_STATE
. You can try the configuration below.
homekit_characteristic_t hk_tar_humidifier_state = HOMEKIT_CHARACTERISTIC_(TARGET_HUMIDIFIER_DEHUMIDIFIER_STATE, 1,
.valid_values = {.count=1, .values=(uint8_t[]) {1}}); // 0, 1, 2, 3
homekit_characteristic_t hk_cur_humidifier_state = HOMEKIT_CHARACTERISTIC_(CURRENT_HUMIDIFIER_DEHUMIDIFIER_STATE, 1,
.valid_values={.count=2, .values = (uint8_t[]) {0, 1}}); // 0, 1, 2
Thanks, ok
I use ESP8266 to control the humidifier. How to remove the dehumidifier from homekit?