Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```