Closed joolz789 closed 2 weeks ago
Hi, thank you for your interest and letting me know the issue. I will patch the plugin and add ExteriorBlindRTSComponent to the supported device and refactor the log to include device.uniqueName. I will let you know. Have a nice day.
Hi, I published: give it a try please. Can you send me a full log? Probably the correct approach is to to use the device.uiClass
Thanks for the fast update! I re-installed the plugin, set the config, restarted homebridge, set it up as a child bridge, restarted homebridge, and this is the logs at startup (gateway pin redacted):
[15/07/2024, 22:51:14] [Somfy TaHoma Screen] Launched child bridge with PID 6699
[15/07/2024, 22:51:14] Registering platform 'homebridge-somfy-tahoma-screen.Somfy TaHoma Screen'
[15/07/2024, 22:51:14] [Somfy TaHoma Screen] Loaded homebridge-somfy-tahoma-screen v1.0.17 child bridge successfully
[15/07/2024, 22:51:14] Loaded 3 cached accessories from cachedAccessories.0EEE7DF001E3.
[22:51:14.866] [Somfy TaHoma Screen] Finished initializing platform: Somfy TaHoma Screen
[22:51:14.870] [Somfy TaHoma Screen] Loading accessory from cache: West Blind
[22:51:14.872] [Somfy TaHoma Screen] Loading accessory from cache: South Blind
[22:51:14.872] [Somfy TaHoma Screen] Loading accessory from cache: North Blind
[22:51:14.924] [Somfy TaHoma Screen] Executed didFinishLaunching callback
[15/07/2024, 22:51:14] Homebridge v1.8.3 (HAP v0.12.2) (Somfy TaHoma Screen) is running on port 38259.
[22:51:16.074] [Somfy TaHoma Screen] Looking for local gateway with pin XXXX-XXXX-XXXX
[22:51:16.324] [Somfy TaHoma Screen] Gateway service found: gateway-XXXX-XXXX-XXXX
[22:51:16.326] [Somfy TaHoma Screen] Gateway IPv4 is 192.168.2.189
[22:51:16.329] [Somfy TaHoma Screen] GET /apiVersion
[22:51:16.611] [Somfy TaHoma Screen] { protocolVersion: '2024.2.4-10' }
[22:51:16.617] [Somfy TaHoma Screen] TaHoma service connected
[22:51:16.617] [Somfy TaHoma Screen] Enable event polling period every 60 sec
[22:51:16.619] [Somfy TaHoma Screen] POST /events/register
[22:51:16.628] [Somfy TaHoma Screen] GET /setup/devices
[22:51:16.731] [Somfy TaHoma Screen] TaHoma 6 devices discovered
[22:51:16.732] [Somfy TaHoma Screen] Device: Box
[22:51:16.732] [Somfy TaHoma Screen] - uniqueName PodV3Component
[22:51:16.732] [Somfy TaHoma Screen] - uiClass Pod
[22:51:16.734] [Somfy TaHoma Screen] - serial 906314c9-8f50-56a6-bcba-e5ae514277fe
[22:51:16.735] [Somfy TaHoma Screen] - deviceURL internal://XXXX-XXXX-XXXX/pod/0
[22:51:16.735] [Somfy TaHoma Screen] - commands: ["setPodLedOff","update","setLightingLedPodMode","deactivateCalendar","activateCalendar","setCalendar","refreshUpdateStatus","refreshPodMode","getName","setPodLedOn","setCountryCode"]
[22:51:16.735] [Somfy TaHoma Screen] - states: [{"type":3,"value":"online","name":"core:ConnectivityState"},{"type":1,"value":1,"name":"internal:LightingLedPodModeState"},{"type":3,"value":"Box","name":"core:NameState"},{"type":3,"value":"AU","name":"core:CountryCodeState"}]
[22:51:16.735] [Somfy TaHoma Screen] Device: INTERNAL (wifi/0)
[22:51:16.736] [Somfy TaHoma Screen] - uniqueName WifiComponent
[22:51:16.736] [Somfy TaHoma Screen] - uiClass Wifi
[22:51:16.736] [Somfy TaHoma Screen] - serial e24799c4-c102-5190-850f-fe6b417b5ab6
[22:51:16.737] [Somfy TaHoma Screen] - deviceURL internal://XXXX-XXXX-XXXX/wifi/0
[22:51:16.737] [Somfy TaHoma Screen] - commands: ["setWifiMode","clearCredentials","setTargetInfraConfig"]
[22:51:16.737] [Somfy TaHoma Screen] - states: [{"type":3,"value":"infrastructure","name":"internal:WifiModeState"},{"type":3,"value":"MightyHawks","name":"internal:CurrentInfraConfigState"},{"type":1,"value":92,"name":"internal:SignalStrengthState"}]
[22:51:16.737] [Somfy TaHoma Screen] Device: ZIGBEE (65535)
[22:51:16.737] [Somfy TaHoma Screen] - uniqueName TransceiverV3_0Component
[22:51:16.738] [Somfy TaHoma Screen] - uiClass ProtocolGateway
[22:51:16.739] [Somfy TaHoma Screen] - serial d2ceaab4-4c92-508a-920b-a9b04c8f120b
[22:51:16.739] [Somfy TaHoma Screen] - deviceURL zigbee://XXXX-XXXX-XXXX/65535
[22:51:16.739] [Somfy TaHoma Screen] - commands: []
[22:51:16.739] [Somfy TaHoma Screen] - states: []
[22:51:16.739] [Somfy TaHoma Screen] Device: West Blind
[22:51:16.740] [Somfy TaHoma Screen] - uniqueName ExteriorBlindRTSComponent
[22:51:16.740] [Somfy TaHoma Screen] - uiClass ExteriorScreen
[22:51:16.740] [Somfy TaHoma Screen] - serial de7f9cca-3482-5363-bad0-c1552c6fbbd4
[22:51:16.740] [Somfy TaHoma Screen] - deviceURL rts://XXXX-XXXX-XXXX/16747963
[22:51:16.740] [Somfy TaHoma Screen] - commands: ["close","identify","my","test","rest","open","up","openConfiguration","down","stop"]
[22:51:16.741] [Somfy TaHoma Screen] - states: []
[22:51:16.741] [Somfy TaHoma Screen] Device: South Blind
[22:51:16.741] [Somfy TaHoma Screen] - uniqueName ExteriorBlindRTSComponent
[22:51:16.741] [Somfy TaHoma Screen] - uiClass ExteriorScreen
[22:51:16.742] [Somfy TaHoma Screen] - serial 4d8eb381-1bfd-5273-bcb4-7bc0452de63c
[22:51:16.742] [Somfy TaHoma Screen] - deviceURL rts://XXXX-XXXX-XXXX/16735313
[22:51:16.742] [Somfy TaHoma Screen] - commands: ["close","identify","my","test","rest","open","up","openConfiguration","down","stop"]
[22:51:16.742] [Somfy TaHoma Screen] - states: []
[22:51:16.742] [Somfy TaHoma Screen] Device: North Blind
[22:51:16.742] [Somfy TaHoma Screen] - uniqueName ExteriorBlindRTSComponent
[22:51:16.743] [Somfy TaHoma Screen] - uiClass ExteriorScreen
[22:51:16.743] [Somfy TaHoma Screen] - serial 6160a423-0c64-5652-9485-4c0421db11c9
[22:51:16.743] [Somfy TaHoma Screen] - deviceURL rts://XXXX-XXXX-XXXX/16751607
[22:51:16.743] [Somfy TaHoma Screen] - commands: ["close","identify","my","test","rest","open","up","openConfiguration","down","stop"]
[22:51:16.743] [Somfy TaHoma Screen] - states: []
[22:51:16.744] [Somfy TaHoma Screen] TaHoma 3 screens discovered
[22:51:16.744] [Somfy TaHoma Screen] Adding device: West Blind uniqueName ExteriorBlindRTSComponent uiClass ExteriorScreen serial de7f9cca-3482-5363-bad0-c1552c6fbbd4
[22:51:16.745] [Somfy TaHoma Screen] Restoring existing accessory: West Blind
[22:51:16.762] [Somfy TaHoma Screen] Adding device: South Blind uniqueName ExteriorBlindRTSComponent uiClass ExteriorScreen serial 4d8eb381-1bfd-5273-bcb4-7bc0452de63c
[22:51:16.763] [Somfy TaHoma Screen] Restoring existing accessory: South Blind
[22:51:16.777] [Somfy TaHoma Screen] Adding device: North Blind uniqueName ExteriorBlindRTSComponent uiClass ExteriorScreen serial 6160a423-0c64-5652-9485-4c0421db11c9
[22:51:16.778] [Somfy TaHoma Screen] Restoring existing accessory: North Blind
I set duration of movement to 46 seconds in the eve app.
However, when I try to control the blind to go down, I get this log:
[22:57:00.102] [Somfy TaHoma Screen] onSetTargetPosition West Blind 0
Closing current 100 target 0 duration 46 steps 100
[22:57:00.106] [Somfy TaHoma Screen] Sending command close highPriority true
[22:57:00.109] [Somfy TaHoma Screen] POST /exec/apply/highPriority
/usr/local/lib/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176
throw new ExecutionError(ExecutionState.FAILED, error);
^
Error: Error 400 Unknown object. (UNSPECIFIED_ERROR)
at OverkizClient.execute (/usr/local/lib/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[15/07/2024, 22:57:00] [Somfy TaHoma Screen] Child bridge process ended
[15/07/2024, 22:57:00] [Somfy TaHoma Screen] Process Ended. Code: 1, Signal: null
Not sure if this is of any help, but there are 3 switches that I can see in the eve app: 'Remote [down]', 'Remote [my]' and 'Remote [up]', which are all set to off. Controlling these cause a similar stack trace to the one above.
Hi, so the device is correctly discovered. The log shows the characteristics correctly. Now we have 2 issue:
I published a patch to avoid crash. Can you please check if it does not crash anymore?
If you have time I can try to send down and up instead of close and open... Let me know if you want to try again... if not I will disable again the device
Thanks for the update. I set up a separate homebridge instance to make capturing logs a bit easier so that other accessories aren't getting in the way.
First boot up. Not sure why it is reporting 81/82/62 for the position, all the blinds are physically in a closed state.
[7/17/2024, 10:58:36 PM] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 1B41) is running on port 51667.
[7/17/2024, 10:58:36 PM] [Somfy TaHoma Screen] Launched child bridge with PID 243492
[7/17/2024, 10:58:37 PM] Registering platform 'homebridge-somfy-tahoma-screen.Somfy TaHoma Screen'
[7/17/2024, 10:58:37 PM] [Somfy TaHoma Screen] Loaded homebridge-somfy-tahoma-screen v1.0.18 child bridge successfully
[7/17/2024, 10:58:37 PM] Loaded 0 cached accessories from cachedAccessories.0E2B33C1D5EE.
[22:58:37.065] [Somfy TaHoma Screen] Finished initializing platform: Somfy TaHoma Screen
[22:58:37.077] [Somfy TaHoma Screen] Executed didFinishLaunching callback
[7/17/2024, 10:58:37 PM] Homebridge v1.8.3 (HAP v0.12.2) (Somfy TaHoma Screen) is running on port 49583.
[22:58:38.101] [Somfy TaHoma Screen] Looking for local gateway with pin XXXX-XXXX-XXXX
[22:58:38.286] [Somfy TaHoma Screen] Gateway service found: gateway-XXXX-XXXX-XXXX
[22:58:38.287] [Somfy TaHoma Screen] Gateway IPv4 is 192.168.2.189
[22:58:38.288] [Somfy TaHoma Screen] GET /apiVersion
[22:58:38.413] [Somfy TaHoma Screen] { protocolVersion: '2024.3.3-9' }
[22:58:38.414] [Somfy TaHoma Screen] TaHoma service connected
[22:58:38.414] [Somfy TaHoma Screen] Enable event polling period every 60 sec
[22:58:38.415] [Somfy TaHoma Screen] POST /events/register
[22:58:38.417] [Somfy TaHoma Screen] GET /setup/devices
[22:58:38.521] [Somfy TaHoma Screen] TaHoma 6 devices discovered
[22:58:38.522] [Somfy TaHoma Screen] Device: West Blind
[22:58:38.522] [Somfy TaHoma Screen] - uniqueName ExteriorBlindRTSComponent
[22:58:38.522] [Somfy TaHoma Screen] - uiClass ExteriorScreen
[22:58:38.523] [Somfy TaHoma Screen] - serial de7f9cca-3482-5363-bad0-c1552c6fbbd4
[22:58:38.523] [Somfy TaHoma Screen] - deviceURL rts://XXXX-XXXX-XXXX/16747963
[22:58:38.523] [Somfy TaHoma Screen] - commands: ["rest","test","down","up","identify","close","my","open","stop","openConfiguration"]
[22:58:38.524] [Somfy TaHoma Screen] - states: []
[22:58:38.524] [Somfy TaHoma Screen] Device: South Blind
[22:58:38.524] [Somfy TaHoma Screen] - uniqueName ExteriorBlindRTSComponent
[22:58:38.524] [Somfy TaHoma Screen] - uiClass ExteriorScreen
[22:58:38.524] [Somfy TaHoma Screen] - serial 4d8eb381-1bfd-5273-bcb4-7bc0452de63c
[22:58:38.524] [Somfy TaHoma Screen] - deviceURL rts://XXXX-XXXX-XXXX/16735313
[22:58:38.524] [Somfy TaHoma Screen] - commands: ["rest","test","down","up","identify","close","my","open","stop","openConfiguration"]
[22:58:38.524] [Somfy TaHoma Screen] - states: []
[22:58:38.524] [Somfy TaHoma Screen] Device: North Blind
[22:58:38.524] [Somfy TaHoma Screen] - uniqueName ExteriorBlindRTSComponent
[22:58:38.524] [Somfy TaHoma Screen] - uiClass ExteriorScreen
[22:58:38.525] [Somfy TaHoma Screen] - serial 6160a423-0c64-5652-9485-4c0421db11c9
[22:58:38.525] [Somfy TaHoma Screen] - deviceURL rts://XXXX-XXXX-XXXX/16751607
[22:58:38.525] [Somfy TaHoma Screen] - commands: ["rest","test","down","up","identify","close","my","open","stop","openConfiguration"]
[22:58:38.525] [Somfy TaHoma Screen] - states: []
[22:58:38.525] [Somfy TaHoma Screen] Device: Box
[22:58:38.525] [Somfy TaHoma Screen] - uniqueName PodV3Component
[22:58:38.525] [Somfy TaHoma Screen] - uiClass Pod
[22:58:38.525] [Somfy TaHoma Screen] - serial 906314c9-8f50-56a6-bcba-e5ae514277fe
[22:58:38.525] [Somfy TaHoma Screen] - deviceURL internal://XXXX-XXXX-XXXX/pod/0
[22:58:38.525] [Somfy TaHoma Screen] - commands: ["refreshPodMode","setPodLedOff","setPodLedOn","setCountryCode","deactivateCalendar","activateCalendar","getName","update","setLightingLedPodMode","setCalendar","refreshUpdateStatus"]
[22:58:38.525] [Somfy TaHoma Screen] - states: [{"value":"AU","name":"core:CountryCodeState","type":3},{"value":1,"name":"internal:LightingLedPodModeState","type":1},{"value":"online","name":"core:ConnectivityState","type":3},{"value":"Box","name":"core:NameState","type":3}]
[22:58:38.525] [Somfy TaHoma Screen] Device: INTERNAL (wifi/0)
[22:58:38.525] [Somfy TaHoma Screen] - uniqueName WifiComponent
[22:58:38.525] [Somfy TaHoma Screen] - uiClass Wifi
[22:58:38.525] [Somfy TaHoma Screen] - serial e24799c4-c102-5190-850f-fe6b417b5ab6
[22:58:38.525] [Somfy TaHoma Screen] - deviceURL internal://XXXX-XXXX-XXXX/wifi/0
[22:58:38.525] [Somfy TaHoma Screen] - commands: ["clearCredentials","setTargetInfraConfig","setWifiMode"]
[22:58:38.525] [Somfy TaHoma Screen] - states: [{"value":"MightyHawks","name":"internal:CurrentInfraConfigState","type":3},{"value":"infrastructure","name":"internal:WifiModeState","type":3},{"value":94,"name":"internal:SignalStrengthState","type":1}]
[22:58:38.525] [Somfy TaHoma Screen] Device: ZIGBEE (65535)
[22:58:38.525] [Somfy TaHoma Screen] - uniqueName TransceiverV3_0Component
[22:58:38.525] [Somfy TaHoma Screen] - uiClass ProtocolGateway
[22:58:38.525] [Somfy TaHoma Screen] - serial d2ceaab4-4c92-508a-920b-a9b04c8f120b
[22:58:38.525] [Somfy TaHoma Screen] - deviceURL zigbee://XXXX-XXXX-XXXX/65535
[22:58:38.525] [Somfy TaHoma Screen] - commands: []
[22:58:38.525] [Somfy TaHoma Screen] - states: []
[22:58:38.525] [Somfy TaHoma Screen] TaHoma 3 screens discovered
[22:58:38.525] [Somfy TaHoma Screen] Adding device: West Blind uniqueName ExteriorBlindRTSComponent uiClass ExteriorScreen serial de7f9cca-3482-5363-bad0-c1552c6fbbd4
[22:58:38.526] [Somfy TaHoma Screen] Adding new accessory: West Blind
[22:58:38.534] [Somfy TaHoma Screen] Adding device: South Blind uniqueName ExteriorBlindRTSComponent uiClass ExteriorScreen serial 4d8eb381-1bfd-5273-bcb4-7bc0452de63c
[22:58:38.535] [Somfy TaHoma Screen] Adding new accessory: South Blind
[22:58:38.539] [Somfy TaHoma Screen] Adding device: North Blind uniqueName ExteriorBlindRTSComponent uiClass ExteriorScreen serial 6160a423-0c64-5652-9485-4c0421db11c9
[22:58:38.539] [Somfy TaHoma Screen] Adding new accessory: North Blind
[22:59:38.415] [Somfy TaHoma Screen] POST /events/3f099266-ceb7-4c3b-8e69-ec85ce32d7a3/fetch
[22:59:46.970] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[22:59:46.971] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[22:59:46.972] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[22:59:50.859] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[22:59:50.860] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[22:59:50.860] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[23:00:15.737] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[23:00:15.738] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[23:00:15.738] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[23:00:30.215] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[23:00:30.216] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[23:00:30.217] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[23:00:38.415] [Somfy TaHoma Screen] POST /events/3f099266-ceb7-4c3b-8e69-ec85ce32d7a3/fetch
[23:00:39.489] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[23:00:39.490] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[23:00:39.490] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[23:00:43.285] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[23:00:43.286] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[23:00:49.807] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[23:00:49.808] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[23:00:49.808] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[23:00:53.405] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[23:01:19.793] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[23:01:19.793] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[23:01:19.793] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
Set the 'Remote [up]' from off to on:
[23:02:58.270] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[23:03:38.416] [Somfy TaHoma Screen] POST /events/3f099266-ceb7-4c3b-8e69-ec85ce32d7a3/fetch
[23:03:56.296] [Somfy TaHoma Screen] onSetTargetPosition North Blind 100
Opening current 82 target 100 duration 4.68 steps 18
[23:03:56.297] [Somfy TaHoma Screen] Sending command open highPriority true
[23:03:56.298] [Somfy TaHoma Screen] POST /exec/apply/highPriority
/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176
throw new ExecutionError(ExecutionState.FAILED, error);
^
Error: Error 400 Unknown object. (UNSPECIFIED_ERROR)
at OverkizClient.execute (/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[7/17/2024, 11:03:56 PM] [Somfy TaHoma Screen] Child bridge process ended
[7/17/2024, 11:03:56 PM] [Somfy TaHoma Screen] Process Ended. Code: 1, Signal: null
Set the 'Remote [my]' from off to on:
Closing current 82 target 50 duration 8.32 steps 32
[23:05:19.299] [Somfy TaHoma Screen] Sending command close highPriority true
[23:05:19.299] [Somfy TaHoma Screen] POST /exec/apply/highPriority
/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176
throw new ExecutionError(ExecutionState.FAILED, error);
^
Error: Error 400 Unknown object. (UNSPECIFIED_ERROR)
at OverkizClient.execute (/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[7/17/2024, 11:05:19 PM] [Somfy TaHoma Screen] Child bridge process ended
[7/17/2024, 11:05:19 PM] [Somfy TaHoma Screen] Process Ended. Code: 1, Signal: null
[7/17/2024, 11:05:26 PM] [Somfy TaHoma Screen] Restarting Process...
Set the 'Remote [down]' to On
Closing current 82 target 50 duration 8.32 steps 32
[23:05:19.299] [Somfy TaHoma Screen] Sending command close highPriority true
[23:05:19.299] [Somfy TaHoma Screen] POST /exec/apply/highPriority
/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176
throw new ExecutionError(ExecutionState.FAILED, error);
^
Error: Error 400 Unknown object. (UNSPECIFIED_ERROR)
at OverkizClient.execute (/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[7/17/2024, 11:05:19 PM] [Somfy TaHoma Screen] Child bridge process ended
[7/17/2024, 11:05:19 PM] [Somfy TaHoma Screen] Process Ended. Code: 1, Signal: null
[7/17/2024, 11:05:26 PM] [Somfy TaHoma Screen] Restarting Process...
Use the slider to set the position to 100% (fully open)
[23:09:08.636] [Somfy TaHoma Screen] onSetTargetPosition North Blind 100
Opening current 82 target 100 duration 8.28 steps 18
[23:09:08.637] [Somfy TaHoma Screen] Sending command open highPriority true
[23:09:08.638] [Somfy TaHoma Screen] POST /exec/apply/highPriority
/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176
throw new ExecutionError(ExecutionState.FAILED, error);
^
Error: Error 400 Unknown object. (UNSPECIFIED_ERROR)
at OverkizClient.execute (/var/lib/homebridge/node_modules/homebridge-somfy-tahoma-screen/node_modules/overkiz-client/src/Client.ts:176:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[7/17/2024, 11:09:08 PM] [Somfy TaHoma Screen] Child bridge process ended
[7/17/2024, 11:09:08 PM] [Somfy TaHoma Screen] Process Ended. Code: 1, Signal: null
[7/17/2024, 11:09:15 PM] [Somfy TaHoma Screen] Restarting Process...
Anything else I can try?
Hi, thanks for the test. Your devices have send also states... the originally supported ones do not have states cause the radio was not bidirectional. I still see the crashes from the module... somehow bypass the try catch block... I will try to change the command from open close to up down and see if they are controllable in that way... Unless this issue is related to your account being enabled with local api. How did you enable local api? I never found the way. If I could test it locally it would be easy. I will patch again to try down up... Thanks for your help and patience...
Hi, thanks for the update, really appreciate the time and effort you're putting in. The plugin now no longer crashes when I send a command, but it also doesn't do anything either. Logs are below. I tried closing a couple of blinds, the plugin looks like it is doing something, but the blind doesn't move. I know local API works, because I am able to control it with home assistant (but it does open close, no position), and also with this homebridge plugin, but the calculation for blind position was horrible, setting it to 50% would only open it to about 10% of the way, so I then tried this plug in, and here we are.
To enable local API, follow the instructions from this page: https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode Once you've created a token and activated it, in the plug in, set: TaHoma service to Local API Tahoma account username to the gateway pin TaHoma account password is the token you generated
[22:29:17.190] [Somfy TaHoma Screen] POST /events/cd4ad0ac-ce61-4e68-bbd2-19dfa438576b/fetch
[22:30:17.191] [Somfy TaHoma Screen] POST /events/cd4ad0ac-ce61-4e68-bbd2-19dfa438576b/fetch
[22:30:37.055] [Somfy TaHoma Screen] onGetCurrentPosition North Blind 82
[22:30:37.055] [Somfy TaHoma Screen] onGetCurrentPosition West Blind 81
[22:30:37.056] [Somfy TaHoma Screen] onGetCurrentPosition South Blind 62
[22:30:53.693] [Somfy TaHoma Screen] onSetTargetPosition North Blind 0
Closing current 82 target 0 duration 37.72 steps 82
[22:30:53.694] [Somfy TaHoma Screen] Sending command close highPriority true
[22:30:53.695] [Somfy TaHoma Screen] POST /exec/apply/highPriority
[22:30:53.820] [Somfy TaHoma Screen] Error sending command
[22:30:54.154] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 82 81
[22:30:54.613] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 81 80
[22:30:55.073] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 80 79
[22:30:55.533] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 79 78
[22:30:55.991] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 78 77
[22:30:56.451] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 77 76
[22:30:56.911] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 76 75
[22:30:57.370] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 75 74
[22:30:57.829] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 74 73
[22:30:58.288] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 73 72
[22:30:58.750] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 72 71
[22:30:59.208] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 71 70
[22:30:59.667] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 70 69
[22:31:00.126] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 69 68
[22:31:00.497] [Somfy TaHoma Screen] onSetTargetPosition West Blind 0
Closing current 81 target 0 duration 37.26 steps 81
[22:31:00.498] [Somfy TaHoma Screen] Sending command close highPriority true
[22:31:00.498] [Somfy TaHoma Screen] POST /exec/apply/highPriority
[22:31:00.586] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 68 67
[22:31:00.605] [Somfy TaHoma Screen] Error sending command
[22:31:00.958] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 81 80
[22:31:01.046] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 67 66
[22:31:01.418] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 80 79
[22:31:01.505] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 66 65
[22:31:01.878] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 79 78
[22:31:01.964] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 65 64
[22:31:02.337] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 78 77
[22:31:02.424] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 64 63
[22:31:02.797] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 77 76
[22:31:02.883] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 63 62
[22:31:03.257] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 76 75
[22:31:03.343] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 62 61
[22:31:03.716] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 75 74
[22:31:03.802] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 61 60
[22:31:04.176] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 74 73
[22:31:04.262] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 60 59
[22:31:04.636] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 73 72
[22:31:04.721] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 59 58
[22:31:05.096] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 72 71
[22:31:05.180] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 58 57
[22:31:05.556] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 71 70
[22:31:05.640] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 57 56
[22:31:06.014] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 70 69
[22:31:06.100] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 56 55
[22:31:06.474] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 69 68
[22:31:06.560] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 55 54
[22:31:06.933] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 68 67
[22:31:07.020] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 54 53
[22:31:07.393] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 67 66
[22:31:07.479] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 53 52
[22:31:07.853] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 66 65
[22:31:07.938] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 52 51
[22:31:08.312] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 65 64
[22:31:08.398] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 51 50
[22:31:08.772] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 64 63
[22:31:08.858] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 50 49
[22:31:09.231] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 63 62
[22:31:09.318] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 49 48
[22:31:09.691] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 62 61
[22:31:09.777] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 48 47
[22:31:10.151] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 61 60
[22:31:10.237] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 47 46
[22:31:10.611] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 60 59
[22:31:10.695] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 46 45
[22:31:11.070] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 59 58
[22:31:11.155] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 45 44
[22:31:11.528] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 58 57
[22:31:11.615] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 44 43
[22:31:11.988] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 57 56
[22:31:12.075] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 43 42
[22:31:12.448] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 56 55
[22:31:12.535] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 42 41
[22:31:12.908] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 55 54
[22:31:12.995] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 41 40
[22:31:13.366] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 54 53
[22:31:13.455] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 40 39
[22:31:13.825] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 53 52
[22:31:13.914] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 39 38
[22:31:14.285] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 52 51
[22:31:14.374] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 38 37
[22:31:14.744] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 51 50
[22:31:14.834] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 37 36
[22:31:15.204] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 50 49
[22:31:15.294] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 36 35
[22:31:15.664] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 49 48
[22:31:15.753] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 35 34
[22:31:16.124] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 48 47
[22:31:16.213] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 34 33
[22:31:16.584] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 47 46
[22:31:16.671] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 33 32
[22:31:17.044] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 46 45
[22:31:17.131] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 32 31
[22:31:17.192] [Somfy TaHoma Screen] POST /events/cd4ad0ac-ce61-4e68-bbd2-19dfa438576b/fetch
[22:31:17.504] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 45 44
[22:31:17.591] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 31 30
[22:31:17.963] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 44 43
[22:31:18.051] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 30 29
[22:31:18.423] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 43 42
[22:31:18.511] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 29 28
[22:31:18.882] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 42 41
[22:31:18.971] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 28 27
[22:31:19.343] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 41 40
[22:31:19.432] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 27 26
[22:31:19.800] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 40 39
[22:31:19.891] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 26 25
[22:31:20.259] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 39 38
[22:31:20.351] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 25 24
[22:31:20.719] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 38 37
[22:31:20.811] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 24 23
[22:31:21.177] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 37 36
[22:31:21.270] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 23 22
[22:31:21.637] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 36 35
[22:31:21.729] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 22 21
[22:31:22.097] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 35 34
[22:31:22.189] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 21 20
[22:31:22.557] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 34 33
[22:31:22.649] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 20 19
[22:31:23.017] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 33 32
[22:31:23.109] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 19 18
[22:31:23.477] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 32 31
[22:31:23.569] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 18 17
[22:31:23.937] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 31 30
[22:31:24.029] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 17 16
[22:31:24.399] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 30 29
[22:31:24.489] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 16 15
[22:31:24.856] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 29 28
[22:31:24.948] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 15 14
[22:31:25.316] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 28 27
[22:31:25.408] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 14 13
[22:31:25.775] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 27 26
[22:31:25.868] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 13 12
[22:31:26.235] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 26 25
[22:31:26.327] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 12 11
[22:31:26.694] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 25 24
[22:31:26.787] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 11 10
[22:31:27.154] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 24 23
[22:31:27.247] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 10 9
[22:31:27.613] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 23 22
[22:31:27.706] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 9 8
[22:31:28.073] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 22 21
[22:31:28.166] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 8 7
[22:31:28.533] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 21 20
[22:31:28.626] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 7 6
[22:31:28.993] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 20 19
[22:31:29.086] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 6 5
[22:31:29.456] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 19 18
[22:31:29.546] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 5 4
[22:31:29.912] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 18 17
[22:31:30.006] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 4 3
[22:31:30.372] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 17 16
[22:31:30.466] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 3 2
[22:31:30.832] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 16 15
[22:31:30.925] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 2 1
[22:31:31.292] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 15 14
[22:31:31.385] [Somfy TaHoma Screen] onChangeCurrentPosition North Blind write 1 0
[22:31:31.751] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 14 13
[22:31:32.211] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 13 12
[22:31:32.671] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 12 11
[22:31:33.131] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 11 10
[22:31:33.591] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 10 9
[22:31:34.051] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 9 8
[22:31:34.513] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 8 7
[22:31:34.969] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 7 6
[22:31:35.429] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 6 5
[22:31:35.889] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 5 4
[22:31:36.349] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 4 3
[22:31:36.809] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 3 2
[22:31:37.268] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 2 1
[22:31:37.727] [Somfy TaHoma Screen] onChangeCurrentPosition West Blind write 1 0
Hi, I tried several time in the past but I have no option to activate local api... also found online some notice that is no more available.
I have a doubt: what service are connecting to ?
Use the cloud not the local api to make a test, cause the local api is not connected in the plugin.
Still waiting a replay from the other 2 issues where I added other blinds...
I have 3 Somfy exterior RTS blinds connected to a Tahoma switch using local API (with developer mode enabled) which appear to not be supported, as the logs show TaHoma 0 screens discovered on startup.
With a bit of fiddling around, I found that the
device.UniqueName
for the blinds isExteriorBlindRTSComponent
.