mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 02:44:53 +00:00
00_SIGNALduino.pm: Quickfix missing protocol hash
git-svn-id: https://svn.fhem.de/fhem/trunk@18693 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0611f1b4a9
commit
46a53b2c59
@ -1,5 +1,7 @@
|
|||||||
# 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: 00_SIGNALduino: Load protocolHash from web if file is
|
||||||
|
missing on fs
|
||||||
- bugfix: 49_SSCam: some warnings, Forum:#97706
|
- bugfix: 49_SSCam: some warnings, Forum:#97706
|
||||||
- bugfix: 88_HMCCU: Fixed minor bugs.
|
- bugfix: 88_HMCCU: Fixed minor bugs.
|
||||||
- feature: 00_SIGNALduino:
|
- feature: 00_SIGNALduino:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
# v3.3.3 (stable release 3.3)
|
# v3.3.4 (stable release 3.3)
|
||||||
# The module is inspired by the FHEMduino project and modified in serval ways for processing the incoming messages
|
# The module is inspired by the FHEMduino project and modified in serval ways for processing the incoming messages
|
||||||
# see http://www.fhemwiki.de/wiki/SIGNALDuino
|
# see http://www.fhemwiki.de/wiki/SIGNALDuino
|
||||||
# It was modified also to provide support for raw message handling which can be send from the SIGNALduino
|
# It was modified also to provide support for raw message handling which can be send from the SIGNALduino
|
||||||
@ -250,12 +250,17 @@ SIGNALduino_Initialize($)
|
|||||||
#ours %attr{};
|
#ours %attr{};
|
||||||
|
|
||||||
%ProtocolListSIGNALduino = SIGNALduino_LoadProtocolHash("$attr{global}{modpath}/FHEM/lib/signalduino_protocols.hash");
|
%ProtocolListSIGNALduino = SIGNALduino_LoadProtocolHash("$attr{global}{modpath}/FHEM/lib/signalduino_protocols.hash");
|
||||||
|
#Log3 "SIGNALduino", 1, "%ProtocolListSIGNALduino=" .Dumper(%ProtocolListSIGNALduino);
|
||||||
if (exists($ProtocolListSIGNALduino{error}) ) {
|
if (exists($ProtocolListSIGNALduino{error}) ) {
|
||||||
Log3 "SIGNALduino", 1, "Error loading Protocol Hash. Module is in inoperable mode error message:($ProtocolListSIGNALduino{error})";
|
Log3 "SIGNALduino", 1, "Error loading protocol hash. module is not in standalone mode:($ProtocolListSIGNALduino{error}). Try loading from svn.fhem.de";
|
||||||
delete($ProtocolListSIGNALduino{error});
|
delete($ProtocolListSIGNALduino{error});
|
||||||
|
%ProtocolListSIGNALduino = eval GetFileFromURL("https://svn.fhem.de/fhem/trunk/fhem/FHEM/lib/signalduino_protocols.hash",4,"",1,4);
|
||||||
|
if (!%ProtocolListSIGNALduino) {
|
||||||
|
Log3 "SIGNALduino", 1, "Error reloading protocol hash dynamic from svn.fhem.de. Module is in inoperable mode.";
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#
|
#
|
||||||
# Predeclare Variables from other modules may be loaded later from fhem
|
# Predeclare Variables from other modules may be loaded later from fhem
|
||||||
#
|
#
|
||||||
@ -4534,7 +4539,7 @@ sub SIGNALduino_githubParseHttpResponse($$$)
|
|||||||
|
|
||||||
=pod
|
=pod
|
||||||
=item summary supports the same low-cost receiver for digital signals
|
=item summary supports the same low-cost receiver for digital signals
|
||||||
=item summary_DE Unterstuetzt den gleichnamigen Low-Cost Empfänger fuer digitale Signale
|
=item summary_DE Unterstuetzt den gleichnamigen Low-Cost Empfaenger fuer digitale Signale
|
||||||
=begin html
|
=begin html
|
||||||
|
|
||||||
<a name="SIGNALduino"></a>
|
<a name="SIGNALduino"></a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user