User Tools

Site Tools


fhz1000pcport

Differences

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

Link to this comparison view

Next revision
Previous revision
fhz1000pcport [2008/03/20 17:24] – created seststfhz1000pcport [2018/11/03 02:59] (current) – external edit 127.0.0.1
Line 1: Line 1:
-{{port64.png|}} +{{:server:hw64.png?nolink|}}
 ====== FHZ1000PcPort ====== ====== FHZ1000PcPort ======
-This module is a part of the [[NetHomeServer]]. The FHZ1000PcPort is used to communicate with a hardware device called [[FHZ1000Pc]]. The [[FHZ1000Pc]] gives access to the FS20 radio protocol which is used to control and monitor devices like dimmers, lamps, heating and switches. The [[FHZ1000Pc]] is connected to the server via USB.+This module is a part of the [[:start|NetHomeServer]]. The FHZ1000PcPort is used to communicate with a hardware device called [[FHZ1000Pc]]. The [[FHZ1000Pc]] gives access to the FS20 radio protocol which is used to control and monitor devices like dimmers, lamps, heating and switches.
  
 + 
 +[[FHZ1000Pc |{{fhz1000pc.png|fhz1000pc}}]]
 +
 +The [[FHZ1000Pc]] is connected to the server via USB. The FHZ1000PcPort will send any received FS20 radio messages as //FS20Event//-events on the [[NetHomeServer]] event bus. Received //FS20Command//-events will be sent as FS20 radio messages. This module is build using the [[FHZ1000PC]]-class.
  
 ===== Attributes ===== ===== Attributes =====
-  * **Delay** //[get] [set]// Between each command the execution halts for the duration of this delay. The delay is specified in seconds and allows fractions like 0.5+  * **State** //[get]// Connected or Disconnected, indicates if the port has found the hardware device
-  * **Command1** //[get] [set]//  The first Command to be executed at the action of the [[Scene]]. Se above for syntax+  * **ReceivedMessages** //[get]// Number of FS20-messages that has been received
-  * **Command2** //[get] [set]//  The second Command to be executed at the action of the [[Scene]]. Se above for syntax. +  * **SentMessages** //[get]// Number of FS20-messages that has been received.
-  * **Command3** //[get] [set]//  The third Command to be executed at the action of the [[Scene]]. Se above for syntax. +
-  * **Command4** //[get] [set]//  The fourth Command to be executed at the action of the [[Scene]]. Se above for syntax.+
  
 ===== Actions ===== ===== Actions =====
-  * **Action**  This command activates the [[Scene]]+  * **Reconnect**  If the port did not connect to the device at startup, it is possible to initiate a new attempt via this action. 
-  * **Off** Explicitly calls the defined OffCommandThis does not affect the schedule.+ 
 +===== Events ===== 
 +  * Receives **FS20Command(HouseCode, DeviceCode, Value)** Will send the received command to the specified addressAll parameters are in integer format, not the FS20 1-4-Format. 
 +  * Emits **FS20Event(HouseCode, DeviceCode, Value)** This event is emitted when an FS20 command is received from the [[FHZ1000Pc]]. 
 + 
 +The values in the events are FS20-commands which are the following: 
 +^Value   ^ Command         ^ 
 +|0       |Off                  | 
 +|1-16    |Dim to abs. position | 
 +|17      |On               | 
 +|18      |Dim Loop         | 
 +|19      |Dim down         | 
 +|20      |Dim up           | 
 +|21      |Flip On/Off      |
  
 ==== See also ==== ==== See also ====
-[[CommandPortSyntax|Command Port Syntax]]+[[FHZ1000PC]], [[:start|NetHomeServer]], [[FS20Lamp]], [[FS20RemapButton]], [[fs20]]
fhz1000pcport.1206030297.txt.gz · Last modified: 2018/11/03 02:57 (external edit)