node-red-contrib-tahoma icon indicating copy to clipboard operation
node-red-contrib-tahoma copied to clipboard

v3.0.0.beta5 - customRotation doesn't work

Open panjazzon opened this issue 3 years ago • 36 comments

Custom rotatin function seems to not working. For example syntax {"action":"customRotation","orientation":50} gives no results. It was working on previous API, now the same flow isn't.

Setup:

Version of node-red: v1.2.7 Version of node-red-contrib-tahoma: 3.0.0.beta5 Version of node (node -v): v10.23.2 Version of npm (npm -v): 6.14.10 Where is node-red installed Raspberry How is node-red installed: npm

panjazzon avatar Jun 15 '22 09:06 panjazzon

It seems Somfy modified the command names to be sent for custom positioned elements. The customPosition was also affected for roller shutters.

Below is a curl command that will list all your devices on your terminal. Could you please identify the device that should support the rotation and provide me the commands definition (JSON path should be: devices[your device].definitions.commands. That would help me identify which command to send to the Tahoma box to execute the custom rotation.

curl --location --request GET 'https://<gateway URL>/enduser-mobile-web/1/enduserAPI/setup' \
--header 'Authorization: Bearer <token>'

(Please replace the <gateway URL> and placeholders with the correct information. You can use the one generated within your node-red instance.

Thanks!

nikkow avatar Jun 16 '22 17:06 nikkow

I hope it helps :)

# curl -k --location --request GET 'https://xxxxxxxxxxxx/enduser-mobile-web/1/enduserAPI/setup' --header 'Authorization: Bearer xxxxxxxxxxxxxxxxx' {"gateways":[{"connectivity":{"status":"OK","protocolVersion":"2022.2.4-13"},"gatewayId":"xxx"}],"devices":[{"deviceURL":"io:\/\/xxx\/2548074","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"good"},{"type":1,"name":"core:RSSILevelState","value":96},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":0,"x_time":"disable","kinematics":"EVB_standard","current_position":0,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":0},{"type":1,"name":"core:ClosureState","value":0},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":0},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Gabinet panorama"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":34},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Gabinet panorama","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/8709731","available":true,"synced":true,"type":4,"states":[],"label":"Brelok","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"}],"enabled":true,"controllableName":"io:KeygoController","definition":{"states":[{"name":"io:OneWayStoppableButtonState"}],"widgetName":"RemoteControllerOneWay","attributes":[],"uiClass":"RemoteController","commands":[],"type":"REMOTE_CONTROLLER"}},{"deviceURL":"io:\/\/xxx\/8709729","available":true,"synced":true,"type":4,"states":[],"label":"Brelok","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"}],"enabled":true,"controllableName":"io:KeygoController","definition":{"states":[{"name":"io:OneWayStoppableButtonState"}],"widgetName":"RemoteControllerOneWay","attributes":[],"uiClass":"RemoteController","commands":[],"type":"REMOTE_CONTROLLER"}},{"deviceURL":"io:\/\/xxx\/8412434","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"good"},{"type":1,"name":"core:RSSILevelState","value":100},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":0,"x_time":"disable","kinematics":"EVB_standard","current_position":0,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":0},{"type":1,"name":"core:ClosureState","value":0},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":0},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Gabinet drzwi ba"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":32},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Gabinet drzwi balkon","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/1384310","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":70},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":35271,"x_time":"disable","kinematics":"EVB_standard","current_position":51200,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":69},{"type":1,"name":"core:ClosureState","value":100},{"type":3,"name":"core:OpenClosedState","value":"closed"},{"type":1,"name":"core:TargetClosureState","value":100},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Sypialnia drzwi"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":68},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Sypialnia drzwi balk","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/11843572","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":64},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":51200,"x_time":"disable","kinematics":"EVB_standard","current_position":11802,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":100},{"type":1,"name":"core:ClosureState","value":23},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":23},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Jadalnia Pó?noc"},{"type":1,"name":"core:Memorized1PositionState","value":33},{"type":1,"name":"core:Memorized1OrientationState","value":0},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Jadalnia Północ","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"internal:\/\/xxx\/pod\/0","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:CountryCodeState","value":"PL"},{"type":1,"name":"internal:LightingLedPodModeState","value":1},{"type":3,"name":"core:NameState","value":"Box"},{"type":3,"name":"internal:BatteryStatusState","value":"no"},{"type":3,"name":"core:LocalIPv4AddressState","value":"192.168.2.3"},{"type":3,"name":"core:ConnectivityState","value":"online"}],"label":"Przycisk sensorowy","subsystemId":0,"attributes":[],"enabled":true,"controllableName":"internal:PodV2Component","definition":{"states":[{"name":"core:ConnectivityState"},{"name":"core:LocalIPv4AddressState"},{"name":"core:CountryCodeState"},{"name":"internal:LightingLedPodModeState"},{"name":"core:CyclicButtonState"},{"name":"core:NameState"},{"name":"internal:BatteryStatusState"}],"widgetName":"Pod","attributes":[],"uiClass":"Pod","commands":[{"commandName":"deactivateCalendar","nparams":0},{"commandName":"refreshPodMode","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"setPodLedOff","nparams":0},{"nparams":1,"commandName":"setCalendar","paramsSig":"p1"},{"commandName":"update","nparams":0},{"commandName":"setPodLedOn","nparams":0},{"commandName":"refreshBatteryStatus","nparams":0},{"nparams":1,"commandName":"setLightingLedPodMode","paramsSig":"p1"},{"commandName":"activateCalendar","nparams":0},{"commandName":"refreshUpdateStatus","nparams":0},{"nparams":1,"commandName":"setCountryCode","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/15208900","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"low"},{"type":1,"name":"core:RSSILevelState","value":40},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":51200,"x_time":"disable","kinematics":"EVB_standard","current_position":51200,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":100},{"type":1,"name":"core:ClosureState","value":100},{"type":3,"name":"core:OpenClosedState","value":"closed"},{"type":1,"name":"core:TargetClosureState","value":100},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Jadalnia Po?udni"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":7},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Jadalnia Południe","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/2708733","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":62},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":51200,"x_time":"disable","kinematics":"EVB_standard","current_position":33119,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":100},{"type":1,"name":"core:ClosureState","value":65},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":65},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Salon HS FIX"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":0},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Salon HS FIX","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/5129293","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":48},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":28444,"x_time":"disable","kinematics":"EVB_standard","current_position":42985,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":56},{"type":1,"name":"core:ClosureState","value":84},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":84},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Jadalnia HS drzw"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":7},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Jadalnia HS drzwi","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/14998591","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":42},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":0,"x_time":"disable","kinematics":"EVB_standard","current_position":50063,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":0},{"type":1,"name":"core:ClosureState","value":98},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":98},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"SalonFixOgród Pr"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":0},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"SalonFixOgród Prawy","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/12189258","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":46},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":27876,"x_time":"disable","kinematics":"EVB_standard","current_position":51200,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":54},{"type":1,"name":"core:ClosureState","value":100},{"type":3,"name":"core:OpenClosedState","value":"closed"},{"type":1,"name":"core:TargetClosureState","value":100},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Jadalnia HS FIX"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":8},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Jadalnia HS FIX","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/472662","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"good"},{"type":1,"name":"core:RSSILevelState","value":86},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":0,"x_time":"disable","kinematics":"EVB_standard","current_position":15384,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":0},{"type":1,"name":"core:ClosureState","value":30},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":30},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"?azienka lufick"},{"type":1,"name":"core:Memorized1PositionState","value":30},{"type":1,"name":"core:Memorized1OrientationState","value":0},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Łazienka lufick","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/7798977","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":70},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":0,"x_time":"disable","kinematics":"EVB_standard","current_position":51200,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":0},{"type":1,"name":"core:ClosureState","value":100},{"type":3,"name":"core:OpenClosedState","value":"closed"},{"type":1,"name":"core:TargetClosureState","value":100},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Kuchnia panorama"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":7},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Kuchnia panorama","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/5284290","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":56},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":0,"x_time":"disable","kinematics":"EVB_standard","current_position":5147,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":0},{"type":1,"name":"core:ClosureState","value":10},{"type":3,"name":"core:OpenClosedState","value":"open"},{"type":1,"name":"core:TargetClosureState","value":10},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Salon HS drzwi"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":0},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Salon HS drzwi","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/3736687","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":56},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":11947,"x_time":"disable","kinematics":"EVB_standard","current_position":51200,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":23},{"type":1,"name":"core:ClosureState","value":100},{"type":3,"name":"core:OpenClosedState","value":"closed"},{"type":1,"name":"core:TargetClosureState","value":100},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Salon Fix Ogród"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":0},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Salon Fix Ogród Lewy","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"internal:\/\/xxx\/alarm\/0","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"internal:IntrusionDetectedState","value":"notDetected"},{"type":3,"name":"core:NameState","value":"alarm name"},{"type":3,"name":"internal:CurrentAlarmModeState","value":"off"},{"type":3,"name":"internal:TargetAlarmModeState","value":"off"},{"type":1,"name":"internal:AlarmDelayState","value":30}],"label":"Alarm","subsystemId":0,"attributes":[],"enabled":true,"controllableName":"internal:TSKAlarmComponent","definition":{"states":[{"name":"internal:TargetAlarmModeState"},{"name":"internal:AlarmDelayState"},{"name":"core:NameState"},{"name":"internal:IntrusionDetectedState"},{"name":"internal:CurrentAlarmModeState"}],"widgetName":"TSKAlarmController","attributes":[],"uiClass":"Alarm","commands":[{"commandName":"arm","nparams":0},{"commandName":"alarmOn","nparams":0},{"commandName":"disarm","nparams":0},{"nparams":1,"commandName":"setTargetAlarmMode","paramsSig":"p1"},{"commandName":"on","nparams":0},{"commandName":"refreshAlarmDelay","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"off","nparams":0},{"commandName":"alarmPartial2","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"commandName":"alarmOff","nparams":0},{"commandName":"alarmPartial1","nparams":0},{"nparams":1,"commandName":"setIntrusionDetected","paramsSig":"p1"},{"nparams":1,"commandName":"setAlarmDelay","paramsSig":"p1"},{"commandName":"refreshCurrentAlarmMode","nparams":0},{"commandName":"refreshIntrusionDetected","nparams":0}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/9578774","available":true,"synced":true,"type":5,"states":[],"label":"IO (9578774)","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"}],"enabled":true,"controllableName":"io:StackComponent","definition":{"states":[],"widgetName":"IOStack","attributes":[],"uiClass":"ProtocolGateway","commands":[{"nparams":1,"commandName":"discoverActuators","paramsSig":"p1"},{"commandName":"joinNetwork","nparams":0},{"nparams":1,"commandName":"advancedSomfyDiscover","paramsSig":"p1"},{"commandName":"resetNetworkSecurity","nparams":0},{"commandName":"shareNetwork","nparams":0},{"nparams":0,"commandName":"discover1WayController","paramsSig":"*p1,*p2"},{"nparams":1,"commandName":"discoverSensors","paramsSig":"p1"},{"commandName":"discoverSomfyUnsetActuators","nparams":0}],"type":"PROTOCOL_GATEWAY"}},{"deviceURL":"io:\/\/xxx\/8693649","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":78},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":33564,"x_time":"disable","kinematics":"EVB_standard","current_position":51200,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":66},{"type":1,"name":"core:ClosureState","value":100},{"type":3,"name":"core:OpenClosedState","value":"closed"},{"type":1,"name":"core:TargetClosureState","value":100},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Sypialnia FIX og"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":66},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Sypialnia FIX ogród","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","nparams":0},{"commandName":"stopIdentify","nparams":0},{"commandName":"identify","nparams":0},{"nparams":1,"commandName":"advancedRefresh","paramsSig":"p1"},{"commandName":"keepOneWayControllersAndDeleteNode","nparams":0},{"commandName":"refreshMemorized1Position","nparams":0},{"nparams":1,"commandName":"unpairOneWayController","paramsSig":"p1,*p2"},{"commandName":"up","nparams":0},{"commandName":"close","nparams":0},{"nparams":1,"commandName":"setName","paramsSig":"p1"},{"nparams":1,"commandName":"setSecuredPosition","paramsSig":"p1"},{"nparams":1,"commandName":"setPosition","paramsSig":"p1"},{"commandName":"sendIOKey","nparams":0},{"commandName":"getName","nparams":0},{"commandName":"my","nparams":0},{"nparams":1,"commandName":"setClosure","paramsSig":"p1"}],"type":"ACTUATOR"}},{"deviceURL":"io:\/\/xxx\/8709728","available":true,"synced":true,"type":4,"states":[{"type":3,"name":"io:OneWayStoppableButtonState","value":"released"}],"label":"Brelok","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"}],"enabled":true,"controllableName":"io:KeygoController","definition":{"states":[{"name":"io:OneWayStoppableButtonState"}],"widgetName":"RemoteControllerOneWay","attributes":[],"uiClass":"RemoteController","commands":[],"type":"REMOTE_CONTROLLER"}},{"deviceURL":"io:\/\/xxx\/8709730","available":true,"synced":true,"type":4,"states":[],"label":"Brelok","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"}],"enabled":true,"controllableName":"io:KeygoController","definition":{"states":[{"name":"io:OneWayStoppableButtonState"}],"widgetName":"RemoteControllerOneWay","attributes":[],"uiClass":"RemoteController","commands":[],"type":"REMOTE_CONTROLLER"}},{"deviceURL":"io:\/\/xxx\/5762295","available":true,"synced":true,"type":1,"states":[{"type":3,"name":"core:StatusState","value":"available"},{"type":3,"name":"core:DiscreteRSSILevelState","value":"normal"},{"type":1,"name":"core:RSSILevelState","value":64},{"type":11,"name":"core:ManufacturerSettingsState","value":{"current_tilt":51200,"x_time":"disable","kinematics":"EVB_standard","current_position":51200,"roll_end_limit_state":"Manual_validated","setting_state":"User mode","unroll_end_limit_state":"Manual_validated"}},{"type":1,"name":"core:SlateOrientationState","value":100},{"type":1,"name":"core:ClosureState","value":100},{"type":3,"name":"core:OpenClosedState","value":"closed"},{"type":1,"name":"core:TargetClosureState","value":100},{"type":6,"name":"core:MovingState","value":false},{"type":3,"name":"core:NameState","value":"Schody"},{"type":1,"name":"core:Memorized1PositionState","value":100},{"type":1,"name":"core:Memorized1OrientationState","value":0},{"type":1,"name":"core:SecuredPositionState","value":0}],"label":"Schody","subsystemId":0,"attributes":[{"type":3,"name":"core:Manufacturer","value":"Somfy"},{"type":3,"name":"core:FirmwareRevision","value":"5128194A09"}],"enabled":true,"controllableName":"io:ExteriorVenetianBlindIOComponent","definition":{"states":[{"name":"core:DiscreteRSSILevelState"},{"name":"core:RSSILevelState"},{"name":"core:ManufacturerSettingsState"},{"name":"core:NameState"},{"name":"core:TargetClosureState"},{"name":"core:SecuredPositionState"},{"name":"core:AdditionalStatusState"},{"name":"core:SlateOrientationState"},{"name":"core:Memorized1PositionState"},{"name":"core:MovingState"},{"name":"core:ClosureState"},{"name":"core:OpenClosedState"},{"name":"core:StatusState"},{"name":"core:Memorized1OrientationState"}],"widgetName":"PositionableExteriorVenetianBlind","attributes":[],"uiClass":"ExteriorVenetianBlind","commands":[{"commandName":"stop","nparams":0},{"nparams":1,"commandName":"delayedStopIdentify","paramsSig":"p1"},{"nparams":1,"commandName":"setMemorized1Orientation","paramsSig":"p1"},{"nparams":2,"commandName":"runManufacturerSettingsCommand","paramsSig":"p1,p2"},{"commandName":"down","nparams":0},{"commandName":"open","nparams":0},{"commandName":"unpairAllOneWayControllers","nparams":0},{"nparams":2,"commandName":"setClosureAndOrientation","paramsSig":"p1,p2"},{"nparams":1,"commandName":"pairOneWayController","paramsSig":"p1,*p2"},{"nparams":1,"commandName":"wink","paramsSig":"p1"},{"commandName":"unpairAllOneWayControllersAndDeleteNode","nparams":0},{"nparams":1,"commandName":"setMemorized1Position","paramsSig":"p1"},{"nparams":1,"commandName":"setOrientation","paramsSig":"p1"},{"nparams":1,"commandName":"setConfigState","paramsSig":"p1"},{"commandName":"startIdentify","npararoot@ampio:~ #

panjazzon avatar Jun 18 '22 15:06 panjazzon

Thank you, I will include that in the next update :)

