Yurik72 / ESPHap

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

implement custom service and characteristic #24

Closed DietmarHoch closed 4 years ago

DietmarHoch commented 4 years ago

Hi, thanks for the great work.

one little question, is it possible to implement a custom service and characteristic? i will need it for a smart meter, reading volts, amperes, watts etc. as I read in the apple spec, I need custom UUIDs for that.

would be great if you could explain that or implement.

Thanks

Yurik72 commented 4 years ago

Hi, this is question not for this libraty, but to the Apple. Library allows for any usage of services and charachretists available from the Apple (at the moment for the last version), see like there . This is constraints from the Apple user interface, what you will be able to see. I know diffrerent implenation from the Eve, but this is out of the scope currently, Therefore answer is not. However you can implement services like Ambient light sensor, to see any values instead of lumens. :)