Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bouke/icy
ICY / Essent e-thermostaat client in Swift
https://github.com/bouke/icy
Last synced: 3 days ago
JSON representation
ICY / Essent e-thermostaat client in Swift
- Host: GitHub
- URL: https://github.com/bouke/icy
- Owner: Bouke
- License: mit
- Created: 2016-08-31T19:26:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-04T21:05:30.000Z (almost 5 years ago)
- Last Synced: 2024-09-11T22:58:50.758Z (2 months ago)
- Language: Swift
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ICY / Essent e-thermostaat client in Swift
==========================================Swift client library for ICY / Essent thermostats.
**Usage:**
See [my-homekit](https://github.com/Bouke/my-homekit) for an actual implementation.
ICY.login(username: "xxx", password: "xxx") { result in
let session = try! result.unpack()session.getStatus() {
let status = try! result.unpack()print("The current temperature is \(status.currentTemperature)")
print("The target temperature is \(status.desiredTemperature)")
}
}