homekit2mqtt on DietPi

Followed official install instruction and got:

dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^

Error: dns service error: unknown

Turned out that libavahi-compat-libdnssd-dev is not enough. To fix it, run:

apt-get install avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev

Reference: https://github.com/nfarina/homebridge/issues/613

Installed smoothly on Armbian. Maybe Armbian has the other packages preinstalled.

原文地址:https://www.cnblogs.com/amonw/p/7500786.html