{"repo":"ikalchev/HAP-python","free":true,"listed":false,"github":"https://github.com/ikalchev/HAP-python","clone":"git clone https://github.com/ikalchev/HAP-python.git","description":"A python implementation of the HomeKit Accessory Protocol (HAP)","language":"Python","stars":669,"topics":["hap","homekit","homekit-accessory-protocol","iot","python","raspberry-pi"],"license":null,"category":"mobile-apps","readme_excerpt":"HAP-python HomeKit Accessory Protocol implementation in python 3. With this project, you can integrate your own smart devices and add them to your iOS Home app. Since Siri is integrated with the Home app, you can start voice-control your accessories right away. Main features: Camera - HAP-python supports the camera accessory from version 2.3.0! asyncio support - You can run various tasks or accessories in the event loop. Out of the box support for Apple-defined services - see them in the resources folder. Secure pairing by just scanning the QR code. Integrated with the home automation framework Home Assistant. The project was developed for a Raspberry Pi, but it should work on other platforms. To kick-start things, you can open main.py or busy home.py , where you will find some fake accessories. Just run one of them, for example python3 busy home.py , and you can add it in the Home app (be sure to be in the same network). Stop it by hitting Ctrl + C . There are example accessories as well as integrations with real products in the accessories folder. See how to configure your camera in camera main.py. Table of Contents 1. API 2. Installation 3. Setting up a camera 4. Run at boot (and a Switch to shutdown your device) 5. Notice Installation As of version 3.5.1, HAP-python no longer supports python older than 3.6, because we are moving to asyncio. If your platform does not have a compatible python out of the box, you can install it manually or just use an older version of HAP-py","default_branch":null,"files":null,"tree":[],"storefront":"/r/ikalchev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ikalchev/HAP-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}