{"id":20236046,"url":"https://github.com/seotaro/rpi-sensor-experiment","last_synced_at":"2026-04-22T16:35:26.393Z","repository":{"id":63304918,"uuid":"409269438","full_name":"seotaro/rpi-sensor-experiment","owner":"seotaro","description":"ラズパイでセンサーの値を取得する","archived":false,"fork":false,"pushed_at":"2023-11-17T17:07:40.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T12:46:04.977Z","etag":null,"topics":["bme280","ds18b20","nature-remo","raspberry-pi","scd4x","sht31"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/seotaro.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}},"created_at":"2021-09-22T16:03:23.000Z","updated_at":"2023-10-10T15:20:19.000Z","dependencies_parsed_at":"2023-12-11T06:33:51.148Z","dependency_job_id":"1aa2ca89-bdfe-4be4-a0be-e99d7881cc7a","html_url":"https://github.com/seotaro/rpi-sensor-experiment","commit_stats":null,"previous_names":["seotaro/rpi-sensor-experiment","seotaro/rpi-sensor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seotaro/rpi-sensor-experiment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seotaro%2Frpi-sensor-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seotaro%2Frpi-sensor-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seotaro%2Frpi-sensor-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seotaro%2Frpi-sensor-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seotaro","download_url":"https://codeload.github.com/seotaro/rpi-sensor-experiment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seotaro%2Frpi-sensor-experiment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32145868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bme280","ds18b20","nature-remo","raspberry-pi","scd4x","sht31"],"created_at":"2024-11-14T08:18:55.232Z","updated_at":"2026-04-22T16:35:21.380Z","avatar_url":"https://github.com/seotaro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ラズパイでセンサーの値を取得する\n\n## インストール\n\n```bash\nyarn install\n```\n\n## 設定\n\nカレントディレクトリの .env に定義する。\n\n|  項目  |  値  |  意味  |\n| ---- | ---- | ---- |\n|  INTERVAL  |  整数  |  取得間隔 [ms]  |\n|  BME280  |  on\\|off  |  BME280 から取得する\\|しない  |\n|  SHT31  |  on\\|off  |  SHT31 から取得する\\|しない  |\n|  DS18B20  |  on\\|off  |  DS18B20 から取得する\\|しない  |\n|  SCD4x  |  on\\|off  |  SCD4x から取得する\\|しない  |\n|  NatureRemo  |  on\\|off  |  NatureRemo から取得する\\|しない  |\n|  NatureRemoToken  |  文字列  |  API のトークン  |\n\n.env 例）\n\n```text\nINTERVAL=60000\n\nDS18B20=on\nSHT31=on\nBME280=on\nSCD4X=on\n\nNatureRemo=on\nNatureRemoToken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n\n## 実行\n\n```bash\nnode index.js\n```\n\n## その他\n\nI2C デバイスの確認\n\n```bash\nsudo apt install i2c-tools\ni2cdetect -y 1\n```\n\n## 参考\n\n- BME280\n  - [data sheet](https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf)\n- DS18B20\n  - [data sheet](https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf)\n- Nature Remo\n  - [NATURE](https://nature.global/)\n  - [Nature Remo Cloud API](https://developer.nature.global/)\n- SHT31\n  - [data sheet](https://sensirion.com/media/documents/213E6A3B/61641DC3/Sensirion_Humidity_Sensors_SHT3x_Datasheet_digital.pdf)\n- SCD4X\n  - [data sheet](https://d2air1d4eqhwg2.cloudfront.net/media/files/262fda6e-3a57-4326-b93d-a9d627defdc4.pdf)\n  - [Sensirion/raspberry-pi-i2c-scd4x](https://github.com/Sensirion/raspberry-pi-i2c-scd4x#connecting-the-sensor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseotaro%2Frpi-sensor-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseotaro%2Frpi-sensor-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseotaro%2Frpi-sensor-experiment/lists"}