mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 20:52:13 +00:00
30_HUEBridge.pm: better handle websocket events for zigbee special groups (>=0xff00)
git-svn-id: https://svn.fhem.de/fhem/trunk@25608 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
53212e5394
commit
ea2c0d59c4
@ -142,6 +142,14 @@ HUEBridge_Read($)
|
||||
return;
|
||||
}
|
||||
|
||||
if( $id == 0xfff0 ) {
|
||||
$code = $name .'-G0';
|
||||
|
||||
} elsif( $id >= 0xff00 ) {
|
||||
$hash->{helper}{ignored}{$code} = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
if( $obj->{t} eq 'event' && $obj->{e} eq 'changed' ) {
|
||||
if( my $chash = $modules{HUEDevice}{defptr}{$code} ) {
|
||||
HUEDevice_Parse($chash, $obj);
|
||||
|
Loading…
x
Reference in New Issue
Block a user