{"id":19987633,"url":"https://github.com/raederdev/iot-display","last_synced_at":"2025-05-04T08:31:32.956Z","repository":{"id":138449613,"uuid":"497431959","full_name":"RaederDev/iot-display","owner":"RaederDev","description":"Raspberry Pi dashboard","archived":false,"fork":false,"pushed_at":"2024-04-11T21:24:16.000Z","size":1962,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T16:01:45.596Z","etag":null,"topics":["iot-device","linux","nextjs","raspberry-pi","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RaederDev.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}},"created_at":"2022-05-28T21:34:23.000Z","updated_at":"2023-07-31T05:13:08.000Z","dependencies_parsed_at":"2024-04-08T20:09:50.928Z","dependency_job_id":null,"html_url":"https://github.com/RaederDev/iot-display","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaederDev%2Fiot-display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaederDev%2Fiot-display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaederDev%2Fiot-display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaederDev%2Fiot-display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaederDev","download_url":"https://codeload.github.com/RaederDev/iot-display/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252308007,"owners_count":21727107,"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":["iot-device","linux","nextjs","raspberry-pi","react"],"created_at":"2024-11-13T04:37:32.017Z","updated_at":"2025-05-04T08:31:28.926Z","avatar_url":"https://github.com/RaederDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi dashboard\n\n\u003cimg src=\"github/screenshot.jpg\" height=\"700px\" alt=\"Dashboard in action\"/\u003e\n\n## Requirements\n - Raspberry Pi or similar board\n - Screen (1024x600)\n - Internet connection\n - Open Weather API key\n\n## Recommended\n - EP-0106 Sensor Hub Development board\n\n## Setup server\n\nIf you have an EP-0106 Sensor Hub board attached make sure to enable I2C in the raspi-config\ninterface options before proceeding.\n\nMake sure you have git, nodejs and systemd installed before starting the setup process.  \n\nDownload and execute the setup script. This will create a new user, clone the project,\nbuild the server and install a systemd startup task to launch the server on boot.\n\n```bash\nwget https://raw.githubusercontent.com/RaederDev/iot-display/main/bin/setup.sh \u0026\u0026 chmod +x setup.sh\nsudo ./setup.sh\n```\n\nAfter setup was completed you need to edit the config file to add your own API keys and other config:\n```bash\nvi /opt/iot-display/config/config.json\n```\n\nAftwards enable and start the server:\n```bash\nsystemctl enable iot-display \u0026\u0026 systemctl start iot-display\n```\n\n## Setup Human monitoring service\n\nIf you have an EP-0106 Sensor Hub Development board connected you can automatically turn on your screen when human\nactivity is detected in the room.\n\nReplace YOUR_USER_THAT_STARTS_X11 with the user you use to log-into your DE.\nPlease note that the user must be in the i2c group to access sensor data.\n```bash\nsystemctl enable iot-human-monitoring@YOUR_USER_THAT_STARTS_X11\nsystemctl start iot-human-monitoring@YOUR_USER_THAT_STARTS_X11\n```\n\n## Setup client\n\nThe project contains a desktop file and script to launch chromium in kiosk mode.\nStarting this script on boot is dependent on what DE you use so please refer to their documentation for that.\n\n\nYou can find the script and setup process in your installation path:\n```bash\n/opt/iot-display/bin/launch-browser.js\n/opt/iot-display/bin/system/iot-display-kiosk.desktop\n```\n\n## Updating project\n\nIf you want to update the project to the newest version execute the update script and restart the service.\n```bash\nsudo -u display /opt/iot-display/bin/update-server.sh\nsudo systemctl restart iot-display\n```\n\n## Finding stop and diva IDs\nYou can use this tool (not affiliated with the project), to easily find WL stop and diva IDs for your config file:\n  \nhttps://till.mabe.at/rbl/\n\n## Credits\n\nWiener Linien real time data API:  \nDatenquelle: Stadt Wien - https://data.wien.gv.at\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraederdev%2Fiot-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraederdev%2Fiot-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraederdev%2Fiot-display/lists"}