sockless-coding / panasonic_cc

Panasonic Comfort Cloud - Home Assistant Component
MIT License
178 stars 38 forks source link

Error in set_device Expected status code '200' but received '500' Payload #339

Closed pacholoamit closed 2 weeks ago

pacholoamit commented 2 weeks ago

Checklist

What version of Home Assistant Core?

core-2024.11.1

Describe the issue

When using this Home assistant plugin to manage state of my AC. I've been recently getting these error

Logger: custom_components.panasonic_cc.pcomfortcloud.helpers
Source: custom_components/panasonic_cc/pcomfortcloud/helpers.py:20
integration: Panasonic Comfort Cloud ([documentation](https://github.com/sockless-coding/panasonic_cc/), [issues](https://github.com/sockless-coding/panasonic_cc/issues))
First occurred: 4:47:24 AM (5 occurrences)
Last logged: 4:48:31 AM

Error in set_device Expected status code '200' but received '500' Payload: {'deviceGuid': 'CS-PU12AKQ+E136406370', 'parameters': {'airSwingUD': 0, 'fanAutoMode': 3}} Response body: {"code":5005,"message":"Adapter Communication error"}
Error in set_device Expected status code '200' but received '500' Payload: {'deviceGuid': 'CS-PU12AKQ+E136406370', 'parameters': {'temperatureSet': 20.5}} Response body: {"code":5005,"message":"Adapter Communication error"}

Error/Debug Logs

Logger: custom_components.panasonic_cc.pcomfortcloud.helpers
Source: custom_components/panasonic_cc/pcomfortcloud/helpers.py:20
integration: Panasonic Comfort Cloud ([documentation](https://github.com/sockless-coding/panasonic_cc/), [issues](https://github.com/sockless-coding/panasonic_cc/issues))
First occurred: 4:47:24 AM (5 occurrences)
Last logged: 4:48:31 AM

Error in set_device Expected status code '200' but received '500' Payload: {'deviceGuid': 'CS-PU12AKQ+E136406370', 'parameters': {'airSwingUD': 0, 'fanAutoMode': 3}} Response body: {"code":5005,"message":"Adapter Communication error"}
Error in set_device Expected status code '200' but received '500' Payload: {'deviceGuid': 'CS-PU12AKQ+E136406370', 'parameters': {'temperatureSet': 20.5}} Response body: {"code":5005,"message":"Adapter Communication error"}
pacholoamit commented 2 weeks ago

Seems to be fixed, must be a network issue?

sockless-coding commented 2 weeks ago

@pacholoamit the "code":5005,"message":"Adapter Communication error" indicates that your heat pump has a bad wifi connection / internet issues. It gets triggered when the Panasonic servers tries to reach your device and it's not responding.

pacholoamit commented 2 weeks ago

Hello, yeah seems to be intermittent. I'll closed this issue for now