Integration Aokol heat pump / working via Gizwits app or modbus

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…

I was trying to do the same , did you make it run ?
How did you get the X-Gizwits-Application-Id ?
Any help wellcome. looks your one is not working with my setup.
if I tray to connect (login) with Postman I get:
{
“error_message”: “user does not exist!”,
“error_code”: 9005,
“detail_message”: null
}

OK solved just mixed up the tokens …

Did you get anywhere with this or the Modbus interface?

I made it run with the Gizwits cloud, works quite OK .
I have written some homeassitant scripts to control it via climate integration …
It works quite well , but having sometime a latency for update. Next will be modbus interface :wink: