{"id":16018004,"url":"https://github.com/maxjoehnk/dashdown","last_synced_at":"2025-07-23T00:07:36.411Z","repository":{"id":47152142,"uuid":"90410670","full_name":"maxjoehnk/dashdown","owner":"maxjoehnk","description":"A small tool to shutdown multiple things on the press of an amazon-dash-button","archived":false,"fork":false,"pushed_at":"2025-07-13T09:47:28.000Z","size":476,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T00:46:39.788Z","etag":null,"topics":["amazon-dash-button","cec","nodejs","philips-hue","yamaha-avr"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/maxjoehnk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-05T19:40:00.000Z","updated_at":"2020-01-20T19:53:14.000Z","dependencies_parsed_at":"2023-12-01T15:26:37.322Z","dependency_job_id":"cd4f17f3-5982-451b-b5c9-98769bec4620","html_url":"https://github.com/maxjoehnk/dashdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxjoehnk/dashdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjoehnk%2Fdashdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjoehnk%2Fdashdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjoehnk%2Fdashdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjoehnk%2Fdashdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxjoehnk","download_url":"https://codeload.github.com/maxjoehnk/dashdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxjoehnk%2Fdashdown/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266592265,"owners_count":23953109,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["amazon-dash-button","cec","nodejs","philips-hue","yamaha-avr"],"created_at":"2024-10-08T16:24:30.024Z","updated_at":"2025-07-23T00:07:36.381Z","avatar_url":"https://github.com/maxjoehnk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dashdown\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/maxjoehnk/dashdown.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/maxjoehnk/dashdown.svg?branch=master)](https://travis-ci.org/maxjoehnk/dashdown)\n\n```dashdown``` is a small tool to shutdown multiple things on the press of an amazon-dash-button.\nRight now it supports:\n- yamaha-avr's\n- philips-hue\n- HDMI CEC over libcec\n\n## Usage\n__1. Clone the Repo__\n\n```bash\ngit clone https://github.com/maxjoehnk/dashdown.git\n```\n\n__2. Install dependencies__\n\n```bash\nnpm i\n```\n\n__3. Search for your Dash Button__\n\nTo do this you can use the ```findbutton``` script provided by ```node-dash-button```:\n```bash\nsudo npx findbutton\n```\nNow press your dash-button and add the listed address to your config file.\n\n__4. Configure targets__\n\nAdd the addresses of the targets you wanna shutdown to the config file.\nYou don't need to add the username field for the philips-hue, this will be auto populated when you first start ```dashdown```\n\n__5. Connect Hue Bridge (optional)__\n\nWhen you wanna connect to a hue bridge press the connect button on your bridge before starting ```dashdown```. When the message ```Setup Complete``` appears the hue.username field of your config should be populated.\n\n__6. Start ```dashdown```__\n\n```bash\nnpm start\n```\nThis may fail with a message like ```Error: (cannot open BPF device) /dev/bpf0: Permission denied```.\nTo solve this run dashdown as an administrator\n```bash\nsudo npm start\n```\n\n## Configuration\n```json\n{\n    \"avr\": \"\u003cip address of the avr\u003e\",\n    \"dash\": \"\u003cmac address of the dash button\u003e\",\n    \"hue\": {\n        \"ip\": \"\u003cip address of the hue bridge\u003e\",\n        \"username\": \"\u003cbridge username\u003e\"\n    },\n    \"cec\": \"\u003chdmi address of the device to turn off\u003e\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxjoehnk%2Fdashdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxjoehnk%2Fdashdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxjoehnk%2Fdashdown/lists"}