Im trying to get my Aokol heat pump to the HA, but i couldnt set it up.
Heat pump can work with Gizwits app , and i think there is also modbus option.
Regards,
Marko
Some new findings:
Login to gizwits , with home assistant:
sensor:
- platform: rest
name: aokol_login
scan_interval: 172000
resource: “https://euapi.gizwits.com/app/login”
headers:
Content-Type: application/json
X-Gizwits-Application-Id: “927bb7757be0465d87bc2dd05adbc02e”
method: POST
payload: ‘{ “username”: “xxxxxxx”, “password”: “xxxxxx”, “lang”: “en” }’
value_template: “{{ value_json.token }}”
json_attributes:- uid
- expire_at
List of items at Gizwits:
- platform: rest
name: aokol_bindings
scan_interval: 172000
resource: “https://euapi.gizwits.com/app/bindings?limit=20&skip=0”
headers:
Content-Type: application/json
X-Gizwits-Application-Id: “927bb7757be0465d87bc2dd05adbc02e”
X-Gizwits-User-token: “xxxxxxxx - uid from login xxxxxxx”
method: GET
value_template: “{{ value_json.devices[0].did }}”
json_attributes_path: “$.devices[0]”
json_attributes:- dev_alias
- mac
- host
- did
- product_key
- passcode
- product_name
and then data from heat pump:
- platform: rest
name: aokol_status
resource: https://euapi.gizwits.com/app/devdata/xxxx - did - xxxxx/latest
headers:
Content-Type: application/json
X-Gizwits-Application-Id: “927bb7757be0465d87bc2dd05adbc02e”
method: GET
value_template: “{% if value_json.attr.temp_set > 0%}online{% else %}offline{%endif%}”
json_attributes_path: “$.attr”
json_attributes:- high_pressure
- exhaust_temperature
- power_consumption
- outlet_water_temperature
there is a lot of data…