{"id":13580274,"url":"https://github.com/klutchell/balena-homeassistant","last_synced_at":"2025-04-06T13:41:49.590Z","repository":{"id":37080981,"uuid":"244247456","full_name":"klutchell/balena-homeassistant","owner":"klutchell","description":"homeassistant stack for balenaCloud","archived":false,"fork":false,"pushed_at":"2025-03-31T05:11:00.000Z","size":1263,"stargazers_count":20,"open_issues_count":1,"forks_count":16,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T05:23:44.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klutchell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-03-02T00:36:09.000Z","updated_at":"2025-03-31T05:11:03.000Z","dependencies_parsed_at":"2023-10-12T07:35:01.800Z","dependency_job_id":"d0ac5821-2bd4-4555-a332-f0da796a4d22","html_url":"https://github.com/klutchell/balena-homeassistant","commit_stats":null,"previous_names":[],"tags_count":639,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-homeassistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-homeassistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-homeassistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-homeassistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klutchell","download_url":"https://codeload.github.com/klutchell/balena-homeassistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492460,"owners_count":20947541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T15:01:49.350Z","updated_at":"2025-04-06T13:41:49.570Z","avatar_url":"https://github.com/klutchell.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# balena-homeassistant\n\n[Home Assistant](https://www.home-assistant.io/) - Open source home automation that puts local control and privacy first.\n\n## Getting Started\n\nYou can one-click-deploy this project to balena using the button below:\n\n[![deploy with balena](https://balena.io/deploy.svg)](https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/klutchell/balena-homeassistant)\n\n## Manual Deployment\n\nAlternatively, deployment can be carried out by manually creating a [balenaCloud account](https://dashboard.balena-cloud.com) and application,\nflashing a device, downloading the project and pushing it via the [balena CLI](https://github.com/balena-io/balena-cli).\n\n### Application Environment Variables\n\nApplication envionment variables apply to all services within the application, and can be applied fleet-wide to apply to multiple devices.\n\n| Name           | Description                                                                                                       |\n| -------------- | ----------------------------------------------------------------------------------------------------------------- |\n| `TZ`           | Inform services of the [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) in your location. |\n| `SET_HOSTNAME` | Set a custom hostname on application start. Default is `homeassistant`.                                           |\n\n## Usage\n\nOnce your device joins the fleet you'll need to allow some time for it to download the various services.\n\nWhen it's done you should be able to access the access the app at \u003chttp://homeassistant.local\u003e.\n\nDocumentation for Home Assistant can be found at \u003chttps://www.home-assistant.io/docs/\u003e.\n\n### Services\n\n#### esphome\n\n[ESPhome](https://esphome.io/index.html) is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.\n\nThe dashboard is running on port 6052.\n\n#### code-server\n\n[Code server](https://hub.docker.com/r/codercom/code-server) is running on port 9000 for editing YAML files directly.\n\n#### mqtt\n\n[Mosquitto](https://mosquitto.org/) is an MQTT broker for Home Assistant listening on port 1883.\n\n#### zigbee2mqtt\n\n[Zigbee2MQTT](https://www.zigbee2mqtt.io/) supports various Zigbee adapters and the Web UI is on port 7000.\n\n#### frigate\n\n[Frigate](https://docs.frigate.video/) is a complete and local NVR designed for Home Assistant with AI object detection. The Web UI is on port 5000.\n\n#### wyze-bridge\n\nDocker container to expose a local RTMP, RTSP, and HLS or Low-Latency HLS stream for ALL your Wyze cameras including the outdoor and doorbell cams. No third-party or special firmware required.\n\n\u003chttps://github.com/mrlt8/docker-wyze-bridge\u003e\n\n#### influxdb \u0026 grafana\n\nYou may optionally duplicate the Home Assistant sensor data to an\ninflux database and generate graphs in the Grafana dashboard.\n\nStart by opening a terminal to the `influxdb` service and creating\na database and user credentials.\n\n```bash\ninflux\n\ncreate database homeassistant\nshow databases\n\ncreate user homeassistant with password 'homeassistant'\nshow users\n\ngrant all on homeassistant to homeassistant\nexit\n```\n\nThen the following block to your Home Assistant configuration.yml to\ntransfer all state changes to an external InfluxDB database\n\n```yaml\n# https://www.home-assistant.io/integrations/influxdb/\ninfluxdb:\n  host: influxdb\n  port: 8086\n  database: homeassistant\n  username: !secret influxdb_user\n  password: !secret influxdb_password\n  max_retries: 3\n  include:\n    domains:\n      - sensor\n```\n\nThe Grafana dashboard should be available at \u003chttp://homeassistant.local:3000\u003e and the default credentials are `admin/admin`.\n\n#### duplicati\n\nStore securely encrypted backups on cloud storage services!\n\n\u003chttps://github.com/duplicati/duplicati\u003e via \u003chttps://docs.linuxserver.io/images/docker-duplicati\u003e\n\nThe dashboard should be available at \u003chttp://homeassistant.local:8200\u003e.\n\n#### hostname\n\nAn utility block to set the hostname of devices running balenaOS.\n\nThis service is expected to remain in the `stopped` state after applying changes.\n\n\u003chttps://github.com/balenablocks/hostname\u003e\n\n#### tailscale\n\nAdd your device to your [Tailscale](https://tailscale.com/) network with this block!\n\n\u003chttps://github.com/klutchell/balena-tailscale\u003e\n\n#### netdata\n\nNetdata is high-fidelity infrastructure monitoring and troubleshooting.\nOpen-source, free, preconfigured, opinionated, and always real-time.\n\n\u003chttps://github.com/netdata/netdata\u003e\n\nThe dashboard should be available at \u003chttp://homeassistant.local:19999\u003e.\n\n## Contributing\n\nPlease open an issue or submit a pull request with any features, fixes, or changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklutchell%2Fbalena-homeassistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklutchell%2Fbalena-homeassistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklutchell%2Fbalena-homeassistant/lists"}