Hi Andreas,
i'm BiOS from the FHEM Forum. Could you please add the relay Protocol, as i'm using your module to switch a GPIO relay via pilight connected to an respberry.
The neccessary change is to add the following to your protocol switch (tested and working):
case 'relay' { $code = $code . "\"gpio\":$systemcode, \"$param\":1"}
so you can define the gpio number to switch via the systemcode variable within FHEM.
Thanks a lot!
Hi Andreas, i'm BiOS from the FHEM Forum. Could you please add the relay Protocol, as i'm using your module to switch a GPIO relay via pilight connected to an respberry.
The neccessary change is to add the following to your protocol switch (tested and working): case 'relay' { $code = $code . "\"gpio\":$systemcode, \"$param\":1"}
so you can define the gpio number to switch via the systemcode variable within FHEM. Thanks a lot!