nikkow avatar Jun 19 '22 08:06 nikkow

Hello, i was looking in to the commands part of what the tahoma read node returns.. The "rotation" command was swapped for setOrientation command.. As i installed this latest dev version (3.0) before a i tried a quick fix in my /home/.../.node-red/node_modules/node-red-contrib-tahoma/dist/nodes/tahoma.js file

changed rotation to setOrientation and it works

case 'customRotation':
      return {
        command: 'setOrientation',
        expectedState: { orientation: parseInt(payload.orientation, 10) },
        labels: {
          done: `Rotated to ${payload.orientation}`,
          progress: `Rotating to ${payload.orientation}...`,
        },
        parameters: [parseInt(payload.orientation, 10)],
      };

Finally a local control of my blinds!! FINALY!! :) .. thank you for your awesome contribution!

marekhalmo avatar Jun 23 '22 12:06 marekhalmo

@nikkow can you do the change in GIT? I did the original rotation entry to the code but i have some issues with my fork of this project..

I will report if any other issues arise

marekhalmo avatar Jun 23 '22 12:06 marekhalmo

A created a pull request for that .. feel free to merge :)

marekhalmo avatar Jun 23 '22 12:06 marekhalmo

I had to reinstall the entire smart home. Unfortunately customRotation function seems to not working again. I tried your fix @marekhalmo marekhalamo by editing the tahoma.js file but it didn't help. I don't know if the problem is only with me,

