From 46fbb3ea811b49d6ecf9a15eeafd9c2c0ae7792c Mon Sep 17 00:00:00 2001 From: Risiko <> Date: Sat, 8 Apr 2017 17:19:39 +0000 Subject: [PATCH] 10_pilight_ctrl: fix support GW-iwds07 git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13936 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- CHANGED | 2 +- FHEM/10_pilight_ctrl.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGED b/CHANGED index 58c30da56..29921a6d9 100644 --- a/CHANGED +++ b/CHANGED @@ -1,6 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. - - new: 10_pilight_ctrl: support contact sensor GS-iwds07 + - new: 10_pilight_ctrl: support contact sensor GW-iwds07 - new: 59_LuftdatenInfo: introducing new module to fetch PM, temperature and humidity data from Luftdaten.info - change: 93_DbRep: new version 4.12.1, get tableinfo changed for MySQL diff --git a/FHEM/10_pilight_ctrl.pm b/FHEM/10_pilight_ctrl.pm index 38c398741..078610d6a 100644 --- a/FHEM/10_pilight_ctrl.pm +++ b/FHEM/10_pilight_ctrl.pm @@ -46,7 +46,7 @@ # V 1.19 2016-09-20 - FIX: PERL WARNING: Subroutine from Blocking.pm redefined # V 1.20 2016-10-27 - FIX: ContactAsSwitch protocol independend # V 1.21 2016-11-13 - NEW: support contact sensors -# V 1.22 2017-04-08 - NEW: support contact sensor GS-iwds07 +# V 1.22 2017-04-08 - NEW: support contact sensor GW-iwds07 ############################################## package main; @@ -842,7 +842,7 @@ sub pilight_ctrl_Parse($$) case m/contact/ {$protoID = 3;} case m/ev1527/ {$protoID = 3;} case m/sc2262/ {$protoID = 3;} - case m/GW-iwds07/ {$protoID = 3;} + case m/GW-iwds07/ {$protoID = 3; $id = $unit;} #protocol has no id #Weather Stations temperature, humidity case m/alecto/ {$protoID = 4;}