From 2fd297e130a24d3c12a073a13d476f7f60fba5ae Mon Sep 17 00:00:00 2001
From: vuffiraa <>
Date: Mon, 10 Jun 2019 12:14:04 +0000
Subject: [PATCH] 70_BOTVAC.pm: fix set robotSounds availability
git-svn-id: https://svn.fhem.de/fhem/trunk@19589 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/CHANGED | 1 +
fhem/FHEM/70_BOTVAC.pm | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/fhem/CHANGED b/fhem/CHANGED
index 552d232bc..5444698df 100644
--- a/fhem/CHANGED
+++ b/fhem/CHANGED
@@ -1,5 +1,6 @@
# 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.
+ - bugfix: 70_BOTVAC: set robotSounds filter
- feature: 70_BOTVAC: add pollingMode
add preferences
use whitespace to separate boundaries
diff --git a/fhem/FHEM/70_BOTVAC.pm b/fhem/FHEM/70_BOTVAC.pm
index 5c11d80e3..61a7a9c26 100755
--- a/fhem/FHEM/70_BOTVAC.pm
+++ b/fhem/FHEM/70_BOTVAC.pm
@@ -269,7 +269,7 @@ sub Set($@) {
$usage .= " statusRequest:noArg schedule:on,off syncRobots:noArg pollingMode:on,off";
# preferences
- $usage .= " robotSounds:on,off" if ( GetServiceVersion($hash, "preferences") !~ /()|(basic-1)/ );
+ $usage .= " robotSounds:on,off" if ( GetServiceVersion($hash, "preferences") !~ /(^$)|(basic-1)/ );
$usage .= " dirtbinAlertReminderInterval:30,60,90,120,150" if ( GetServiceVersion($hash, "preferences") =~ /(basic-\d)|(advanced-\d)/ );
$usage .= " filterChangeReminderInterval:1,2,3" if ( GetServiceVersion($hash, "preferences") =~ /(basic-\d)|(advanced-\d)/ );
$usage .= " brushChangeReminderInterval:4,5,6,7,8" if ( GetServiceVersion($hash, "preferences") =~ /(basic-\d)|(advanced-\d)/ );
@@ -2313,16 +2313,16 @@ sub wsMasking($$) {
set <name> pollingMode <1|0>
+ set <name> pollingMode <on|off>
set <name> robotSounds <true|false>
+ set <name> robotSounds <on|off>