attr <name> protocol <string>
Protocol used in pilight, e.g. "kaku_switch"attr <name> housecode <string>
Housecode used in pilight (for protocol kaku* and quigg_switch)attr <name> unitcode <string>
Unit code/device code used in pilight (for protocol kaku*, quigg_switch, elso, elro_he, elro_hc, silvercrest, pollin, intertechno_old)attr <name> systemcode <string>
Systemcode of your switch (for protocol elso, elro_he, elro_hc, silvercrest, pollin, intertechno_old)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)
define <name> pilight <protocol>
Defines a module for setting pilight compartible switches on or off. See Sweetpi.
Supported protocols: kaku_switch, quigg_switch, elro_he, elro_hc, silvercrest, pollin, mumbi, 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 5.0. If you run a version < 3.0, please set the following attribute:
attr Weihnachtsbaum useOldVersion 1
You can find more information on my website