← Tutte le guide
Homebridge
A lightweight server that emulates the HomeKit API, letting non-HomeKit smart-home devices (and hubs like Home Assistant) show up and work natively in Apple's Home app.
Questa guida è redatta a partire dalla documentazione ufficiale di Homebridge, linkata sopra — verifica sempre lì i nomi esatti di pacchetti/versioni prima di eseguire questi comandi su un server di produzione, poiché le versioni della distribuzione e del progetto cambiano nel tempo.
1Run the official container
Host networking is required for HomeKit's device-discovery protocol (Bonjour/mDNS) to work correctly.
docker run -d \ --name homebridge \ --network host \ -e TZ=Etc/UTC \ -v ./homebridge:/homebridge \ --restart unless-stopped \ homebridge/homebridge:latest2Complete setup through the Homebridge UI
The bundled Homebridge Config UI X web dashboard runs on port 8581 and walks through creating an admin account.
http://your-server-ip:85813Install plugins for your specific devices
Homebridge itself does nothing on its own -- individual community plugins (there are thousands) add support for specific brands and protocols, installed and configured entirely from the web UI's Plugins tab.