Closed ab10002 closed 1 year ago
Installed from the scratch..
2022-09-30 22:06:19,120 - DEBUG - plugin.py - onCommand: DeviceId: 'io://0000-0000-0000/14287010' Unit: '1', Command: 'Set Level', Level: '95', Hue: '' 2022-09-30 22:06:19,120 - DEBUG - plugin.py - preparing command: # commands: 2 2022-09-30 22:06:19,120 - DEBUG - plugin.py - preparing command: # actions_serialized: 1 2022-09-30 22:06:19,120 - DEBUG - plugin.py - preparing command: json data: {"actions": [{"commands": [{"name": "setClosure", "parameters": [95]}], "deviceURL": "io://0000-0000-0000/14287010"}], "label": "Domoticz - Shutter05 - setClosure"} 2022-09-30 22:06:19,120 - DEBUG - tahoma.py - checking logged in status: self.__logged_in = True and self.__expiry_date >= datetime.datetime.now() = True 2022-09-30 22:06:19,120 - DEBUG - tahoma.py - start command 2022-09-30 22:06:19,120 - DEBUG - tahoma.py - onCommand: headers: '{'Host': 'tahomalink.com', 'Connection': 'keep-alive', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Content-Type': 'application/json', 'Cookie': 'JSESSIONID=080B6DAFF7E4EE10020F4771AE2EF955; Path=/enduser-mobile-web; Secure; HttpOnly; SameSite=None'}', data '{"actions": [{"commands": [{"name": "setClosure", "parameters": [95]}], "deviceURL": "io://0000-0000-0000/14287010"}], "label": "Domoticz - Shutter05 - setClosure"}' 2022-09-30 22:06:19,120 - INFO - tahoma.py - Sending command to tahoma api 2022-09-30 22:06:19,122 - DEBUG - connectionpool.py - Starting new HTTPS connection (1): tahomalink.com:443 2022-09-30 22:06:19,160 - DEBUG - connectionpool.py - https://tahomalink.com:443 "POST /enduser-mobile-web/enduserAPI/exec/apply HTTP/1.1" 401 66 2022-09-30 22:06:19,162 - DEBUG - tahoma.py - command response: status '401' response body: '{'errorCode': 'RESOURCE_ACCESS_DENIED', 'error': 'Not authenticated'}' 2022-09-30 22:06:19,162 - ERROR - tahoma.py - error during command, status: 401, possible cause:{'errorCode': 'RESOURCE_ACCESS_DENIED', 'error': 'Not authenticated'}
This is the log from the default plugin:
2022-09-30 22:17:16,062 - DEBUG - connectionpool.py - Starting new HTTPS connection (1): tahomalink.com:443 2022-09-30 22:17:16,099 - DEBUG - connectionpool.py - https://tahomalink.com:443 "POST /enduser-mobile-web/enduserAPI/events/8e7e78b1-ac10-3e01-6399-5f119141bba6/fetch HTTP/1.1" 200 None 2022-09-30 22:17:16,100 - DEBUG - tahoma.py - get events response: status '200' response body: '<Response [200]>' 2022-09-30 22:17:16,100 - DEBUG - tahoma.py - get_events: add event: URL: 'io://0000-0000-0000/14287010' num states: '2' 2022-09-30 22:17:16,100 - DEBUG - tahoma.py - get_events: add event: URL: 'io://0000-0000-0000/14287010' num states: '4' 2022-09-30 22:17:16,100 - DEBUG - plugin.py - updating device status self.tahoma.startup = False on num datasets: 2 2022-09-30 22:17:16,100 - DEBUG - plugin.py - updating device status on data: [{'timestamp': 1664569014769, 'setupOID': '3cb5d24a-65df-4573-a86f-89ae87e5fc37', 'deviceURL': 'io://0000-0000-0000/14287010', 'deviceStates': [{'name': 'core:TargetClosureState', 'type': 1, 'value': '98'}, {'name': 'core:MovingState', 'type': 6, 'value': 'true'}], 'name': 'DeviceStateChangedEvent'}, {'timestamp': 1664569015907, 'setupOID': '3cb5d24a-65df-4573-a86f-89ae87e5fc37', 'deviceURL': 'io://0000-0000-0000/14287010', 'deviceStates': [{'name': 'core:ManufacturerSettingsState', 'type': 0}, {'name': 'core:ClosureState', 'type': 1, 'value': '98'}, {'name': 'core:OpenClosedState', 'type': 3, 'value': 'open'}, {'name': 'core:MovingState', 'type': 6, 'value': 'false'}], 'name': 'DeviceStateChangedEvent'}]
I had this before but by sending some commands it seems solved. Seems like a point for the readme.
Lets just wait until the plugin has been finished
Installed from the scratch..
This is the log from the default plugin: