Closed Doudou14 closed 1 year ago
Whith Somfy software version are you ? I'm on 2022.6.4-13 and not having any issues
The only thing is i'm still on plugin v4.1.7
I have same box version and use plugin on V4.4.16. I restarted the tahoma and since everything works again. Sorry to have disturbed you Thank you
Hi
Since the Tahoma update, the script no longer works in local access (But is ok on web access) I tried to reset the token but it didn't change anything
Domoticz info:
Box info:
Somfy.log with Local connexion 2023-01-21 11:31:07,691 - INFO - plugin.py - starting plugin version 4.2.16 2023-01-21 11:31:07,712 - INFO - plugin.py - Starting version: 4.2.16 2023-01-21 11:31:09,612 - INFO - tahoma_local.py - Tahoma authentication succeeded, login valid until 2023-01-27 11:31:09 2023-01-21 11:31:11,751 - ERROR - tahoma_local.py - failed to activate token 2023-01-21 11:31:30,567 - ERROR - utils.py - status code 401 authorisation failed, check credentials 2023-01-21 11:31:50,357 - ERROR - utils.py - status code 401 authorisation failed, check credentials 2023-01-21 11:32:10,335 - ERROR - utils.py - status code 401 authorisation failed, check credentials 2023-01-21 11:32:30,344 - ERROR - utils.py - status code 401 authorisation failed, check credentials 2023-01-21 11:32:50,379 - ERROR - utils.py - status code 401 authorisation failed, check credentials 2023-01-21 11:32:56,545 - INFO - plugin.py - stopping plugin
Somfy.log with Web connexion 2023-01-20 20:46:06,498 - INFO - plugin.py - starting plugin version 4.2.16 2023-01-20 20:46:06,503 - INFO - plugin.py - Starting version: 4.2.16 2023-01-20 20:46:07,295 - INFO - tahoma.py - Tahoma authentication succeeded, login valid until 2023-01-20 20:47:37 2023-01-20 20:51:09,514 - INFO - tahoma.py - Tahoma authentication succeeded, login valid until 2023-01-20 20:52:39 2023-01-20 21:01:10,586 - INFO - tahoma.py - Tahoma authentication succeeded, login valid until 2023-01-20 21:02:40 2023-01-20 21:11:11,793 - INFO - tahoma.py - Tahoma authentication succeeded, login valid until 2023-01-20 21:12:41
Domoticz logging with Local connexion 2023-01-21 11:31:07.352 Status: Tahoma: Initialized version 4.2.16, author 'MadPatrick' 2023-01-21 11:31:07.609 Status: Tahoma: Location does not exist, logging to default location 2023-01-21 11:31:07.610 Status: Tahoma: Starting Tahoma blind plugin, logging to file somfy.log 2023-01-21 11:31:50.366 Error: Tahoma: _plugin.onHeartbeat() 2023-01-21 11:31:50.366 Error: Tahoma: File "/home/Snake/domoticz/plugins/somfy/plugin.py", line 307, in onHeartbeat 2023-01-21 11:31:50.366 Error: Tahoma: filtered_devices = self.tahoma.get_devices() 2023-01-21 11:31:50.366 Error: Tahoma: File "/home/Snake/domoticz/plugins/somfy/tahoma_local.py", line 188, in get_devices 2023-01-21 11:31:50.366 Error: Tahoma: utils.handle_response(response, "get devices") 2023-01-21 11:31:50.367 Error: Tahoma: File "/home/Snake/domoticz/plugins/somfy/utils.py", line 84, in handle_response 2023-01-21 11:31:50.367 Error: Tahoma: raise exceptions.TahomaException("failed request during "+ action + ", check credentials: " + str(response.status_code)) 2023-01-21 11:31:50.367 Error: Tahoma: exceptions.TahomaException: failed request during get devices, check credentials: 401
Domoticz logging with Web connexion 2023-01-21 11:33:43.232 Status: Tahoma: Initialized version 4.2.16, author 'MadPatrick' 2023-01-21 11:33:43.458 Status: Tahoma: Location does not exist, logging to default location 2023-01-21 11:33:43.459 Status: Tahoma: Starting Tahoma blind plugin, logging to file somfy.log