Eric Koester <[email protected]> writes:

> I see I mistyped mosquitto in at least one place above.  
> The /etc/mosquitto directory is spelled correctly in my Ubuntu 20 machine.
>
> Ok, on the pid file.  
> The version of mosquitto in the Ubuntu 20 deb repo still has provision for 
> pid files, so its confusing.

mosquitto has support for pid files, and many systems use them.  Whether
they are normal and the right thing, or last year's plan depends on how
your system deals with init things.  However this is unlikely to make
things work or not work, just ma make the init system unhappy about
statusing and stopping mosquitto.

> It appears that the mosquitto install is properly starting as a daemon (I 
> see it in the process table in TOP) and running without errors in the 
> /var/log/mosquitto/mosquitto.log, so I think I'm ready to move on to 
> configuring MQTTSubscribe.

No, you are ready to use mosquitto_sub on the machine you want to run
MQTTSubscribe and see if you are seeing the data from the command-line
client.  Pause to reconfigure mosquitto to listen beyond localhost if
you need to, to figure out what you are doing about 1883 vs 8883/tls,
and acls.  Any time you can test at an intermedidate point, you make
things simpler to figure out.

You can also use mosquitto_pub on the machine that is supposed to inject
mqtt messsages.

Note that mosquitto silently drops topic writes that are not allowed by
the acl.

-- 
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/rmia6ozncn6.fsf%40s1.lexort.com.

Attachment: signature.asc
Description: PGP signature

Reply via email to