fhem-pilight
Usage
Define
define <name> pilight <protocol>
Defines a module for setting pilight compartible switches on or off. See Sweetpi.
Supported protocols: kaku_switch, quigg_*, elro_he, elro_hc, silvercrest, pollin, brennenstuhl, mumbi, impuls, rsl366, rev1_switch, rev2_switch, clarus_switch, raw, and intertechno_old. If you need more, just write an issue!
Example:
define Weihnachtsbaum pilight kaku_switch
attr Weihnachtsbaum housecode 12323578
attr Weihnachtsbaum unitcode 0
If your pilight server does not run on localhost, please set both the attributes remote_ip and remote_port. If you are running pilight >3.0, then please define the port used by pilight settings: http://www.pilight.org/getting-started/settings/; fhem-plight uses 5000 by default.
This version is written for pilight 6.0. If you run a prior version, please set the following attribute:
attr Weihnachtsbaum useOldVersion 1
Attributes
attr <name> protocol <string>
Protocol used in pilight, e.g. "kaku_switch"
attr <name> housecode <string>
Housecode used in pilight (for protocol kaku*, clarus_switch, rev1_switch, rev2_switch, rev3_switch, quigg_switch, quigg_gt1000, quigg_gt7000 )
attr <name> systemcode <string>
Systemcode of your switch (for protocol elso, elro_he, elro_hc, silvercrest, impuls, rsl366, pollin, mumbi, brennenstuhl, intertechno_old)
attr <name> unitcode <string>
Unit code/device code used in pilight (all protocols)
attr <name> rawCode <string>
Raw code to send on/off-command with protocol "raw"
attr <name> remote_ip <string>
Remote IP of you pilight server (127.0.0.1 is default)
attr <name> remote_port <string>
Remote port of you pilight server (5000 is default)
attr <name> rawCodeOn <string>
Raw command to send to switch device ON (only used with protocol 'raw')
attr <name> rawCodeOff <string>
Raw command to send to switch device OFF (only used with protocol 'raw')
You can find more information on my website