mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
PRESENCE: fix room related error messages with new addon data format
git-svn-id: https://svn.fhem.de/fhem/trunk@16039 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9f523ba845
commit
25e3f9ae57
@ -604,15 +604,15 @@ PRESENCE_Read($)
|
||||
{
|
||||
readingsBulkUpdate($hash, "command_accepted", "no");
|
||||
}
|
||||
elsif($line =~ /socket_closed;(.+?)$/)
|
||||
elsif($line =~ /socket_closed;(?:room='?)?(.+?)'?$/)
|
||||
{
|
||||
Log3 $name, 3, "PRESENCE ($name) - collectord lost connection to room $1";
|
||||
}
|
||||
elsif($line =~ /socket_reconnected;(.+?)$/)
|
||||
elsif($line =~ /socket_reconnected;(?:room='?)?(.+?)'?$/)
|
||||
{
|
||||
Log3 $name , 3, "PRESENCE ($name) - collectord reconnected to room $1";
|
||||
}
|
||||
elsif($line =~ /error;(.+?)$/)
|
||||
elsif($line =~ /error;(?:room='?)?(.+?)'?$/)
|
||||
{
|
||||
Log3 $name, 3, "PRESENCE ($name) - room $1 cannot execute hcitool to check device";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user