nodon OCTAN Скачать руководство пользователя страница 9

Please wait until VeraEdge configures it according to your need. 
 

3.

 

Create a Scene with LUA Script

 

 
To finish, you need now to create a Scene. Chose the Octan Remote as a trigger and 
put a scene ID of 0  
Then, in the step “Finish the Scene” of you scene creation, please add a LUUP code by 
clicking on “Luup Code defined”.  
You  need  to  reach  the  LastSceneID  that  contain  the  right  value  of  which  button  was 
pressed with what kind of press. 
 
Below an example  
 

 

----------------------------------------------------------------------- 
luup.call_delay('scene_controller',1) 
function scene_controller() 
   local lastSceneID = luup.variable_get("urn:micasaverde-
com:serviceId:SceneController1","LastSceneID",#DEVICE_ID#)   
   if (lastSceneID == "#REMOTE_BUTTON_ID#") then 
      luup.call_action("urn:micasaverde-
com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = 
"#scene_num#"}, 0) 
   end 
end 
------------------------------------------------------------------------ 

#DEVICE_ID# replaced with your Octan Remote ID 
#REMOTE_BUTTON_ID# replaced with button ID (ex 10,20,30,40,...) 
#scene_num# replaced with Vera Scene ID 
 
If you want to launch Scene #1 while the Scene Activation ID 22 is detected (it’s a long 
press on ).  

-

 

#DEVICE_ID# = Octan Remote (or the name you chosed) 

-

 

#REMOTE_BUTTON_ID# = 22 

-

 

#scene_num# = 1 

 

Содержание OCTAN

Страница 1: ...TUTORIAL HOW TO USE THE NODON OCTAN REMOTE WITH THE VERA EDGE Any question please contact support id rf net ...

Страница 2: ...te has 4 buttons with 4 possible actions on each button Single Press Double Press Long Press and Release from Long Press You can use the NodOn Octan Remote in 2 different modes Standalone Mode You control your associated devices directly without involving a Home Automation gateway Two profiles are available Mono you control a device from 1 button and Duo you control a device from 2 buttons Gateway...

Страница 3: ...rotocol 868 4MHz 500 Series Z Wave Plus certified Range 40m indoor outdoor 80m Dimension 80 80 15mm Warranty 2 years 2 INCLUSION OF THE REMOTE INTO THE VERAEDGE Connect to your VeraEdge web interface and select Devices then Add Device then in the list pick Generic Device Before Inclusion it is advisable to make an Exclusion to ensure that the remote control is not included in another Z Wave networ...

Страница 4: ...1 second The LED glows in pink to confirm the selection Then press the button The LED blinks in pink to confirm the selection then in green to confirm the Inclusion process after around 20sec For details about the Learning mode Inclusion Exclusion of the Octan Remote please refer to its User Guide THE INCLUSION PROCESS MUST BE DONE CLOSE TO THE VERAEDGE GATEWAY ...

Страница 5: ...If you want to pass to Scene Activation mode you need to modify Configuration Parameter 3 A Central Scene Mode Default Mode In this mode the VeraEdge can currently understand 4 scenes from the Octan Remote 1 for a Single Press on each button The VeraEdge currently ignores double Press Long Press and Release There are 2 ways to set up scene in this mode You already have scene and you want to trig t...

Страница 6: ...from Home to Away Note A known VeraEdge s bug is that instead of displaying Button 1 Button 2 etc the web interface displays 4 times the name False In this case consider that the first false is Button 1 the second Button 2 etc You can also create a Scene through the scene menu and select the Octan Remote as a trigger For this choose Option A scene is activated and specify 10 for button 20 for butt...

Страница 7: ...r technical support and the one of Vera if you have questions To activate the Scene Activation mode you will need to do the following steps 1 Add configuration parameter to the Octan 2 Ask the VeraEdge to apply your configuration 3 Fix a known VeraEdge bug with some LUA script Indeed natively the VeraEdge doesn t extract the right Scene ID so you must get it using Script 1 Add configuration parame...

Страница 8: ...e 1 Scene Activation Mode Confirm the setting and save it 2 Ask VeraEdge to apply your configuration Go back to the main menu of the Octan Remote and click on the button called Advanced Go to the tab called Commands Once in the menu click on configure node right now Once you receive the confirmation that the VeraEdge got the command please wake up the Octan Remote by pushing any of its buttons Mak...

Страница 9: ...xample luup call_delay scene_controller 1 function scene_controller local lastSceneID luup variable_get urn micasaverde com serviceId SceneController1 LastSceneID DEVICE_ID if lastSceneID REMOTE_BUTTON_ID then luup call_action urn micasaverde com serviceId HomeAutomationGateway1 RunScene SceneNum scene_num 0 end end DEVICE_ID replaced with your Octan Remote ID REMOTE_BUTTON_ID replaced with button...

Страница 10: ...nfiguration parameters and Association groups please check the user guide of the Octan Remote First you have to add configuration parameter to the Octan Remote Select your Octan Remote in the Devices menu and then click on the menu called Device Options Then you should arrive on a menu where you can see a button call Add Configuration settings Click on it and you should be able to set up a new con...

Страница 11: ...lready included in your VeraEdge network that you wan to control with buttons and Confirm the setting and save it Then go back to the main menu of the Octan Remote and click on the button called Advanced Go to the tab called Commands Once in the menu click on configure node right now Once you receive the confirmation that the VeraEdge got the command please wake up the Octan Remote by pushing any ...

Страница 12: ...ake this more user friendly and easy to use The 2 others portable controllers of NodOn Soft Remote and Wall Switch are working in the exact same manner as the NodOn Octan Remote once the Inclusion is done You can apply above tutorial For Learning modes Inclusion Exclusion of the Wall Switch and the Soft Remote please refer to the relevant User Guide Soft Remote NodOn Z Wave Plus Wall Switch NodOn ...

Отзывы: