mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 20:52:13 +00:00
32_WifiLight.pm: milight enable multiple bridge at same ip with different ports (forum #80681)
git-svn-id: https://svn.fhem.de/fhem/trunk@15646 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9374f7d7aa
commit
d23acd3061
@ -159,7 +159,7 @@ WifiLight_Define($$)
|
||||
# if so, we need a shared buffer (llCmdQueue), shared socket and we need to check if the requied slot is free
|
||||
foreach $key (keys %defs)
|
||||
{
|
||||
if (($defs{$key}{TYPE} eq 'WifiLight') && ($defs{$key}{IP} eq $hash->{IP}) && ($key ne $name))
|
||||
if (($defs{$key}{TYPE} eq 'WifiLight') && ($defs{$key}{IP} eq $hash->{IP}) && ($defs{$key}{PORT} eq $hash->{PORT}) && ($key ne $name))
|
||||
{
|
||||
#bridge is in use
|
||||
Log3 (undef, 3, "WifiLight: requested bridge $hash->{CONNECTION} at $hash->{IP} already in use by $key, copy llCmdQueue");
|
||||
|
Loading…
x
Reference in New Issue
Block a user