@marekhalmo - does Customrotation work for you?

Version of node-red: v3.1.0. Version of node-red-contrib-tahoma: 3.0.0.beta5 Version of node (node -v): v20.6.1 Version of npm (npm -v): 10.1.0 Where is node-red installed Raspberry How is node-red installed: npm

panjazzon avatar Oct 10 '23 14:10 panjazzon

Everything broke for me just today after power outage.. I'm not sure what happened but it seems that my box got forced an update. I will try to check what is happening tomorrow and let you know...

marekhalmo avatar Oct 20 '23 20:10 marekhalmo

Thank you, I'm waiting to hear from you

panjazzon avatar Oct 24 '23 12:10 panjazzon

Any updates on this case?

panjazzon avatar Dec 03 '23 20:12 panjazzon

Hello everyone,

is there an update on this yet? I am currently only using the "open" and "close" actions for the external venetian blinds.

The turning can be set via Homekit. Perhaps something can be adopted here for the Node Red code?

Tanks a lot

Murmelspieler avatar Jan 22 '24 14:01 Murmelspieler

Hello, unfortunately there was no new release from the developer of this plugin..

if you know what to do you can take a look at my fork with the code where the rotation works flawlessly for the past 1+ years.

I hope this helps.

M.

marekhalmo avatar Jan 24 '24 20:01 marekhalmo

