ikalchev / HAP-python

A python implementation of the HomeKit Accessory Protocol (HAP)
Other
630 stars 119 forks source link

sonoff power switch accessory #200

Open ignalex opened 5 years ago

ignalex commented 5 years ago

have anyone looked into integration sonoff power switch with hap-python?

https://sonoff.itead.cc/en/

it suppose to be easy connected to HAP-NodeJS https://www.youtube.com/watch?v=M4qHXoAyrRs

ignalex commented 5 years ago

answering to myself :) done the integration using its web interface. if anyone interested can clean the code and send pull-request.

schinckel commented 5 years ago

I have a bunch of ESP8266 devices, and rather than attempt to use them directly from within HomeKit, I have them communicate their values to (and subscribe to) a local MQTT broker.

Then, I run an MQTT2HomeKit bridge, which handles all of the HomeKit, that is built using HAP-Python:

https://hg.sr.ht/~schinckel/mqtt2homekit

fwebcc commented 3 years ago

SMQTT Direct bridging mqtt http://fweb.cc