On Monday, May 8, 2023 at 4:12:03 PM UTC-7 Kevin Crivelli wrote:

Here is the result of running the command   tail -f /var/log/syslog  To 
watch the log as it is generated.

So I am definitely getting records published from MQTT however I still have 
the same problem where the local address is showing connected waiting for 
data and the remote instance is just connecting


Still not understanding what your setup is nor what you mean when you say 
'local address' and 'remote instance'.  Also, you are not getting records 
published 'from' MQTT in the log snippet you showed.  You are sending 
packets 'to' the MQTT broker.  Unfortunately it provides no info on what 
exactly you published, nor what you're looking for, so we can't do much 
with what you've provided...

   - what is the ip of your weewx system ?
   - what is the ip of your mosquitto broker system ?
   - what is the ip of the system running the browser displaying 
   Belchertown ?
   - what URL are you opening in your browser for the Belchertown skin ?
   - what browser and version are you running ?

And you've been changing lots of stuff going back and forth trying to get 
to success so lets re-baseline where you are now...

   - Lets see your current MQTT block from weewx.conf.   Just obfuscate the 
   user/pass there if you still have it enabled for MQTT.
   - Lets see your current Belchertown block from weewx.conf.  Obfuscate 
   the user/pass there too if you still have it enabled for MQTT. 
   - Lets see your current mosquitto MQTT config file as well where you set 
   up listening on the two ports.

Most importantly, lets debug what you're publishing and to where:

   - set weewx.conf debug=2 also to turn on verbose logging from the MQTT 
   publisher extension.  Remember to restart weewx.
   

And a "tail -f" in a screen capture image is kinda hard for us to work 
with.   Provide the normal log snippets please.  Restart weewx and lets see 
all the entries through the first archive period or two.  If you have to 
attach that as a text attachment, that's fine.


-- 
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/a8403172-fa3b-41ef-82f1-6c3891a934cfn%40googlegroups.com.

Reply via email to