STATE: DNS error
network: dns
status: recovering network
netatmo.account: refreshing connection information
netatmo.account: invalid json on connection check
HTTP Error 411. The request must be chunked or have a content length.
HttpUtils_NonblockingGet({
url => "https://".$hash->{helper}{apiserver}."/api/getuser",
method => "POST",
timeout => 30,
header => "Content-Type: application/json\r\nAuthorization: Bearer ".$hash->{access_token},
hash => $hash,
callback => \&netatmo_parseConnection,
});
data => ''Content-Length: 0header => "Content-Type: application/json\r\nAuthorization: Bearer ".$hash->{access_token}."\r\nContent-Length: 0",
STATE: connected
network: ok
active: ok
FHEM: fhem.pl:31310/2026-05-28
Perl: 5.032001
Linux: 5.10.103-v7+ armv7l
38_netatmo.pm: Stand 04.08.2026
Zitat von: theotherhalf am 09 August 2026, 12:19:10Cannot connect to CCU 192.168.178.8Sicher, dass die IP stimmt und deine Firewall-Einstellungen auf der CCU richtig sind?
sub loadWeewxData() {
my $file = "/var/www/html/weewx/weewxdata.txt";
my $hash = $defs{weewx};
if (!$hash) {
fhem("defmod weewx dummy");
fhem("defmod updateWeewx at +*00:05:00 {loadWeewxData()}");
fhem("attr updateWeewx alignTime 00:06");
$hash = $defs{weewx};
};
my $handle;
if (!open($handle, "<", $file)) {
Log3("weewx", 1, "Missing file \"" . $file . "\"");
return;
};
readingsBeginUpdate($hash);
while(<$handle>) {
$_ =~ /^\s*^(.+):\s*(.+)\s*/;
if ($1 && $2) {
my $key = makeReadingName($1);
my $value = $2;
readingsBulkUpdate($hash, $key, $value);
};
};
close($handle);
readingsBulkUpdate($hash, "state", "Done");
readingsEndUpdate($hash, 1);
};
Zitat von: Luposoft am 09 August 2026, 11:50:32Gut, dann lasse ich localSSLVerify auf 0. Nur komisch, dass es bei der 1 auch funktioniert ...Eben las ich in meien Aufzeichnungen:
Nochmals vielen Dank für deine Arbeit.
Ich hatte zwar noch keine Probleme mit der cloud, aber so gefällt es mir besser