On Tuesday, March 15, 2022 at 7:56:04 AM UTC-7 Geni wrote:

> 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
>
>
You have the mosquitto MQTT server already listening, so this is normal.
Run "sudo netstat -tupln" and you will see the broker is listening.

A simple MQTT test is to use mosquitto_sub and mosquitto_pub in two shell 
windows.

In the first window:        "mosquitto_sub -h x.x.x.x -t testing" 
In the second window:  "mosquitto_pub -h x.x.x.x -t testing -m testing123"

(Use your ip address instead of x.x.x.x in the commands above)

 

-- 
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/810e4001-1e65-4c84-b723-928439cf425bn%40googlegroups.com.

Reply via email to