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 2 forks source link

error on domoticz CZ-TACG module: Missing required header parameter or bad request for header #16

Open Hindosh opened 5 months ago

Hindosh commented 5 months ago

Since a few days the Domoticz logs suddenly show an error for the CZ-TACG plugin module:

2024-06-21 10:52:47.237 Panasonic: get_device_by_id={"code":"4000", "message":"Missing required header parameter or bad request for header"} 2024-06-21 10:52:47.238 Panasonic: The device CS-TZ25WKEW+4757852835 return an error (code=4000, message=Missing required header parameter or bad request for header)

Is a plugin update needed or is did the Panasonic API version change?

Thanks for the help!

sdamasoc commented 5 months ago

Hello, Panasonic has changed the Comfort Cloud API... I'm working on it, sorry for the inconvenience.

Hindosh commented 5 months ago

OK great, thanks so much!

sdamasoc commented 5 months ago

I reopen the ticket because you are not the only one reporting the issue

E2V-Erik commented 4 months ago

Mine stopped working too. I wasnt sure if it had to do with my installation, so removed it from Domoticz and deleted to plugin folder and then re-installed. Got this error (see attached). Not sure if the same, but if so, maybe the error message can help Error_log_panasonic

sdamasoc commented 4 months ago

Sorry @E2V-Erik, it’s because Panasonic has change the api. It’s not a simple fix, I need to rewrite everything. I’m trying to integrate the Panasonic api from another GitHub project but for the moment did not have much time to work on this…

sdamasoc commented 4 months ago

Hello guys, Already made an update today, no errors anymore but for the moment only power switch can be used. Still need time to adapt and cleanup the code...

PS: the plugin needs for the moment the BeautifulSoup4 lib, to install: pip install beautifulsoup4

Will try to do something to avoid that but for the moment there is no choice.