{"id":16101506,"url":"https://github.com/mendhak/enviro-influx-chronograf","last_synced_at":"2026-05-17T17:44:31.643Z","repository":{"id":141194678,"uuid":"262623960","full_name":"mendhak/enviro-influx-chronograf","owner":"mendhak","description":"Personal setup for Enviro board with Influx, Chronograf with Docker Compose","archived":false,"fork":false,"pushed_at":"2020-05-10T15:15:39.000Z","size":379,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T18:04:10.827Z","etag":null,"topics":["chronograf","docker","enviro","influx","influxdb","light","raspberry-pi-zero","sound"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mendhak.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-05-09T17:33:00.000Z","updated_at":"2023-09-08T18:07:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8628012-7a85-4c09-b93f-2be32bb3fa0f","html_url":"https://github.com/mendhak/enviro-influx-chronograf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mendhak/enviro-influx-chronograf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fenviro-influx-chronograf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fenviro-influx-chronograf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fenviro-influx-chronograf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fenviro-influx-chronograf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendhak","download_url":"https://codeload.github.com/mendhak/enviro-influx-chronograf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fenviro-influx-chronograf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266409443,"owners_count":23924284,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chronograf","docker","enviro","influx","influxdb","light","raspberry-pi-zero","sound"],"created_at":"2024-10-09T18:50:10.004Z","updated_at":"2026-05-17T17:44:23.676Z","avatar_url":"https://github.com/mendhak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Instructions for Raspberry Pi Zero W\n\n# Initial setup\n\n```\nsudo apt update \u0026\u0026 sudo apt upgrade\nsudo apt install python3-pip\nmkdir -p ~/.local/bin\n```\n\n# Install Docker\n\n```\ncurl -fsSL https://get.docker.com -o get-docker.sh\nchmod +x  get-docker.sh\nsudo ./get-docker.sh\nsudo usermod -aG docker pi\n```\n\nLogout, then log back in.  \n\nTest using an ARM32 v6 Alpine image\n\n```\ndocker run -it --rm arm32v6/alpine:latest /bin/sh\n\n/ # cat /etc/os-release\n```\n\n## Install docker compose\n\n```\npip3 install docker-compose\ndocker-compose --version\n```\n\n\n# Get InfluxDB and Chronograf\n\n\nA docker-compose.yml exists for InfluxDB and Chronograf with ARM32V6 images. \n\nRun it\n\n```\n    cd measurements\n    docker-compose up -d\n```    \n\nWait up to 5 minutes for Influx and Chronograf to come up! \n\nBackup db:\n\n    docker exec -it influxdb influxd backup -portable /backups/\n\nRestore db:\n\n    docker exec -it influxdb influxd restore -portable /backups/\n \n Then browse to http://raspberrypi/ for the Chronograf interface\n\n\n# Set up dependencies\n\nSome missing dependencies first. \n\n```\n# Enviro lib\ncd enviroplus\nsudo ./install.sh\ncd ..\n\n# Influx lib\npip3 install influxdb\n```\n\n\n\n# Run the main sensors script\n\nVia crontab: \n\n```\n@reboot sleep 60 \u0026\u0026 cd /home/pi/enviro-influx-chronograf/measurements \u0026\u0026 python3 everything.py \u0026\n```\n\nManually:\n\n\n```\ncd measurements\npython3 everything.py\n```\n\n\n# Run the pihole stats collection script\n\nVia crontab:\n\n```\n30 * * * * cd /home/pi/enviro-influx-chronograf/measurements \u0026\u0026 python3 piholestats.py \u003e piholestats.log 2\u003e\u00261\n```\n\nManually:\n\n```\ncd measurements\npython3 piholestats.py\n```\n\n# Run the backup scripts\n\nVia crontab:\n\n```\n00 * * * * cd /home/pi/enviro-influx-chronograf/measurements \u0026\u0026 bash backup.sh \u003e backup.log 2\u003e\u00261\n```\n\nManually:\n\n```\ncd measurements\n./backup.sh\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fenviro-influx-chronograf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendhak%2Fenviro-influx-chronograf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fenviro-influx-chronograf/lists"}