Hi,

you mean this code?

Unfortunately I have no idea where to put this. I thought this was already integrated

case 'customRotation':
      return {
        command: 'setOrientation',
        expectedState: { orientation: parseInt(payload.orientation, 10) },
        labels: {
          done: `Rotated to ${payload.orientation}`,
          progress: `Rotating to ${payload.orientation}...`,
        },
        parameters: [parseInt(payload.orientation, 10)],
      };

Murmelspieler avatar Jan 26 '24 16:01 Murmelspieler

Hello.. yes that is the fix.. you have to update that in your node-red tahoma node. The file should be located somewhere here (it is there on my raspberrypi)

/home/.../.node-red/node_modules/node-red-contrib-tahoma/dist/nodes/tahoma.js

marekhalmo avatar Jan 26 '24 16:01 marekhalmo

Once you open the file you will surely see where to put that snippet...

marekhalmo avatar Jan 26 '24 16:01 marekhalmo

I tried this fix but it didn't help. Let us know if it work for you. Anyway I made research but I didn't find any information about Somfy API. Do you know where can I find it?

panjazzon avatar Jan 27 '24 15:01 panjazzon

Hi,

i have change the tahoma.js I have replaced the word roation with setOrienation. Reboot of node red and it worked.

Thanks a lot.

TaHoma Version: 1.21 which version are you using?

