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: 3 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T07:35:12.000Z (over 5 years ago)
- Last Synced: 2025-03-31T10:11:14.852Z (about 1 year ago)
- Topics: automation, daikin
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
(This is deprecated / old - look at https://github.com/samthor/daikinac now!)
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 main
import (
"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)
}
```