I have now installed the Mosquitto on the weewx-raspi that still has Buster 
Lite and there was still the version 1.5.7 installed. The error is only " 
Address already in use".

pi@Wetter-Raspi:~$ mosquitto -v
1647355421: mosquitto version 1.5.7 starting
1647355421: Using default config.
1647355421: Opening ipv4 listen socket on port 1883.
1647355421: Error: Address already in use

weewx produces the following: 

Mar 15 15:38:36 Wetter-Raspi weewx[1491] INFO weewx.manager: Starting 
backfill of daily summaries
Mar 15 15:38:36 Wetter-Raspi weewx[1491] INFO weewx.manager: Daily 
summaries up to date
Mar 15 15:38:36 Wetter-Raspi weewx[1491] DEBUG weewx.drivers.vantage: 
Getting archive packets since 2022-03-15 15:30:00 CET (1647354600)
Mar 15 15:38:36 Wetter-Raspi weewx[1491] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Mar 15 15:38:36 Wetter-Raspi weewx[1491] DEBUG weewx.drivers.vantage: 
Retrieving 0 page(s); starting index= 0
Mar 15 15:38:36 Wetter-Raspi weewx[1491] INFO weewx.engine: Starting main 
packet loop.
Mar 15 15:38:36 Wetter-Raspi weewx[1491] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Mar 15 15:38:36 Wetter-Raspi weewx[1491] DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Mar 15 15:38:36 Wetter-Raspi weewx[1491] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Mar 15 15:38:37 Wetter-Raspi weewx[1491] DEBUG user.mqtt: Failed upload 
attempt 1: [Errno 104] Die Verbindung wurde vom Kommunikationspartner 
zurückgesetzt
Mar 15 15:38:42 Wetter-Raspi weewx[1491] DEBUG user.mqtt: Failed upload 
attempt 2: [Errno 104] Die Verbindung wurde vom Kommunikationspartner 
zurückgesetzt
Mar 15 15:38:47 Wetter-Raspi weewx[1491] DEBUG user.mqtt: Failed upload 
attempt 3: [Errno 104] Die Verbindung wurde vom Kommunikationspartner 
zurückgesetzt
Mar 15 15:38:52 Wetter-Raspi weewx[1491] ERROR weewx.restx: MQTT: Failed to 
publish record 2022-03-15 15:38:37 CET (1647355117): Failed upload after 3 
tries
Mar 15 15:38:52 Wetter-Raspi weewx[1491] DEBUG user.mqtt: Failed upload 
attempt 1: [Errno 104] Die Verbindung wurde vom Kommunikationspartner 
zurückgesetzt
Mar 15 15:38:57 Wetter-Raspi weewx[1491] DEBUG user.mqtt: Failed upload 
attempt 2: [Errno 104] Die Verbindung wurde vom Kommunikationspartner 
zurückgesetzt
Mar 15 15:39:01 Wetter-Raspi CRON[1514]: (pi) CMD (sudo wget -q 
http://alarm.meteocentrale.ch/images/map/schweiz_index.png -O 
/home/pi/wetter/meteo/uwz.png)
Mar 15 15:39:01 Wetter-Raspi automount[535]: key ".config" not found in map 
source(s).
Mar 15 15:39:02 Wetter-Raspi weewx[1491] DEBUG user.mqtt: Failed upload 
attempt 3: [Errno 104] Die Verbindung wurde vom Kommunikationspartner 
zurückgesetzt
Mar 15 15:39:07 Wetter-Raspi weewx[1491] ERROR weewx.restx: MQTT: Failed to 
publish record 2022-03-15 15:38:37 CET (1647355117): Failed upload after 3 
tries

I think the error comes from 
"https://github.com/matthewwall/weewx-mqtt/archive/master.zip";.
This has not been maintained for more than 2 years, is there an alternative?

The function test with MQTT.fx works fine

How can I narrow down the error?

Geni


vince schrieb am Montag, 14. März 2022 um 18:17:10 UTC+1:

> Yes of course they can run on any model pi.
>
> Google the message you highlighted in yellow and red for many threads 
> about this.
>
> In v2 the default is to listen only on localhost so you need to configure 
> it to listen on all interfaces.  See 
> https://mosquitto.org/man/mosquitto-conf-5.html and the 'listener' 
> section.  Set your bind_address to 0.0.0.0 to listen on all interfaces.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c265023b-2ad6-4633-94c8-a1113b1508c3n%40googlegroups.com.

Reply via email to