Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.0.0.beta5 - customRotation doesn't work #61

Open
panjazzon opened this issue Jun 15, 2022 · 36 comments
Open

v3.0.0.beta5 - customRotation doesn't work #61

panjazzon opened this issue Jun 15, 2022 · 36 comments
Labels
beta Issues affecting pre-releases bug Somfy Issue Issue related to Somfy API. Not much we can do but request support from them :)
Milestone

Comments

@panjazzon
Copy link

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

@nikkow
Copy link
Owner

nikkow commented Jun 16, 2022

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 and placeholders with the correct information. You can use the one generated within your node-red instance.

Thanks!

@nikkow nikkow added this to the 3.0.0 milestone Jun 16, 2022
@nikkow nikkow added bug Somfy Issue Issue related to Somfy API. Not much we can do but request support from them :) beta Issues affecting pre-releases labels Jun 16, 2022
@panjazzon
Copy link
Author

panjazzon commented Jun 18, 2022

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:~ #

@nikkow
Copy link
Owner

nikkow commented Jun 19, 2022

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

@marekhalmo
Copy link
Contributor

marekhalmo commented Jun 23, 2022

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
Copy link
Contributor

@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
Copy link
Contributor

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

@panjazzon
Copy link
Author

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

@marekhalmo
Copy link
Contributor

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...

@panjazzon
Copy link
Author

Thank you, I'm waiting to hear from you

@panjazzon
Copy link
Author

Any updates on this case?

@Murmelspieler
Copy link

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

@marekhalmo
Copy link
Contributor

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.

@Murmelspieler
Copy link

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)],
      };

@marekhalmo
Copy link
Contributor

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
Copy link
Contributor

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

@panjazzon
Copy link
Author

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?

@Murmelspieler
Copy link

Murmelspieler commented Jan 27, 2024

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.

@panjazzon
Copy link
Author

panjazzon commented Jan 28, 2024

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?

@marekhalmo
Copy link
Contributor

What commands are you sending to the node?

@panjazzon
Copy link
Author

panjazzon commented Jan 28, 2024

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.

@marekhalmo
Copy link
Contributor

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

@marekhalmo
Copy link
Contributor

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
Copy link
Contributor

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..

@panjazzon
Copy link
Author

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

@marekhalmo
Copy link
Contributor

Other actions work ok?

@panjazzon
Copy link
Author

Yes, everything but rotation works.

@marekhalmo
Copy link
Contributor

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
Copy link
Contributor

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.

@panjazzon
Copy link
Author

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

@Murmelspieler
Copy link

Murmelspieler commented Feb 5, 2024

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
Copy link

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.

if you install the Tahoma app on your cell phone, you can only control the shutters and underneath, but you can also control the rotation of the external venetian blinds (2 controls).

Maybe that will help

@marekhalmo
Copy link
Contributor

@Murmelspieler - i was asking the technician about that as well. He said that the wind sensor does not connect to the central unit. It is bound directly to the blinds (same as standard remote).

Check your processes to see what user is used for node red (using htop command) , login under that user and try to search for that...

On my RPI i can go
sudo mc (open midnight commander)
and the modified file is in /home/openhabian/.node-red/node_modules/node-red-contrib-tahoma/src/nodes/tahoma.ts

i can see the change there via F4 (build in editor)..

@panjazzon
Copy link
Author

panjazzon commented Feb 5, 2024

@marekhalmo in my case Tahoma.js file was in

/volume1/docker/nodered/node_modules/node-red-contrib-tahoma/dist/nodes/tahoma.js

I think you should look for this file in docker folder, not in root or any user home folder

@Murmelspieler
Copy link

here is my Tahoma.js on the PI. but I can change it as I like, nothing happens.

Node red runs under the user I log in with.

XXX@raspberrypi:~/node_modules/node-red-contrib-tahoma/dist/nodes

@marekhalmo
Copy link
Contributor

Can you list the file after update?

@Murmelspieler
Copy link

Sorry for the late response.
I am currently having problems accessing the PI via ssh.
Will probably have to connect it to a screen etc. pp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Issues affecting pre-releases bug Somfy Issue Issue related to Somfy API. Not much we can do but request support from them :)
Projects
None yet
Development

No branches or pull requests

4 participants