{"id":16379459,"url":"https://github.com/mtoensing/mi2sheet","last_synced_at":"2025-06-13T10:39:57.690Z","repository":{"id":74479246,"uuid":"193141417","full_name":"mtoensing/mi2sheet","owner":"mtoensing","description":"Poll Xiaomi Mijia temperature and humidity data via bluetooth to a Google Spreadsheet","archived":false,"fork":false,"pushed_at":"2019-09-08T11:54:57.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T13:17:14.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/mtoensing.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":"2019-06-21T18:10:46.000Z","updated_at":"2020-10-10T15:42:07.000Z","dependencies_parsed_at":"2023-02-24T07:00:26.887Z","dependency_job_id":null,"html_url":"https://github.com/mtoensing/mi2sheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtoensing/mi2sheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fmi2sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fmi2sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fmi2sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fmi2sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtoensing","download_url":"https://codeload.github.com/mtoensing/mi2sheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fmi2sheet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259628180,"owners_count":22886995,"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-11T03:48:41.350Z","updated_at":"2025-06-13T10:39:57.652Z","avatar_url":"https://github.com/mtoensing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mi2sheet\n\nTutorial in german language: https://marc.tv/raspberry-pi-temperatur-bluetooth-google-spreadsheet/\n\n## Find mac address\n\n`sudo blescan`\n\n## Poll for data\n\nEdit poll.sh and add mac address.\n\n`./poll.sh `\n\n## Poll and write to spreadsheet\n\nEdit pollandwrite.sh and add spreadsheet name. Don't forget to add a client_secret.json\n\n`./pollandwrite.sh `\n\n# Credits\nXiaomi MI Temperature and Humidity Sensor with BLE and LCD\nhttps://github.com/ratcashdev/mitemp\n\nBluetooth LowEnergy wrapper for different python backends.\nhttps://github.com/ChristianKuehnel/btlewrap\n\n# BONUS: mysql\n\n## mysql-config.json\n\n```json\n{\n    \"mysql\":{\n        \"server\":\"ADR\",\n        \"user\":\"USER\",\n        \"password\":\"SECRET!!\",\n        \"db\":\"DB\"\n    }\n}\n```\n\n# BONUS: PiTemp\n\npython3 $DIR/mi2sheet.py writePiTmp \"pi4\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtoensing%2Fmi2sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtoensing%2Fmi2sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtoensing%2Fmi2sheet/lists"}