sdamasoc / domoticz_panasonic_CZ-TACG1

A Python plugin for Domoticz to communicate with Panasonic Cloud Confort throught CZ-TACG1 WiFi adapter
MIT License
8 stars 1 forks source link

New issue but used to work ? #2

Closed MikeZMssl closed 2 years ago

MikeZMssl commented 2 years ago

Hi Sergio,

All wordked shortly but suddenly got a new error Would you be able to see what's wrong?

Many tnx

2021-09-26 19:22:50.164 Airco: (Airco) ----> '_plugin' '<plugin.PanasonicCZTACG1Plugin object at 0xffff842e6d90>' 2021-09-26 19:22:50.164 Airco: (Airco) ----> 'api_version' '1.12.0' 2021-09-26 19:22:50.164 Airco: (Airco) ----> 'json' '<module 'json' from '/usr/lib/python3.8/json/init.py'>' 2021-09-26 19:22:50.164 Airco: (Airco) ----> 'requests' '<module 'requests' from '/usr/local/lib/python3.8/dist-packages/requests/init.py'>' 2021-09-26 19:22:50.164 Airco: (Airco) ----> 'token' 'None' 2021-09-26 19:22:50.163 Error: Airco: (Airco) 'onHeartbeat' failed 'KeyError'. 2021-09-26 19:22:50.163 Error: Airco: (Airco) ----> Line 253 in '/config/plugins/domoticz_panasonic_CZ-TACG1/plugin.py' 2021-09-26 19:22:50.163 Error: Airco: (Airco) ----> Line 174 in '/config/plugins/domoticz_panasonic_CZ-TACG1/plugin.py' 2021-09-26 19:22:50.163 Error: Airco: (Airco) ----> Line 320 in '/config/plugins/domoticz_panasonic_CZ-TACG1/plugin.py' 2021-09-26 19:22:50.163 Error: Airco: (Airco) ----> Line 276 in '/config/plugins/domoticz_panasonic_CZ-TACG1/plugin.py'

sdamasoc commented 2 years ago

Hi MikeZMssl,

You need to update the plugin with the last version. Panasonic has updated their api version and the version '1.12.0' doesn't work anymore.

Sérgio

MikeZMssl commented 2 years ago

yeah it works now. thanks again!