Hi Oliver
Für mich ist das kein Problem, ich habs direkt in meinem Code auf der Homepage angepasst.
LG René
Hi Oliver
Bis zum naechsten Neustart bleiben diese Settings aktiv.sind jetzt über die /help Seite gesetzt
Das ist eine LoxBerry-Funktion. Siehe hier.bleibt die Frage warum kein Logrotate für die FOSHKplugin Logs stattfindet.
Code: Alles auswählen
aqtime;Tempe;Tempe; Temp min time;temp max;temp max; Feuchtigkeit; Druck; Druck; Druck min; Druck min Zeit; Druck max.
<!--@aqtime-->;<!--@tempc-->\r\n
Code: Alles auswählen
<?php
$timeaktuell = '[[@time]]';
$srv_uptime = '[[@srv_uptime]]';
$server_uptime = '[[@server_uptime]]';
$prgname = '[[@prgname]]';
?>
Code: Alles auswählen
<?php
$timeaktuell = 'Freitag, 26.01.2024 12:04';
$srv_uptime = '145 Tage 00 Std. 42 Min.';
$server_uptime = 'Sonntag, 03.09.2023 12:21';
$prgname = 'FOSHKplugin';
?>
Code: Alles auswählen
[Tagfile]
infile = webtags.tagdef # mandatory! - name of the template file with embedded tags (default: "")
outfile = webtags.php # name of the final output file (default: "")
append = False # determines whether outfile is overwritten or appended in each interval (default: False)
task = save # processing - SAVE for writing a file, GET for sending via http(s)/GET, and POST for sending via http/POST (default: save)
tag = [[@keyname]] # of string is searched for in the infile and replaced with the corresponding value (default: <!-- @keyname -->)
postscript = "" # possibility to specify a bash script to be started after saving the output file but before sending it (default: "")
dtime_format = "%A, %d.%m.%Y %H:%M" # sets output format for values with a date/time - use "%d.%m.%Y %H:%M:%S" for european 24h display - Python like - see https://www.w3schools.com/python/python_datetime.asp (default: %d.%m.%Y %H:%M:%S)
locale_format = "" # defines the language of the names of the weekdays and months - use en_US.utf8 for English terms in dates (default: "")
pre_count = "" # length of the output value - padded with spaces if necessary (default: "")
dec_count = "" # number of decimal places (default: "" = as is)
dec_separator default = .