Heiwa WIFI PRO 2

Bonjour,

Mon problème

J’utilise Home Assistant depuis hier et je trouve le projet d’intégration top. Pour tester les différents plugin j’utilise (pour l’instant un container dédié).

J’ai à la maison deux PAC (installation récente de cette année) :

  • Une gainable : Heiwa PRO 2 (avec une télécommande Wifi)
  • Un mono split : Heiwa Essential ZEN + (avec l’option wifi)

Mes deux PAC sont pilotable sur l’application Heiwa clim. Depuis l’application, la remontée des données et les pilotages se font très bien.

Du coup, j’essaie de récupérer les informations des clim depuis HA. Pour cela j’utilise le plugin Gree Climate. L’intégration se passe bien, sauf que j’ai qu’une seul PAC qui est récupérée : le mono split.

Du coup à cela, j’ai investigué en essayant de récupérer le code python du plugin pour essayer de lancer la fonction de découverte du plugin à travers le réseau.
J’ai donc :

Les logs de la commandes :

greeclimate.network - DEBUG - Sending packet:
-> {"t": "scan"}
greeclimate.cipher - DEBUG - Decrypting data: LP24Ek0OaYogxs3iQLjL4AKeCEJsM1ZeUXyrX4sSGNCMa9lM2RqI/KytvJ32IsGSZXrOr+MakVzzXHbghPeyiui/giRwi/22P1NeJSbhyoDt21IYC5nmTB0FSNCtGSQCq+qmiRmaZjpRwuO7Fe5EbtCY3znk/8SUrARpGdUg2fkJPRFZzjLrUDkhvMjz32yVMkOVsFsTAafzePY7qSehbZIhsbG6Ck8X1+GBAEqEtdxSARmdHzsfl0hV7CQKMyULqf7+wHqDf2mz9uzNFv2ejQPpn0gG1yCMDrcqGdH2dZ9jKzbWMRG6ftFbCalgfYcMphjtFkYpY2Dv1B44KKRYoLybZ8FWnX20sgLv9snTMGCsH6bNGMeBkcgCC2vvIqV6
greeclimate.cipher - DEBUG - Decrypted data: {"t":"dev","cid":"xxxxx","bc":"00000000000000000000000000000000","brand":"gree","catalog":"gree","mac":"xxxxxx","mid":"10001","model":"gree","name":"","lock":0,"series":"gree","vender":"1","ver":"V2.0.0","ModelType":"32776","hid":"362001065279+U-WB05RT13V1.23.bin"}
greeclimate.network - DEBUG - Received packet from xxx.xxx.xxx.xxx:
<- {"t": "pack", "i": 1, "uid": 0, "cid": "", "tcid": "", "pack": {"t": "dev", "cid": "xxxxx", "bc": "00000000000000000000000000000000", "brand": "gree", "catalog": "gree", "mac": "9424b8ba8a24", "mid": "10001", "model": "gree", "name": "", "lock": 0, "series": "gree", "vender": "1", "ver": "V2.0.0", "ModelType": "32776", "hid": "362001065279+U-WB05RT13V1.23.bin"}}
greeclimate.discovery - INFO - Found gree device Device: xxxx @ xxx.xxx.xxx.xxx:7000 (mac: xxxx)

On voit bien que le script récupère les informations du mono split. C’est plutôt cohérent avec ce qu’affiche HA. Mais je ne comprends pas trop comment faire pour pouvoir récupérer les informations de mon gainable.

Est-ce que quelqu’un a déjà eu le cas ?

Ma configuration


System Information

version core-2024.11.2
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 3.10.0-1160.95.1.el7.x86_64
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 3
resources 0
views 1
mode storage
Recorder
oldest_recorder_run 21 novembre 2024 à 13:52
current_recorder_run 22 novembre 2024 à 10:38
estimated_db_size 0.85 MiB
database_engine sqlite
database_version 3.45.3
___