Zitat von: passibe am 01 Dezember 2025, 21:03:11Kannst du mal bitte in der Konsole des Containers
total 48
drwxrwxrwx 4 fhem fhem 4096 Nov 30 22:02 .
drwxrwxrwx 100 fhem fhem 4096 Nov 30 22:01 ..
-rwxrwxrwx 1 fhem fhem 767 Nov 30 22:01 .eslintrc.json
-rwxrwxrwx 1 fhem fhem 65 Nov 30 22:01 .gitattributes
-rwxrwxrwx 1 fhem fhem 31 Nov 30 22:01 .releaseconfig.json
-rwxrwxrwx 1 fhem fhem 1102 Nov 30 22:01 LICENSE
-rwxrwxrwx 1 fhem fhem 10338 Nov 30 22:01 README.md
drwxrwxrwx 2 fhem fhem 4096 Nov 30 22:01 example
drwxrwxrwx 2 fhem fhem 4096 Nov 30 22:01 lib
-rwxrwxrwx 1 fhem fhem 1163 Nov 30 22:01 package.jsonZitat von: passibe am 01 Dezember 2025, 21:03:11direkt in die FHEM-Befehlszeile eingeben
total 48
drwxrwxrwx 4 fhem fhem 4096 Nov 30 22:02 .
drwxrwxrwx 100 fhem fhem 4096 Nov 30 22:01 ..
-rwxrwxrwx 1 fhem fhem 767 Nov 30 22:01 .eslintrc.json
drwxrwxrwx 2 fhem fhem 4096 Nov 30 22:01 example
-rwxrwxrwx 1 fhem fhem 65 Nov 30 22:01 .gitattributes
drwxrwxrwx 2 fhem fhem 4096 Nov 30 22:01 lib
-rwxrwxrwx 1 fhem fhem 1102 Nov 30 22:01 LICENSE
-rwxrwxrwx 1 fhem fhem 1163 Nov 30 22:01 package.json
-rwxrwxrwx 1 fhem fhem 10338 Nov 30 22:01 README.md
-rwxrwxrwx 1 fhem fhem 31 Nov 30 22:01 .releaseconfig.jsonZitat von: betateilchen am 01 Dezember 2025, 21:30:56@Boris: bei addLog wird kein Bezug zu einem event hergestellt. Man kann damit sogar Werte ins Log schreiben (und in SVG darstellen) zu denen es gar kein existierendes device oder reading gibt. Das ist manchmal sehr praktisch.
Zitat von: Dr. Boris Neubert am 01 Dezember 2025, 21:45:52Ja, der Plot-Editor ist eine Herausforderung...
Zitat von: Hardy74 am 01 Dezember 2025, 21:42:42Vielleicht ist es nach einem langen Tag einfach schon zu spät, vermutlich zu einfach... aber:
in dblog sehe ichDEF
./contrib/dblog/db.conf .*:.*
und ändere genau das File
Zitat von: Hardy74 am 01 Dezember 2025, 21:42:42Bonusfrage, warum liefertSELECT * FROM `fhemconfig` where DEVICE = 'logdb';135 Zeilen aus 5er Zeilenblöcken, die ... sich nur jeweils in der VersionUUID unterscheiden?
defmod HTML_Testdevice at +*00:00:10 { \
# Array of colors\
my @colors = qw(red green blue yellow orange purple pink cyan);;\
\
# Randomly pick a color from the array\
my $random_color = $colors[rand @colors];;\
\
# Generate a random number\
my $random_number = int(rand(1000));;\
\
# Get the current timestamp\
my $timestamp = strftime('%Y-%m-%d %H:%M:%S', localtime);;\
\
my $size = 1024 * 1024;; # 1 MB\
my @chars = ('A'..'Z');;\
my $big;;\
$big .= $chars[rand @chars] while length($big) < $size;;\
my $visual_block = qq(<div style="width:100%;;height:20px;;overflow:hidden;;background:#ddd;;font-size:0;;">$big</div>);;\
\
\
# Create the HTML snippet\
my $html_snippet = <<"HTML";;\
<div style="color: $random_color;;">\
Random Number: $random_number<br>\
Timestamp: $timestamp<br>\
$visual_block\
</div>\
HTML\
\
$html_snippet =~ s/\n//g;;\
\
readingsSingleUpdate($defs{"HTML_Testdevice"}, "meinReading", "<html>$html_snippet</html>", 1);;\
}
attr HTML_Testdevice room ExperimenteZitat von: Maxl am 01 Dezember 2025, 21:08:52npm WARN EBADENGINE required: { node: '>= 16' },Deine node-Version ist hoffnungslos veraltet. Bitte aktualisieren, vermutlich am einfachsten via https://deb.nodesource.com
npm WARN EBADENGINE current: { node: 'v12.22.12', npm: '7.5.2' }
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
sudo apt-get install -y nodejssudo npm install -g alexa-fhem und dann am besten einfach den Raspberry neustarten.