User Tools

Site Tools


x10port

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
x10port [2008/10/04 09:47] seststx10port [2018/11/03 02:59] (current) – external edit 127.0.0.1
Line 1: Line 1:
-{{port64.png|}}+{{:pci_card64.png| Hardware Item}}
 ====== X10Port ====== ====== X10Port ======
-This module is a part of the [[NetHomeServer]]. The X10Port manages the connection to the CM12-interface module via a serial port. The CM12-interface module can send and receive X10 commands over the mains wires. Recieved X10 messages are transmitted as Events over the internal NetHomeServer event bus. +This module is a part of the [[:start|NetHomeServer]]. The X10Port manages the connection to the CM12-interface module via a serial port. The CM12-interface module can send and receive X10 commands over the mains wires. Recieved X10 messages are transmitted as Events over the internal NetHomeServer event bus. The X10 protocol uses separate address and function messages and the actual devices knows who is currently addressed. The X10Port hides this for outgoing messages. 
 ===== Attributes ===== ===== Attributes =====
   * **ComPort** //[get] [set]// Serial port where the CM12 is connected. For example COM1 on windows or /dev/ttyUSB0 on Linux   * **ComPort** //[get] [set]// Serial port where the CM12 is connected. For example COM1 on windows or /dev/ttyUSB0 on Linux
Line 15: Line 16:
 Note: All received events heed the "Target" attribute if it is specified. The received events can be considered an internal interface, please use the corresponding [[X10Lamp]] or [[X10Scene]] to control devices. Note: All received events heed the "Target" attribute if it is specified. The received events can be considered an internal interface, please use the corresponding [[X10Lamp]] or [[X10Scene]] to control devices.
  
-  * Receives **X10allLightsOff(HouseCode)** Turns off all X10 devices regarded as lamps with the specified HouseCode +  * Receives **X10AllLightsOff(HouseCode)** Turns off all X10 devices regarded as lamps with the specified HouseCode 
-  * Receives **X10allLightsOn(HouseCode)** Turns on all X10 devices regarded as lamps with the specified HouseCode +  * Receives **X10AllLightsOn(HouseCode)** Turns on all X10 devices regarded as lamps with the specified HouseCode 
-  * Receives **X10allUnitsOff(HouseCode)** Turns off all X10 devices with the specified HouseCode+  * Receives **X10AllUnitsOff(HouseCode)** Turns off all X10 devices with the specified HouseCode 
 +  * Receives **X10PresetDim1(HouseCode)** Switches all X10 devices with the specified HouseCode to preset Dim state 1 
 +  * Receives **X10PresetDim2(HouseCode)** Switches all X10 devices with the specified HouseCode to preset Dim state 2
   * Receives **X10SwitchUnitOff(HouseCode, DeviceCode)** Turns off the specified X10 device   * Receives **X10SwitchUnitOff(HouseCode, DeviceCode)** Turns off the specified X10 device
   * Receives **X10SwitchUnitOn(HouseCode, DeviceCode)** Turns on the specified X10 device   * Receives **X10SwitchUnitOn(HouseCode, DeviceCode)** Turns on the specified X10 device
   * Receives **X10BrightUnit(HouseCode, DeviceCode)** Brights the specified X10 device   * Receives **X10BrightUnit(HouseCode, DeviceCode)** Brights the specified X10 device
   * Receives **X10DimUnit(HouseCode, DeviceCode)** Dims the specified X10 device   * Receives **X10DimUnit(HouseCode, DeviceCode)** Dims the specified X10 device
 +
 ==== See also ==== ==== See also ====
-[[NetHomeServer]], [[X10]]+[[:start|NetHomeServer]], [[X10Lamp]], [[X10]]
  
x10port.1223106421.txt.gz · Last modified: 2018/11/03 02:57 (external edit)