2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 12:46:03 +00:00

14_Hideki.pm: fix match regex

- avoid "Unknown code P12#751CBA4A31BFC751F4, help me!" errors in logfile
- forum:#125679

git-svn-id: https://svn.fhem.de/fhem/trunk@25560 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
sidey79 2022-01-25 21:43:09 +00:00
parent 7f75d10df1
commit 9dd6654fd4
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +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.
- bugfix: 14_Hideki.pm: fix match regex - forum:#125679
- bugfix: 66_EseraOneWire: fix match list
- change: 49_SSCAM: module ready for SVS 9.0.0 forum:#125646
- bugfix: 59_LuftdatenInfo: fix API endpoint

View File

@ -5,6 +5,7 @@
# and was modified by a few additions
# to support Hideki Sensors
# S. Butzek, HJGode, Ralf9 2015-2017
# S. Butzek 2018-2022
#
# changed the way crc and decrypt is used hjgode 20171129
@ -24,10 +25,10 @@ Hideki_Initialize($)
my ($hash) = @_;
$hash->{Match} = "^P12#75[A-F0-9]{17,30}"; # Laenge (Anhahl nibbles nach 0x75 )noch genauer spezifizieren
$hash->{DefFn} = "Hideki_Define";
$hash->{UndefFn} = "Hideki_Undef";
$hash->{ParseFn} = "Hideki_Parse";
$hash->{Match} = qr/^P12#75[A-F0-9]{14,30}/; # Laenge (Anhahl nibbles nach 0x75 )noch genauer spezifizieren
$hash->{DefFn} = \&Hideki_Define;
$hash->{UndefFn} = \&Hideki_Undef;
$hash->{ParseFn} = \&Hideki_Parse;
$hash->{AttrList} = "do_not_notify:0,1 showtime:0,1"
." ignore:0,1"
." windDirCorr windSpeedCorr"