mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-27 20:34:52 +00:00
fhemweb.js: URI-encode inform Parameter (Forum #128651)
FileLog.pm: clarify filelog-event-min-interval doc git-svn-id: https://svn.fhem.de/fhem/trunk@26329 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
32783cf141
commit
d18a1055a9
@ -1570,6 +1570,8 @@ FileLog_regexpFn($$)
|
||||
devspec:reading:minInterval triples. You may use regular expressions
|
||||
for reading. The data will only be written, if at least minInterval
|
||||
seconds elapsed since the last event of the matched type.
|
||||
Note: only readings existing at the time the attribute is set will be
|
||||
considered.
|
||||
</li><br>
|
||||
|
||||
<li><a href="#ignoreRegexp">ignoreRegexp</a></li>
|
||||
@ -1898,6 +1900,8 @@ FileLog_regexpFn($$)
|
||||
"devspec:readings:minInterval" Tripel. readings kann ein regexp sein.
|
||||
Die Daten werden nur dann geschrieben, falls seit dem letzten Auftreten
|
||||
des gleichen Events mindestens minInterval Sekunden vergangen sind.
|
||||
Achtung: nur solche Readings werden geprueft, die zum Zeitpunkt des
|
||||
Attribut setzens existiert haben.
|
||||
</li><br>
|
||||
|
||||
<li><a href="#ignoreRegexp">ignoreRegexp</a></li>
|
||||
|
@ -1321,8 +1321,10 @@ FW_longpoll()
|
||||
if(FW_serverGenerated)
|
||||
since = FW_serverLastMsg + (FW_serverGenerated-FW_serverFirstMsg);
|
||||
|
||||
let inform = encodeURIComponent("type=status;filter="+filter+
|
||||
";since="+since+";fmt=JSON"); // 128651
|
||||
var query = "?XHR=1"+
|
||||
"&inform=type=status;filter="+filter+";since="+since+";fmt=JSON"+
|
||||
"&inform="+inform+
|
||||
'&fw_id='+$("body").attr('fw_id')+
|
||||
"×tamp="+new Date().getTime();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user