10_pilight_ctrl: fix support GW-iwds07

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13936 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Risiko 2017-04-08 17:19:39 +00:00
parent fae8e370e5
commit 46fbb3ea81
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # 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 - new: 59_LuftdatenInfo: introducing new module to fetch PM, temperature
and humidity data from Luftdaten.info and humidity data from Luftdaten.info
- change: 93_DbRep: new version 4.12.1, get tableinfo changed for MySQL - change: 93_DbRep: new version 4.12.1, get tableinfo changed for MySQL

View File

@ -46,7 +46,7 @@
# V 1.19 2016-09-20 - FIX: PERL WARNING: Subroutine from Blocking.pm redefined # 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.20 2016-10-27 - FIX: ContactAsSwitch protocol independend
# V 1.21 2016-11-13 - NEW: support contact sensors # 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; package main;
@ -842,7 +842,7 @@ sub pilight_ctrl_Parse($$)
case m/contact/ {$protoID = 3;} case m/contact/ {$protoID = 3;}
case m/ev1527/ {$protoID = 3;} case m/ev1527/ {$protoID = 3;}
case m/sc2262/ {$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 #Weather Stations temperature, humidity
case m/alecto/ {$protoID = 4;} case m/alecto/ {$protoID = 4;}