andreas-fey / fhem-pilight

pilight module for FHEM
http://blog.andreas-fey.com/fhem-module-pilight/
GNU General Public License v3.0
5 stars 8 forks source link

other protocols #1

Closed subw0ofer closed 10 years ago

subw0ofer commented 10 years ago

Feature request:

Other protocols are using other variables to be sent to pilight. (e.g. "unitcode" instead of "unit") I had success with "elro"-protocol by editing following line to: my $data = "{ \"message\": \"send\", \"code\": {\"protocol\":[ \"$protocol\" ],\"systemcode\":\"$housecode\", \"unitcode\":\"$number\",\"$param\":\"1\"}}";

Is it possible to ad a variable to handle different protocols? I have barely no programming skills, otherwise i would do it myself.

(Information about different protocols: http://wiki.pilight.org/doku.php/protocols)

Thanks for your great work!

andreas-fey commented 10 years ago

Elso protocol is integrated with latest commit (https://github.com/andreas-fey/fhem-pilight/commit/4ae825290a510be741f22ee9b12ed8351fda38fc)