Arduino-HomeKit-ESP8266
Arduino-HomeKit-ESP8266 copied to clipboard
in_use seems to throw errors despite being a requirement for a valve
Trying to create a valve / sprinkler, however can't seem to get "in_use" working. Could you provide an example that makes use of characteristic type valve?
Refer to the Apple's HAP section 8.43. The 'Valve' seems to be a little bit complicated service.
I was able to get it to compile by adding this.
homekit_characteristic_t cha_in_use = HOMEKIT_CHARACTERISTIC_(IN_USE, false);
However the device continuously says "updating". Perhaps in_use is an int8?
uint8. Defined in Apple's HAP section 9.48.
updated all values to uint8. Looked at HAP 8.43 and it describes the only values needed are Active, In Use, and Valve Type if the valve type is anything other than 1 "Irrigation System". Still getting a valve that is stuck in "updating..."