{"id":18637646,"url":"https://github.com/dutchcoders/nest","last_synced_at":"2025-06-14T04:06:14.031Z","repository":{"id":25426470,"uuid":"28855882","full_name":"dutchcoders/nest","owner":"dutchcoders","description":"Command line interface to Nest","archived":false,"fork":false,"pushed_at":"2015-01-06T09:55:18.000Z","size":132,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T04:05:44.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dutchcoders.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}},"created_at":"2015-01-06T09:20:39.000Z","updated_at":"2024-08-12T19:15:48.000Z","dependencies_parsed_at":"2022-07-26T03:17:16.792Z","dependency_job_id":null,"html_url":"https://github.com/dutchcoders/nest","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dutchcoders/nest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fnest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fnest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fnest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fnest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dutchcoders","download_url":"https://codeload.github.com/dutchcoders/nest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fnest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259756872,"owners_count":22906678,"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-11-07T05:37:15.145Z","updated_at":"2025-06-14T04:06:14.008Z","avatar_url":"https://github.com/dutchcoders.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"nest\n====\nCommand line interface to Nest.\n\n### Build\n```\ngo build -o /usr/local/bin/nest ./main.go\n```\n\n### Install\nDownload release and make it accessible in your path.\n\n### Usage\n\n#### Authorize\n\n```\n\u003e nest\n\nLogin to nest using url: https://home.nest.com/login/oauth2?client_id=7348d6f1-1437-4935-a6e6-2a5567c96036\u0026state=STATE\n\nEnter pincode: #####\n\n```\n\nThe access token will be printed and you can use this as environment variable for value NEST_ACCESS_TOKEN.\n\n#### Show structures\n\n```\n\u003e nest structures\nStructures:\nId:             ##############\nName:           Home\nAway:           home\n```\n\n#### Show thermostats\n\n```\n\u003e nest thermostats\nThermostats:\nId:             ##############\nName:           Family Room\nName(long):     Family Room Thermostat\nTemperature:    20.000000 C\nHumidity:       40.000000\nStatus:         online\n```\n\n#### Get individual thermostat values\n\n```\n\u003e nest --thermostat ### ambient-temperature\n20\n\u003e nest --thermostat ### target-temperature\n20\n\u003e nest --thermostat ### away-temperature-low\n10\n```\n\n#### Set home / away\n\n```\n\u003e nest -structure {structureid} home\nSet to: home\n```\n\n### Shell alias \n\n```\nexport NEST_ACCESS_TOKEN=###\nexport THERMOSTATID=###\nexport STRUCTUREID=###\n\nhome() {\nnest --structure \"$STRUCTUREID\" home\n}\n\naway() {\nnest --structure \"$STRUCTUREID\" away\n}\n\nambient-temperature() {\nnest --thermostat \"$THERMOSTATID\" ambient-temperature\n}\n\ntarget-temperature() {\nnest --thermostat \"$THERMOSTATID\" target-temperature\n}\n\n```\n\n### Bonus\n\n```\nPS1='Current temperature: `nest --thermostat $THERMOSTATID ambient-temperature`:'\n\n```\n\n## Contributions\n\nContributions are welcome.\n\n## Creators\n\n**Remco Verhoef**\n- \u003chttps://twitter.com/remco_verhoef\u003e\n- \u003chttps://twitter.com/dutchcoders\u003e\n\n## Copyright and license\n\nCode and documentation copyright 2011-2014 Remco Verhoef.\nCode released under [the MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcoders%2Fnest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdutchcoders%2Fnest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcoders%2Fnest/lists"}