@panjazzon Yes, you're right, you can't use the PI. For me it only works via a Linux on a Mini PC. I also made the changes on the PI, but it didn't work there.

Murmelspieler avatar Jan 27 '24 18:01 Murmelspieler

Hi. My TaHoma version: 1.21.0(348) Node-Red v3.1.0 Platform - Rasberry Pi

I modyfied tahoma.js

};
        case 'customRotation':
            return {
                command: 'setOrientation',
                expectedState: { orientation: parseInt(payload.orientation, 10) },
                labels: {
                    done: "Rotated to ".concat(payload.orientation),
                    progress: "Rotating to ".concat(payload.orientation, "..."),
                },
                parameters: [parseInt(payload.orientation, 10)],
            };

Rebooted node-red, rebooted device and still no luck. Rotation doesn't work.

@Murmelspieler When you say I can't use PI you mean I can't use Raspberry Pi?

panjazzon avatar Jan 28 '24 16:01 panjazzon

What commands are you sending to the node?

marekhalmo avatar Jan 28 '24 18:01 marekhalmo

Commands are correct (eg. {"action":"customRotation","orientation":0}

Looks like @Murmelspieler is 100% right - it WILL NOT WORK on Raspberry Pi platform. I moved my node-red installation to Synology Nas (installed in docker), modified tahoma.js and it works like charm. I don't know why it's not working on Raspberry. It looks like it's platform related issue, not the code itself. Thank you @Murmelspieler for pointing out the problem, it helped me a lot. Thank you @marekhalmo for your fix too, I hope someone, someday will integrate it to official stable release.

panjazzon avatar Jan 28 '24 19:01 panjazzon

I run .y system on RPI 3 for the past 4 yers and it works... let me check the command

marekhalmo avatar Jan 28 '24 19:01 marekhalmo

This is one of the commands I'm sending

{"action":"customRotation","orientation":"25"}

the problem is probaby that you are not sending string but number..

let me know if that works..

marekhalmo avatar Jan 28 '24 19:01 marekhalmo

BTW I'm running my box in the dev mode (api accessible locally).. maybe that is also one of the things that needs to be done..

marekhalmo avatar Jan 28 '24 19:01 marekhalmo

The same command works on Synology. On Raspberry looking on red-node interface seems to be working too, It displays confirmation "rotated to 50" below the node - see the attached screenshots. Unfortunately only displays, there is no real action on blinds.

Zrzut ekranu 2024-01-28 o 20 44 46 Zrzut ekranu 2024-01-28 o 20 45 44

panjazzon avatar Jan 28 '24 19:01 panjazzon

Other actions work ok?

marekhalmo avatar Jan 28 '24 19:01 marekhalmo

Yes, everything but rotation works.

panjazzon avatar Jan 28 '24 20:01 panjazzon

I think there was a way to get all api functions from the box... can't remember how.. it was somewhere on the tahoma developer account page... i can check that tomorrow if i i remember... Which box are you using?

marekhalmo avatar Jan 28 '24 20:01 marekhalmo

Hello.. i wanted to give you a command to fetch all connected devices from your tahoma box with their respective allowed commands. That way we could in theory see what devices are there and if the customRotation command is available for you.. but it seems that https://developer.somfy.com/ does not work anymore.. I can't remember anymore how i did this in the past (it is 2 years since i touched this topic)..

I found this swagger api: https://somfy-developer.github.io/Somfy-TaHoma-Developer-Mode/ If you put your own pin and authorize there (not sure how to do that anymore) - you might be able to call your local box and fetch the data. If you call "/setup/devices" you should be able to see list of commands that you are able to send to each device in your home (https://somfy-developer.github.io/Somfy-TaHoma-Developer-Mode/#/Setup/get_setup_devices)

Post the response here so we can see what is going on, strip any security tokens if there are there and let me know which device you are trying to address..

M.

marekhalmo avatar Jan 29 '24 08:01 marekhalmo

No luck. Zrzut ekranu 2024-02-1 o 19 40 08

panjazzon avatar Feb 01 '24 18:02 panjazzon

Hi everyone,

I couldn't get it to run in Docker (NAS - Synology) either, because I couldn't install the beta version. But that's because I taught myself everything, since I'm not a programmer :)

On my server I had to search and replace the TaHoma.js in the root folder. The files in the user do not work. I think the same is the problem with the PI. I have changed the TaHoma.js in the user but without success. Even if I change the "to rotated" to "tooooooo rotated" (so the text under the node) it still shows "to ....". so it is the wrong file.

On my PI only the root folder is empty. I think this is due to the authorization :/

PS: Do you have any idea how I can read out the wind sensor? During a storm, the Raffstorrs move upwards, but I don't notice this in the Node red. I would like to return to the last position 45 minutes after the storm :)

Murmelspieler avatar Feb 05 '24 17:02 Murmelspieler