From 0ce11c77eb55d6cc0efdb16bdd473478255b22c0 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 13 Jan 2020 10:12:37 +0000 Subject: [PATCH] commandref_frame.html: document setstate anomaly (Forum #107290) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20961 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- docs/commandref_frame.html | 4 ++++ docs/commandref_frame_DE.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/commandref_frame.html b/docs/commandref_frame.html index 6452b5dea..09671d573 100644 --- a/docs/commandref_frame.html +++ b/docs/commandref_frame.html @@ -1310,6 +1310,10 @@ The following local attributes are used by a wider range of devices: + Note: this command is also used to store the readings in the statefile, in + this case the timestamp will preceed the value. As a side-effect there is no + way to save a state correctly if it starts with a timestamp in the YYYY-MM-DD + HH:MM:SS form. diff --git a/docs/commandref_frame_DE.html b/docs/commandref_frame_DE.html index e708d74fb..afb38fa12 100644 --- a/docs/commandref_frame_DE.html +++ b/docs/commandref_frame_DE.html @@ -1393,6 +1393,10 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet: + Achtung: setstate wird verwendet, um Readings im statefile zu speichern, in + diesem Fall wird vor dem Wert ein Zeitstempel geschrieben. Als Seiteneffekt + ist es nicht möglich, ein Status, was mit einem Zeitstempel der Form + YYYY-MM-DD HH:MM:SS beginnt, korrekt zu speichern.