{"id":15671998,"url":"https://github.com/dacarson/govee-exporter","last_synced_at":"2025-06-21T15:06:07.230Z","repository":{"id":199372711,"uuid":"702740609","full_name":"dacarson/Govee-exporter","owner":"dacarson","description":"Export data from Govee H5074 or H5179 devices to Influxdb","archived":false,"fork":false,"pushed_at":"2023-10-11T14:53:24.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T15:05:58.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dacarson.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":"2023-10-09T23:21:56.000Z","updated_at":"2024-05-02T01:36:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ddaade3-fb81-4576-a24b-03c176e54376","html_url":"https://github.com/dacarson/Govee-exporter","commit_stats":null,"previous_names":["dacarson/govee-exporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dacarson/Govee-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacarson%2FGovee-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacarson%2FGovee-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacarson%2FGovee-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacarson%2FGovee-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dacarson","download_url":"https://codeload.github.com/dacarson/Govee-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacarson%2FGovee-exporter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261143143,"owners_count":23115672,"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-10-03T15:21:27.933Z","updated_at":"2025-06-21T15:06:02.216Z","avatar_url":"https://github.com/dacarson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![Github License](https://img.shields.io/github/license/dacarson/WeatherFlowApi) \n\n# goveelog\n\n## Description\nListen for BTLE broadcast from Govee H5074 or H5179 devices, and publish the data to Influx DB so that it can be graphed with Grafana. To be run as a service.\n\nParsing logic for the two different types of Govee devices is based on [sensor.goveetemp_bt_hci\n](https://github.com/Home-Is-Where-You-Hang-Your-Hack/sensor.goveetemp_bt_hci)\n\nFor each device that it hears broadcasting, decodes the device's temperature, humidity, battery and rssi level and logs it at least once per minute.\n\n## Usage\n```\nusage: goveelog.py [-h] [-r] [--influxdb] [--influxdb_host INFLUXDB_HOST] [--influxdb_port INFLUXDB_PORT] \n                        [--influxdb_user INFLUXDB_USER] [--influxdb_pass INFLUXDB_PASS] [--influxdb_db INFLUXDB_DB] \n                        [-v]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -r, --raw             print json data to stddout\n  --influxdb            publish to influxdb\n  --influxdb_host INFLUXDB_HOST\n                        hostname of InfluxDB HTTP API (default: localhost)\n  --influxdb_port INFLUXDB_PORT\n                        port of InfluxDB HTTP API (default: 8086)\n  --influxdb_user INFLUXDB_USER\n                        InfluxDB username\n  --influxdb_pass INFLUXDB_PASS\n                        InfluxDB password\n  --influxdb_db INFLUXDB_DB\n                        InfluxDB database name (default: govee)\n  -v, --verbose         verbose mode - show threads\n  ````\n\nTo configure a service, create the file `/etc/systemd/system/govee.service` and insert the following information:\n```\n[Unit]\nDescription=Govee Influxdb service\nAfter=network.target\nStartLimitIntervalSec=0\n\n[Service]\nType=simple\nRestart=always\nRestartSec=1\nUser=\u003cuser to run as\u003e\nExecStart=/usr/bin/python3 /full/path/to/goveelog.py --influxdb --influxdb_user \u003cinfuxdb username\u003e --influxdb_pass \u003cinfluxdb password\u003e\n\n[Install]\nWantedBy=multi-user.target\n```\nMake sure to specify the User to run as, the path to goveelog.py and the username and password for influxdb.\n\n\nThen run the command to start the service: `systemctl start govee`.\n\nTo make the service start automatically on boot, run the command `systemctl enable govee`.\n\nAt anytime, check the status of the service with: `systemctl status govee`.\n  \n  ## License\n\nThis content is licensed under [MIT License](https://opensource.org/license/mit/)\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacarson%2Fgovee-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdacarson%2Fgovee-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacarson%2Fgovee-exporter/lists"}