{"id":17053127,"url":"https://github.com/bschwind/automation-server","last_synced_at":"2025-07-24T20:38:56.056Z","repository":{"id":140636969,"uuid":"52675861","full_name":"bschwind/automation-server","owner":"bschwind","description":"An HTTP API server for controlling my air conditioner and ceiling light.","archived":false,"fork":false,"pushed_at":"2021-11-14T04:22:38.000Z","size":90,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-28T02:02:11.328Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bschwind.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":"2016-02-27T16:24:16.000Z","updated_at":"2023-01-14T02:58:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a678ee5-f733-422e-b418-68327f550bbc","html_url":"https://github.com/bschwind/automation-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bschwind/automation-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fautomation-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fautomation-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fautomation-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fautomation-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bschwind","download_url":"https://codeload.github.com/bschwind/automation-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bschwind%2Fautomation-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263086508,"owners_count":23411728,"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":[],"created_at":"2024-10-14T10:11:24.582Z","updated_at":"2025-07-02T06:33:16.272Z","avatar_url":"https://github.com/bschwind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Automation Server\n=================\n\nAn HTTP API server for controlling my air conditioner and ceiling light.\n\nDependencies\n------------\n- [ir-slinger](https://github.com/bschwind/ir-slinger)\n- NodeJS\n```\n$ sudo apt-get install nodejs\n$ sudo ln -s /usr/bin/nodejs /usr/bin/node\n```\n- npm\n```\n$ sudo apt-get install npm\n$ sudo npm install -g npm\n```\n\nBuild\n-----\n    $ npm install\n\nRun\n---\n\n    $ node app.js\n\nPM2 Startup\n-----------\n\n```\n$ sudo npm install -g pm2\n$ sudo env PATH=$PATH:/usr/local/bin pm2 startup systemd -u pi --hp /home/pi\n$ pm2 start automationServer.json\n$ pm2 save\n```\n\n```\n$ cat /home/pi/automationServer.json\n{\n  \"apps\" : [{\n    \"name\"        : \"automation-server\",\n    \"script\"      : \"server.js\",\n    \"cwd\"         : \"/home/pi/projects/automation-server/\"\n  }]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbschwind%2Fautomation-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbschwind%2Fautomation-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbschwind%2Fautomation-server/lists"}