https://github.com/samthor/daikin-go
Raw interface to Daikin AC units with WiFi dongles
https://github.com/samthor/daikin-go
automation daikin
Last synced: 5 months ago
JSON representation
Raw interface to Daikin AC units with WiFi dongles
- Host: GitHub
- URL: https://github.com/samthor/daikin-go
- Owner: samthor
- License: apache-2.0
- Created: 2018-02-06T08:17:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T07:35:12.000Z (over 4 years ago)
- Last Synced: 2024-10-13T07:48:04.472Z (7 months ago)
- Topics: automation, daikin
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Raw interface to Daikin AC units.
Provides discovery service (via UDP multicast) and direct API access (via HTTP GET/POST).Method descriptions can be found [here](https://github.com/ael-code/daikin-control/wiki/API-System), or elsewhere online.
## Sample
Run `logger.go` or `broadcast.go` for simple demos.
Or, to dial a specific URL and get its sensor info:
```go
package mainimport (
"log"
daikin "github.com/samthor/daikin-go/api"
)func main() {
values, err := daikin.Get("192.168.1.155", "aircon/get_sensor_info")
if err != nil {
log.Fatal(err)
}
log.Printf("values: %+v", values)
}
```