This projects provides CLI and API to communicate with daikin aircondition units. It is based on java 11 and micronaut.
- common/basic_info
- aircon/get_control_info
- aircon/get_sensor_info
- aircon/get_week_power
- aircon/get_monitordata
To get all available options use
./gradlew run --args="--help"
./gradlew run --args="-d"
will print ip addresses of all discovered devices
./gradlew run --args="-g"
will print the rawdata received by all available endpoints for all discovered devices
To execute for only one device pass the address/hostname of the device.
For integration use chpro.daikin.api.client.ClientService
the methods will call the desired endpoint and
return a chpro.daikin.api.client.data.RawData
object.
For each available field in the response you can either get the raw value the decoded value or if it is a number the parsed number.
The information how a field needs to be handled is configured via chpro.daikin.api.client.data.FieldInfo
.
There is an enum chpro.daikin.api.client.data.Field
which contains already most common field configurations.