Yurik72 / ESPHap

ESP32/ESP8266 Arduino library for native Apple Homekit Accessory Protocol (HAP)
MIT License
264 stars 60 forks source link

SLAT do not show up on HomeKit after pairing #130

Closed simkard69 closed 9 months ago

simkard69 commented 1 year ago

Hello,

I wanted to use SLATs for air direction properties for my heat-pump, but even after creating the needed functions/Definitions in files homeintegration.h and homeintegration.c, nothing shows up on HomeKit's side.

Any idea why it just doesn't appear ? I've just used the required characteristics + 1 optionnal characteristics (which are correctly initialized during boot-up process) :

Here are my added lines to both files :

} homekit_service_t hap_add_slat_horizontal_service_MOD(const char szname, hap_callback cb, void context) { INFO("hap_add_slat_horizontal_service_MOD"); homekit_service_tservice = hap_new_slat_horizontal_service_MOD(szname, cb, context); return hap_add_service(service); }

simkard69 commented 9 months ago

Managed to get it working using a different method.