Closed flatsiedatsie closed 7 months ago
@flatsiedatsie Yes, I tried to bridge zigbee2mqtt to the homekit via thingtalk a few months ago.
Can this library be used without requiring the code to be run through a uvicorn test:app --reload command?
How would you like to use it?
Ah, so Zigbee2MQTT has homekit support somehow? I've actually worked on the Zigbee2MQTT addon for webthings, which is available now.
How would you like to use it?
I'd like to use it in an addon for the Webthings Gateway. So the python file would be loaded by the Gateway, and not started from the commandline.
@flatsiedatsie I saw your work, it's great! homekit protocol supports third-party takeover of homekit devices also supports reverse emulation of homekit devices, if you want webthing to become a homekit device, you need to run a web server, I'm not very familiar with gateway's plug-in development, does gateway's plug-in support to run as a web server?
I'm currently working on an addon that does exactly this. It is both and addon, and it also runs a webthing server on port 8889 at the same time.
https://github.com/createcandle/candlecam
The addon currently builds on the Webthings python webserver code. I was curious if switching to your code had any significant benefits.
Oh, I see, if that's the case, when using thingtalk, you need to run the homekit service at the same time, and then your doorbell can support both webthing and homekit, but the problem is that I don't have a doorbell to use for testing.
I don't believe Webthings doorbells are even for sale ;-)
Aha, silly me, I will try to make a doorbell with candlecam.
Be my guest :-)
I noticed in the examples there is a Homekit example. Looking through it I tried to figure out if it is somehow Homekit compatible, but couldn't figure it out.
I ask because I'm working on a privacy focussed smart doorbell (based on a Pi zero). The project currently uses the webthings python library. My downstairs neighbour uses Homekit, and making the doorbell Homekit compatible would make the project relevant to him.
uvicorn test:app --reload
command?