{"id":25120419,"url":"https://github.com/mathcale/standing-desk-alexa-integration","last_synced_at":"2026-05-18T15:36:16.854Z","repository":{"id":192444521,"uuid":"661452114","full_name":"mathcale/standing-desk-alexa-integration","owner":"mathcale","description":"Controlling my standing desk through Alexa, because why not?!","archived":false,"fork":false,"pushed_at":"2023-09-03T19:14:58.000Z","size":523,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T19:09:58.909Z","etag":null,"topics":["alexa","arduino-framework","maker","mqtt","pico-w"],"latest_commit_sha":null,"homepage":"","language":"C++","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/mathcale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"mathcale","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-07-02T22:15:54.000Z","updated_at":"2023-09-03T19:12:36.000Z","dependencies_parsed_at":"2023-09-04T20:03:40.276Z","dependency_job_id":null,"html_url":"https://github.com/mathcale/standing-desk-alexa-integration","commit_stats":null,"previous_names":["mathcale/standing-desk-alexa-integration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mathcale/standing-desk-alexa-integration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fstanding-desk-alexa-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fstanding-desk-alexa-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fstanding-desk-alexa-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fstanding-desk-alexa-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathcale","download_url":"https://codeload.github.com/mathcale/standing-desk-alexa-integration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathcale%2Fstanding-desk-alexa-integration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33183131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["alexa","arduino-framework","maker","mqtt","pico-w"],"created_at":"2025-02-08T05:29:23.797Z","updated_at":"2026-05-18T15:36:16.831Z","avatar_url":"https://github.com/mathcale.png","language":"C++","funding_links":["https://ko-fi.com/mathcale"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD033 MD041 --\u003e\n\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eDIY Alexa-Automated Standing Desk\u003c/h1\u003e\n\u003c/p\u003e\n\n## Why\n\nI LOVE my standing desk, it's been a game changer for my posture and for my setup aesthetics. However, I'm lazy and I don't like having to manually adjust its height. I also love my Echo Dot and I wanted to see if I could make my desk voice-controlled. This project is the result of that.\n\n## How\n\n![Diagram](./docs/diagram.jpg)\n\nIt all starts by invoking the Alexa skill with the \"subir a mesa\" or \"descer a mesa\" intents, which are handled by the native IFTT integration. According to the received instruction, IFTT then sends a message (\"UP\" or \"DOWN\") to the Adafruit IO MQTT broker, whom then publishes the message to a specific topic that the Pico W is subscribed to.\n\nWhen a message is received, the Pico W sends a signal to the corresponding 4n35 optocoupler, which is connected to the desk's pre-programmed up/down buttons. The optocoupler acts as a switch, closing the circuit and triggering the button press.\n\n![Schematics](./docs/schematics.jpg)\n\n## Code\n\nThis project was built using the Pico W [Arduino](https://www.arduino.cc/en/software) Framework integration and the code is available in the `sketch` folder.\n\nIt's pretty straightforward, it just subscribes to the Adafruit IO MQTT broker and listens for messages, after connecting to the specified wifi network. When a message is received, it triggers the corresponding optocoupler.\n\nI haven't tried it yet, but I think it should be pretty easy to make it work on the ESP32/ESP8266, since the code is pretty simple and the Adafruit IO MQTT library is compatible with both.\n\n## BOM\n\n- Pico W;\n- 2x 4n35 Optocoupler;\n- 2x 220Ω Resistor;\n- Jumper wires;\n- Breadboard/proof board;\n- Patience;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathcale%2Fstanding-desk-alexa-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathcale%2Fstanding-desk-alexa-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathcale%2Fstanding-desk-alexa-integration/lists"}