Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
fs20remapbutton [2008/09/14 21:55]
sestst created
fs20remapbutton [2018/11/03 02:59] (current)
Line 1: Line 1:
-{{port64.png|}}+{{:​server:​control64.png?nolink|}}
 ====== FS20RemapButton ====== ====== FS20RemapButton ======
-This module is a part of the [[NetHomeServer]]. The FS20RemapButton is not yet documented.+This module is a part of the [[:start|NetHomeServer]]. The FS20RemapButton is used to let FS20 buttons control events in the NetHomeServer. You may for example let an FS20 wall switch start your WEB-radio player program. The FS20RemapButton allows you to map all messages that can be sent from a button to specific commands.  
 +A command may for example be to call the //​on//​-method of a lamp or an external shell file.  The syntax of the command is described [[commandportsyntax|here]]. The supported commands are: //set, call, event, exec//. 
 + 
 +Note that depending on configuration ov the FS20-buttons ​not all commands may be generated. If a single button is configured, then only "​Toggle"​ (short press on the button) and "​DimLoop"​ (press and hold button) are generated. If a two button configuration is used on the FS20-device,​ then "​On",​ "​Off",​ "​Dim"​ and "​Bright"​ can be sent from the buttons. 
 ===== Attributes ===== ===== Attributes =====
-  * **HouseCode** //[get] [set]//  +  * **HouseCode** //[get] [set]// ​House code of the FS20Button 
-  * **DeviceCode** //[get] [set]//  +  * **DeviceCode** //[get] [set]// ​Device code of the FS20Button ​ 
-  * **FHZ1000PcPort** //[get] [set]//  +  * **FHZ1000PcPort** //[get] [set]// ​Port to use to recive commands 
-  * **OnCommand** //[get] [set]//  +  * **OnCommand** //[get] [set]// ​Command to execute when "​On"​ is received from the device 
-  * **OffCommand** //[get] [set]//  +  * **OffCommand** //[get] [set]// ​Command to execute when "​Off"​ is received from the device ​ 
-  * **BrightCommand** //[get] [set]//  +  * **BrightCommand** //[get] [set]// ​Command to execute when "​Bright"​ is received from the device 
-  * **DimCommand** //[get] [set]//  +  * **DimCommand** //[get] [set]// ​Command to execute when "​Dim"​ is received from the device 
-  * **ToggleCommand** //[get] [set]//  +  * **ToggleCommand** //[get] [set]// ​Command to execute when "​Toggle"​ is received from the device 
-  * **DimLoopCommand** //[get] [set]// ​+  * **DimLoopCommand** //[get] [set]// ​Command to execute when "​DimLoop"​ is received from the device
 ===== Actions ===== ===== Actions =====
-  * **on** ​  +  * **on** ​Directly trigger the "​On"​ command 
-  * **off** ​  +  * **off** ​Directly trigger the "​Off"​ command ​  
-  * **bright** ​  +  * **bright** ​Directly trigger the "​Bright"​ command ​ 
-  * **dim** ​  +  * **dim** ​Directly trigger the "​Dim"​ command ​ 
-  * **toggle** ​  +  * **toggle** ​Directly trigger the "​Toggle"​ command ​ 
-  * **dimLoop** ​ +  * **dimLoop** ​Directly trigger the "​DimLoop"​ command ​
 ==== See also ==== ==== See also ====
-[[NetHomeServer]]+[[:start|NetHomeServer]], [[commandportsyntax]],​ [[FS20]], [[FHZ1000PcPort]]
  

Personal Tools