From d274bfe2e2f04a97fd2a59f03fce052400cc5c27 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 19 Apr 2020 15:52:48 +0000 Subject: [PATCH] fhem.pl: prohibit setreading called from userReadings (Forum #110375) git-svn-id: https://svn.fhem.de/fhem/trunk@21723 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index ad49cc22d..8f42afd2a 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -2418,7 +2418,8 @@ CommandSetReading($$) if(!goodReadingName($b1)); if($hash->{".updateTime"}) { # Called from userReadings, #110375 - setReadingsVal($hash, $b1, $b[2], TimeNow()); + Log 1, "'setreading $def' called form userReadings is prohibited"; + return; } else { readingsSingleUpdate($hash, $b1, $b[2], 1); }