GenericProntoCommander

This module is a part of the NetHomeServer. The GenericProntoCommander is dynamic control Item. You can add the available actions by specifying them in a Configuration File. Each action is defined as a Pronto Command that will be sent when the corresponding action is invoked. The GenericProntoCommander used is when you have a device (for example a radio controlled switch) which is not yet supported by NetHomeServer, but you have the Pronto-codes for the radio signals. Both the AudioProtocolTransmitter and the CULTransceiver supports sending Pronto codes, so this way you may control new devices.

The Configuration File is a text file with the following format:

 <Action Name1>,<Pronto Code1>
 <Action Name2>,<Pronto Code3>
 ...

For example:

On,0000 0067 0000 0012 0157 00a5 0018 003d 0019 003b 0017 003d 0019 003b 0018 003d 0019 0011...
Play,0000 0067 0000 0012 0157 00a5 001a 003b 0018 003d 001a 003b 0017 003d 001a 003b 0018 0013...
Stop,0000 0067 0000 0010 0018 003e 000d 0048 0009 004b 000d 0048 0008 004d 000a 0021 0005 0079...
Next,0000 0067 0000 0012 0155 00a8 0018 003d 0017 003e 0017 003d 0017 003e 0017 003e 0017 0013...

Pronto-codes may be found on the net, but may also be found using the Protocol Analyzer if you have a compatible radio/IR receiver.

With the the CULTransceiver you can also send the messages as IR if you have a PowerMid

Attributes

  • ConfigFile [get] [set] Name of the fonfiguration file (including file path)
  • PortName [get] [set] Name of the sending port to use. Uses any compatible port if left blank
  • UseModulation [get] [set] If set to true, the modulation specification in the pronto code will be used. This is used when the signal shall be sent as IR with a PowerMid.
  • Repeat [get] [set] Number of times the signal should be repeated

Actions

Any actions defined in the ConfigFile

See also


Personal Tools