mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
MYSENSORS: provide sketch name and version as readings.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9820 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1c6a27531b
commit
1e7bf8d1f8
2
FHEM/10_MYSENSORS_DEVICE.pm
Normal file → Executable file
2
FHEM/10_MYSENSORS_DEVICE.pm
Normal file → Executable file
@ -520,10 +520,12 @@ sub onInternalMessage($$) {
|
||||
};
|
||||
$type == I_SKETCH_NAME and do {
|
||||
$hash->{$typeStr} = $msg->{payload};
|
||||
readingsSingleUpdate($hash,"SKETCH_NAME",$msg->{payload},1);
|
||||
last;
|
||||
};
|
||||
$type == I_SKETCH_VERSION and do {
|
||||
$hash->{$typeStr} = $msg->{payload};
|
||||
readingsSingleUpdate($hash,"SKETCH_VERSION",$msg->{payload},1);
|
||||
last;
|
||||
};
|
||||
$type == I_REBOOT and do {
|
||||
|
Loading…
x
Reference in New Issue
Block a user