Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nstevens1040/set-thermostat
PowerShell function to change temperature settings on a Honeywell T5-T6 Lyric thermostat.
https://github.com/nstevens1040/set-thermostat
api honeywell lcc lyric powershell resideo temperature-control thermostat windows windows-powershell
Last synced: about 2 months ago
JSON representation
PowerShell function to change temperature settings on a Honeywell T5-T6 Lyric thermostat.
- Host: GitHub
- URL: https://github.com/nstevens1040/set-thermostat
- Owner: nstevens1040
- License: mit
- Created: 2021-08-14T15:29:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-30T22:59:17.000Z (over 3 years ago)
- Last Synced: 2024-11-15T11:08:04.715Z (about 2 months ago)
- Topics: api, honeywell, lcc, lyric, powershell, resideo, temperature-control, thermostat, windows, windows-powershell
- Language: PowerShell
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Set-Thermostat
PowerShell function to change temperature settings on a Honeywell T5-T6 Lyric thermostat.
## Requirements
This script is for Windows PowerShell and will not work on PowerShell Core.
| | |
|-----------------|---------------|
|PSVersion |5.1.19041.1151 |
|PSEdition |Desktop |
|BuildVersion |10.0.19041.1151|
|CLRVersion |4.0.30319.42000|
|WSManStackVersion|3.0 |
## Environment Variables
In order to use this script, you must have these environment variables set. These values are availabe once you register with [Honeywell Home Developer](https://developer.honeywellhome.com/user/register)
- HWAPIKEY = Consumer Key that you are given once you register an app.
- HWCALLBACK = The **URLEncoded** callback url that you set when you register an app.
- HWDEVICE = Your thermostat's device id. Nomenclature is LCC-{Non colon separated thermostat MAC address}.
- HWLOCID = Your location id. This is retrievable via the [https://api.honeywell.com/v2/locations](https://developer.honeywellhome.com/lyric/apis/get/locations) endpoint
- HWPASS = Your **URLEncoded** password to login to [https://developer.honeywellhome.com/](https://developer.honeywellhome.com/)
- HWUSER = Your **URLEncoded** username (email address) to login to [https://developer.honeywellhome.com/](https://developer.honeywellhome.com/)## Installation
Load the script into your current Windows PowerShell session.
```ps1
iex (irm "https://raw.githubusercontent.com/nstevens1040/Set-Thermostat/main/Set-Thermostat.ps1")
```
## Usage
### example
```ps1
Set-Thermostat -CoolSetpoint 69
```