2023-05-25 10:00:42,610 - Device.pcc_living_room_ac - INFO - Retrieving data
2023-05-25 10:01:14,712 - Device.pcc_living_room_ac - INFO - pcc_living_room_ac: Updated temperature outside ( 18 -> 19 )
2023-05-25 10:01:14,713 - Device.pcc_movie_room_ac - INFO - Retrieving data
2023-05-25 10:01:21,567 - Service - WARNING - Sequence of errors detected. Halting requests for 10 minutes: ResponseError('Invalid response, status code: 500 - Data: {"message":"Adapter Communication error","code":5005}')
2023-05-25 10:11:21,667 - Service - INFO - Resetting connection
2023-05-25 10:11:21,667 - Service - INFO - Connecting to Panasonic Comfort Cloud..
2023-05-25 10:11:25,166 - Service - INFO - Login succesfull. Reading and populating devices
2023-05-25 10:11:25,166 - Device.pcc_living_room_ac - INFO - New device: Living Room (pcc_living_room)
2023-05-25 10:11:25,166 - Device.pcc_living_room_ac - INFO - Retrieving data
2023-05-25 10:11:43,687 - Service - ERROR - Failed initialization to Panasonic Comfort Cloud: Invalid response, status code: 502 - Data: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>
. Will attempt again in 10 minutes.
2023-05-25 10:11:43,688 - Service - INFO - Starting up MQTT..
2023-05-25 10:11:43,781 - Service - INFO - MQTT started
2023-05-25 10:11:43,788 - Service - INFO - Shutting down
Traceback (most recent call last):
File "/app/pcfmqtt/service.py", line 104, in start
self._log.warn("Connection errors. Waiting for 10 minutes: %r", e)
UnboundLocalError: local variable 'e' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/run.py", line 4, in <module>
__main__.main()
File "/app/pcfmqtt/__main__.py", line 42, in main
s.start()
File "/app/pcfmqtt/service.py", line 139, in start
self._session.logout()
AttributeError: 'NoneType' object has no attribute 'logout'