{"id":13586600,"url":"https://github.com/bolausson/SensorPush","last_synced_at":"2025-04-07T18:34:16.818Z","repository":{"id":186578151,"uuid":"201665413","full_name":"bolausson/SensorPush","owner":"bolausson","description":"Use the SensorPush API to save temperature, humidity, dewpoint, barometric pressure, altitude and VPD data to a local InfluxDB database","archived":false,"fork":false,"pushed_at":"2024-02-11T09:51:01.000Z","size":6720,"stargazers_count":15,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-02-14T21:38:23.125Z","etag":null,"topics":["g1-wifi-gateway","humidity","influxdb","sensorpush","temperature"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bolausson.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":"2019-08-10T18:00:43.000Z","updated_at":"2024-08-01T16:32:37.849Z","dependencies_parsed_at":null,"dependency_job_id":"e93461a0-363f-4bc1-8d9c-605d8914579e","html_url":"https://github.com/bolausson/SensorPush","commit_stats":null,"previous_names":["bolausson/sensorpush"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolausson%2FSensorPush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolausson%2FSensorPush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolausson%2FSensorPush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolausson%2FSensorPush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bolausson","download_url":"https://codeload.github.com/bolausson/SensorPush/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223290114,"owners_count":17120846,"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":["g1-wifi-gateway","humidity","influxdb","sensorpush","temperature"],"created_at":"2024-08-01T15:05:40.486Z","updated_at":"2024-11-06T05:30:21.787Z","avatar_url":"https://github.com/bolausson.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# SensorPush\n[SensorPush](http://www.sensorpush.com/) recently introduced a [API](http://www.sensorpush.com/api/docs) to query the temperature and humidity samples recorded by their smart sensors via G1 WIFI GATEWAY - As long as the API is in beta stage, you have to contact support to get access!\n\nThis Python 3 tool can query the API and save the temperature and humidity time series to InfluxDB so it can easily be plotted with Grafana.\n\nIf you don't have an G1 WIFI Gateway and still want to plot your temperature, you can us another little tool I wrote to feed the CSV file which you can export via the Android App to InfluxDB.\n\n![Grafana](https://github.com/bolausson/SensorPush/blob/master/SensorPush-Grafana-InfluxDB.png?raw=true)\n\n\n## API query\n```\n# sensorpush.py --help\nusage: sensorpush.py [-h] [-s STARTTIME] [-p STOPTIME] [-b BACKLOG]\n                     [-t TIMESTEP] [-q QLIMIT] [-d DELAY] [-l] [-g]\n                     [-i SENSORLIST [SENSORLIST ...]] [-n] [-x]\n\nQueries SensorPus API and stores the temp and humidity readings in InfluxDB\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -s STARTTIME, --start STARTTIME\n                        start query at time (e.g. \"2019-07-25T00:10:41+0200\")\n  -p STOPTIME, --stop STOPTIME\n                        Stop query at time (e.g. \"2019-07-26T00:10:41+0200\")\n  -b BACKLOG, --backlog BACKLOG\n                        Historical data to fetch (default 1 day) - time can be\n                        specified in the format \u003cnumber\u003e[m|h|d|w|M|Y]. E.g.:\n                        10 Minutes = 10m, 1 day = 1d, 1 month = 1M\n  -t TIMESTEP, --timestep TIMESTEP\n                        Time slice per query (in minutes) to fetch (default\n                        720 minutes [12 h])\n  -q QLIMIT, --querylimit QLIMIT\n                        Number of samples to return per sensor (default unset\n                        = API default limimt [10])\n  -d DELAY, --delay DELAY\n                        Delay in seconds between queries\n  -l, --listsensors     Show a list of sensors and exit\n  -g, --listgateways    Show a list of gateways and exit\n  -i SENSORLIST [SENSORLIST ...], --sensorlist SENSORLIST [SENSORLIST ...]\n                        List of sensor IDs to query\n  -n, --noconvert       Do not convert °F to °C, inHG to mBar, kPa to mBar and feet\n                        to meters\n  -x, --dryrun          Do not write anything to the database, just print what\n                        would have been written\n```                        \n\n## CSV import\n```\n# sensorpush_csv-import.py --help\nusage: sensorpush_csv-import.py [-h] [-f CSVFILE] [-s SENSORNAME]\n                                [-i SENSORID] [-d] [-c CHUNKS]\n\nReads a CSV file exported from the SensorPush Android App and stores the temp\nand humidity readings in InfluxDB\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -f CSVFILE, --csvfile CSVFILE\n                        CSV file exported from the SensorPush Android App\n  -s SENSORNAME, --sensorname SENSORNAME\n                        Sensor name\n  -i SENSORID, --sensorid SENSORID\n                        Sensor id\n  -d, --dryrun          Do not write anything to InfluxDB - just print what\n                        would have been written\n  -c CHUNKS, --chunks CHUNKS\n                        Write data in chunks to InfluxDB to not overload e.g.\n                        a RaspberryPi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolausson%2FSensorPush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbolausson%2FSensorPush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolausson%2FSensorPush/lists"}