{"id":15132826,"url":"https://github.com/marosiak/standingdesknotifier","last_synced_at":"2025-04-05T21:45:14.225Z","repository":{"id":253140132,"uuid":"841700409","full_name":"marosiak/StandingDeskNotifier","owner":"marosiak","description":"Standing Desk Notifier - Automate Your Health Habits with Raspberry Pi","archived":false,"fork":false,"pushed_at":"2024-08-16T22:06:58.000Z","size":2955,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T21:45:07.384Z","etag":null,"topics":["ergonomics","raspberry-pi","standing-desk"],"latest_commit_sha":null,"homepage":"","language":"Go","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/marosiak.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":"2024-08-12T22:39:54.000Z","updated_at":"2024-08-16T22:07:01.000Z","dependencies_parsed_at":"2024-12-19T04:32:10.937Z","dependency_job_id":"434642bd-95ca-4f5e-9553-8e47c4a62c34","html_url":"https://github.com/marosiak/StandingDeskNotifier","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"6885b7b825577987d8ab2d10fc25a46d86e42440"},"previous_names":["marosiak/standingdesknotifier"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marosiak%2FStandingDeskNotifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marosiak%2FStandingDeskNotifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marosiak%2FStandingDeskNotifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marosiak%2FStandingDeskNotifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marosiak","download_url":"https://codeload.github.com/marosiak/StandingDeskNotifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406070,"owners_count":20933802,"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":["ergonomics","raspberry-pi","standing-desk"],"created_at":"2024-09-26T04:40:37.609Z","updated_at":"2025-04-05T21:45:14.194Z","avatar_url":"https://github.com/marosiak.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏋️‍♂️ Standing Desk Notifier\nBought a standing desk just to sit in front of it like it’s a regular desk? Guilty as charged? 😅 No worries! I’ve got your back (literally). Let’s get those glutes off the chair with this nifty little notifier that *politely* insists you stand up. \n\n\u003cimg src=\"https://github.com/user-attachments/assets/29d9495a-49a8-494e-a36b-cd556d98ae97\" height=\"350\"\u003e\n\n\n## How It Works: A User’s Tale 🎢\n\n1. **You're sitting**... comfortably.\n2. **You're still sitting**... and getting *way* too cozy.\n3. **You hear a soft \"beep beep\"**... just a gentle nudge.\n4. **You ignore it**... it’s just a beep, right?\n5. **40 seconds later**... BEEP BEEP BEEP! Every 3 seconds! 🔊 \n6. **You surrender**... reluctantly raise your desk, stand up, and bask in the sweet sound of silence.\n7. **1 minute later**... you’re tired already? Seriously?\n8. **You sit back down**... but wait...\n9. **BEEP BEEP BEEP**... Time to stand up again, buddy! 14 more minutes, you can do it! 💪\n\n## 🛠️ Hardware\nKeeping it simple and straightforward, here’s what you’ll need:\n1. **Raspberry Pi Zero** (with Raspbian and charging cable, of course).\n2. **HC-SR04** - The trusty ultrasonic sensor measuring the distance from desk to floor.\n3. **Active Buzzer** - The source of your new productivity (and maybe a bit of frustration).\n4. **1x resistor 2.7k or 2.2k**\n5. **1x resistor 4.7k**\n\n## 🛠️ Hardware installation\n// TODO\n\nYou will need to modify HC-SR04 in order to work with 3.3v\n\n**Tutorial**: https://www.instructables.com/Modify-Ultrasonic-Sensors-for-3-Volts-Logic-prepar/\n\n## 💰 Hardware Prices\n1. **Amazon.com**: ~ $27.50\n2. **Botland.pl**: ~ $19.68 (~ 74 PLN)\n\n## 🚀 Installation\nIt’s as easy as running `chmod +x install.sh \u0026\u0026 ./install.sh`. The script does all the heavy lifting. Once it’s done, it’ll drop a few logs telling you where it stashed the goodies—like the binary and your shiny new `config.json`.\n\n## 🔧 Configuration\nYour `config.json` is where the magic happens. You can edit it on the fly while the app is running, but remember, changes will take about 10 minutes to kick in. If patience isn’t your virtue, just restart the app after tweaking the config.\n```json\n{\n  \"range_sensor_trigger_pin\": 5,\n  \"range_sensor_echo_pin\": 6,\n  \"buzzer_pin\": 7,\n\n  \"desk_bottom_position\": 50.5,\n  \"desk_top_position\": 120.0,\n\n  \"duration_to_stand\": \"15m\",\n  \"duration_to_sit\": \"1h\",\n  \"notify_to_sit\": true,\n\n  \"http_server_enabled\":true,\n  \"auto_refresh_page_delay_ms\":1000,\n}\n```\n\n\u003cimg src=\"https://github.com/user-attachments/assets/8f90d743-a9dc-43ec-8b46-75ef9ae85fce\" height=\"250\"\u003e\n\u003cimg src=\"https://github.com/user-attachments/assets/00469d41-2820-412c-bbdb-40e0f8a0f56f\" height=\"250\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarosiak%2Fstandingdesknotifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarosiak%2Fstandingdesknotifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarosiak%2Fstandingdesknotifier/lists"}