Zitat von: petervereecke am 21 Februar 2026, 14:04:09wie gesagt nach einem set myKNXGW connect oder einem shutdown restart funktioniert alles einwandfrei...
Zitatpassibe, der in diesem Board nicht schreiben darf,[...]Da HttpUtils_NonblockingGet nicht nur von Entwickler verwendet wird, schlage ich vor diesbezuegliche Probleme im Forumsbereich Automatisierung zu diskutieren.
my $h = { url=>"http://localhost:8080/upload",
callback=>sub($$$){ Log 1,"ERR:$_[1] DATA:".length($_[2]) } };
for my $f ("picture1.png","picture2.png") {
my $content = `cat $f`;
HttpUtils_AddMultipartData($h, $content,
{"content-disposition"=>"form-data; name=\"file\"; filename=\"$f\"", "content-type"=>"image/png"});
}
HttpUtils_NonblockingGet($h);
# Patch Begin
# ->Delete:
# my $val = SMAEVCharger_getReadableCode($item->{"values"}->[o]->{"value"});
# ->Add:
my $val = ( substr($livedata->{$item->{"channelId"}},0,6) eq "Status" or #Does the readingname begin with substring "Status" or
$livedata->{$item->{"channelId"}} eq "Schalterstellung_Drehschalter" )? # is "Schalterstellung_Drehschalter"
SMAEVCharger_getReadableCode($item->{"values"}->[o]->{"value"}): #...get human readable codes
$item->{"values"}->[o]->{"value"}; #...otherwise take the value as is - especially the energy and power data
# Patch end