{"id":18708854,"url":"https://github.com/igorkulman/rpi-thermometer","last_synced_at":"2025-06-30T23:04:08.541Z","repository":{"id":145188384,"uuid":"14990312","full_name":"igorkulman/rpi-thermometer","owner":"igorkulman","description":"WebUI for a Raspberry Pi thermometer","archived":false,"fork":false,"pushed_at":"2017-10-08T11:54:49.000Z","size":307,"stargazers_count":49,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T10:55:37.109Z","etag":null,"topics":["javascript","raspberry-pi","raspberry-pi-thermometer","sensor","temperature","thermometer","webui"],"latest_commit_sha":null,"homepage":null,"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/igorkulman.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":"2013-12-06T18:33:59.000Z","updated_at":"2024-12-12T14:41:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"19f23060-74a5-474b-9ce8-3ccc006ef788","html_url":"https://github.com/igorkulman/rpi-thermometer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igorkulman/rpi-thermometer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Frpi-thermometer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Frpi-thermometer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Frpi-thermometer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Frpi-thermometer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorkulman","download_url":"https://codeload.github.com/igorkulman/rpi-thermometer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Frpi-thermometer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262864118,"owners_count":23376455,"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":["javascript","raspberry-pi","raspberry-pi-thermometer","sensor","temperature","thermometer","webui"],"created_at":"2024-11-07T12:25:27.653Z","updated_at":"2025-06-30T23:04:08.517Z","avatar_url":"https://github.com/igorkulman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"WebUI for a Raspberry Pi thermometer \n===============\n\nWebUI for a Raspberry Pi thermometer writen in Node.js, measurring the temperature in the room.\n\n![Raspberry Pi with the sensor](https://github.com/igorkulman/rpi-thermometer/raw/readme/rpib.png)\n\n### Hardware\n\n* Raspberry Pi\n* DS18B20 temperature sensor\n* RRU 4K7 resistor\n\n### Software\n\n* RaspBMC or Raspbian\n* Node.js\n\n### Drivers\n\n* w1-gpio\n* w1-therm\n\n### Thermometer usage\n\nFirst, load the drivers\n\n```bash\nsudo modprobe w1-gpio  \nsudo modprobe w1-therm\n```\n\nthen determine the device id of your sensor (28-000004e23e98 in my case) \n\n```bash\nls /sys/bus/w1/devices/   \n```\n\nopen config.json and set the deviceId variable to your device id\n\n```javascript\nvar deviceId=\"28-000004e23e98\";\n```\n\nand run the server\n\n```bash\nnode server.js\n```\n\n![Raspberry Pi temperature](https://github.com/igorkulman/rpi-thermometer/raw/readme/rpi.png)\n\n### Recording and showing temperature\n\nYou can use the `/measure` endpoint to measure the current temperature and automatically write it to a sqlite3 db file. I suggest you add it to cron.\n\nIf you want to see the recorder temeprature chart, visist the `/history` endpoint.\n\n![Raspbery Pi temperature history](https://github.com/igorkulman/rpi-thermometer/raw/readme/rpitemp.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorkulman%2Frpi-thermometer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorkulman%2Frpi-thermometer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorkulman%2Frpi-thermometer/lists"}