{"id":24030212,"url":"https://github.com/davidsitt/docker-home-assistant","last_synced_at":"2026-04-12T05:31:49.460Z","repository":{"id":271535183,"uuid":"908378781","full_name":"davidsitt/docker-home-assistant","owner":"davidsitt","description":"Boilerplate config to run [home-assistant + MQTT + zigbee2mqtt ] in docker","archived":false,"fork":false,"pushed_at":"2025-01-08T10:11:17.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T11:43:27.479Z","etag":null,"topics":["docker","docker-compose","home-assistant","mqtt","raspberrypi","zigbee","zigbee2mqtt"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidsitt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-25T23:18:53.000Z","updated_at":"2025-01-08T10:11:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"aee0bfff-56d7-4611-a43e-2c7a0829bbba","html_url":"https://github.com/davidsitt/docker-home-assistant","commit_stats":null,"previous_names":["davidsitt/docker-home-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidsitt/docker-home-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsitt%2Fdocker-home-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsitt%2Fdocker-home-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsitt%2Fdocker-home-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsitt%2Fdocker-home-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidsitt","download_url":"https://codeload.github.com/davidsitt/docker-home-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsitt%2Fdocker-home-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31705574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T05:11:36.334Z","status":"ssl_error","status_checked_at":"2026-04-12T05:11:27.332Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","home-assistant","mqtt","raspberrypi","zigbee","zigbee2mqtt"],"created_at":"2025-01-08T17:30:07.496Z","updated_at":"2026-04-12T05:31:49.426Z","avatar_url":"https://github.com/davidsitt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-home-assistant\n\n* Tried on an Ubuntu 24.04.1 LTS and a Raspberry Pi Bookworm.\n* For ZigBee, I used the [SONOFF TI CC265P](https://sonoff.tech/product/gateway-and-sensors/sonoff-zigbee-3-0-usb-dongle-plus-e/), worked out of the box on both. \n\n\n## Install docker\n\n* Follow : https://docs.docker.com/engine/install/ubuntu/\n\n* On the Pi, I had to add the current user to the docker group\n```usermod -aG docker ${USER}```\n\n## Start the containers\n* ```docker compose up -d```\n\n\n## Add user to the mqtt container\n\n* Login interactively into the mqtt container\n```docker exec -it mqtt sh```\n\n* Add users (it will prompt for password)\n```mosquitto_passwd -c /mosquitto/config/password USER_NAME```\n\n* Update permission for the password file\n```chmod 0700 /mosquitto/config/password```\n\n* Exit \n```exit```\n\n* Restart MQTT container\n```docker restart mqtt```\n\n## Add user to Zigbee2MQTT\n* ```nano zigbee2mqtt/configuration.yaml```\n* Update user and password for MQTT\n* Restart the containers ```docker compose restart```\n\n\n## Add MQTT in Home Assistant\n* Go to http://raspberry.local:8123 or http://XXX.XXX.XXX.XXX:8123\n* Create your home\n* Add integration -\u003e MQTT\n* Enter the connection information\n* Submit\n\n\n## Access Zigbee2MQTT frontend\nhttp://raspberry.local:8080 or http://XXX.XXX.XXX.XXX:8080\n\n\n## Useful commands\n* Show the log of a container ```docker logs zigbee2mqtt```\n* Run a shell in the container ```docker exec -it mqtt sh```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsitt%2Fdocker-home-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidsitt%2Fdocker-home-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsitt%2Fdocker-home-assistant/lists"}