brutella / hkknx-public

hkknx is a HomeKit KNX bridge for KNX.
https://hochgatterer.me/hkknx
97 stars 6 forks source link

[Scripts] Support for MQTT #107

Closed nanosonde closed 10 months ago

nanosonde commented 3 years ago

Concerning external packages: Can I also use this package? There is already the support for HTTP, but MQTT would also be nice.

bernd70 commented 2 years ago

I second that. Maybe even on a more integrated approach. A switch (or any other action) could be a call to http oder mqtt instead of writing to a group address.

brutella commented 1 year ago

Access to MQTT via a client implementation sounds like a great idea. This way you can send KNX values to MQTT and vice versa.

Would you also need to run an MQTT broker in hkknx?

bernd70 commented 1 year ago

Opps, this is an old thread... :-)

Right now I do not use Homekit a lot. Actually I only use three actions: "Turn on/off Espresso Machine", "Activate Sun Protection in Office" and "Open/Close Garage Door".

But regarding the question: I dont think HKKNX needs a MQTT broker.. When using MQTT there is typically a MQTT instance like mosquitto running somewhere.

And if hkknx could both publish and subscribe it caould act as a gateway between Homekit and any other instance supporting MQTT.

brutella commented 1 year ago

The mqtt package is now available in 2.7.0-b1. Read more here → https://hochgatterer.me/de/hkknx/docs/scripts/mqtt/ (German only for now)