mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +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/fhem@25560 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2b25f2f6c8
commit
649922d0f8
1
CHANGED
1
CHANGED
@ -1,5 +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.
|
||||||
|
- bugfix: 14_Hideki.pm: fix match regex - forum:#125679
|
||||||
- bugfix: 66_EseraOneWire: fix match list
|
- bugfix: 66_EseraOneWire: fix match list
|
||||||
- change: 49_SSCAM: module ready for SVS 9.0.0 forum:#125646
|
- change: 49_SSCAM: module ready for SVS 9.0.0 forum:#125646
|
||||||
- bugfix: 59_LuftdatenInfo: fix API endpoint
|
- bugfix: 59_LuftdatenInfo: fix API endpoint
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
# and was modified by a few additions
|
# and was modified by a few additions
|
||||||
# to support Hideki Sensors
|
# to support Hideki Sensors
|
||||||
# S. Butzek, HJGode, Ralf9 2015-2017
|
# S. Butzek, HJGode, Ralf9 2015-2017
|
||||||
|
# S. Butzek 2018-2022
|
||||||
#
|
#
|
||||||
# changed the way crc and decrypt is used hjgode 20171129
|
# changed the way crc and decrypt is used hjgode 20171129
|
||||||
|
|
||||||
@ -24,10 +25,10 @@ Hideki_Initialize($)
|
|||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
|
|
||||||
|
|
||||||
$hash->{Match} = "^P12#75[A-F0-9]{17,30}"; # Laenge (Anhahl nibbles nach 0x75 )noch genauer spezifizieren
|
$hash->{Match} = qr/^P12#75[A-F0-9]{14,30}/; # Laenge (Anhahl nibbles nach 0x75 )noch genauer spezifizieren
|
||||||
$hash->{DefFn} = "Hideki_Define";
|
$hash->{DefFn} = \&Hideki_Define;
|
||||||
$hash->{UndefFn} = "Hideki_Undef";
|
$hash->{UndefFn} = \&Hideki_Undef;
|
||||||
$hash->{ParseFn} = "Hideki_Parse";
|
$hash->{ParseFn} = \&Hideki_Parse;
|
||||||
$hash->{AttrList} = "do_not_notify:0,1 showtime:0,1"
|
$hash->{AttrList} = "do_not_notify:0,1 showtime:0,1"
|
||||||
." ignore:0,1"
|
." ignore:0,1"
|
||||||
." windDirCorr windSpeedCorr"
|
." windDirCorr windSpeedCorr"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user