Hello,

I'm running WeeWX with the Belchertown skin and MQTT WebSocket for 
real-time updates. Everything works perfectly on Windows PC and recent 
tablets, but fails on an older Android 7.0 tablet (Samsung Galaxy Tab S2 
with Chrome 119).

*Setup:*

   - WeeWX publishing to Mosquitto 2.0.11 
   - Mosquitto listener: 127.0.0.1:9001 (WebSocket protocol) 
   - Nginx reverse proxy on port 8883 for WSS 
   - Let's Encrypt SSL certificate 

*WeeWX configuration (weewx.conf):*
ini
[StdReport] [[Belchertown]] mqtt_websockets_enabled = 1 mqtt_websockets_host 
= meteo-poelley50.fr mqtt_websockets_port = 8883 mqtt_websockets_ssl = 1 
mqtt_websockets_topic = "weather/loop"

*What works:*

   - Windows PC: green indicator, real-time updates work perfectly 
   -  Modern tablets: same, works fine 
   -  WebSocket test with HiveMQ online client: successful connection 
   -  Page loads correctly on all devices (no certificate errors after 
   installing ISRG Root X1 certificate) 

*What doesn't work:*

   -  Android 7.0 tablet: red indicator, no real-time updates 
   -  No connection attempts visible in Mosquitto logs from this tablet 
   -  Generated JS files correctly contain port 8883 and SSL enabled 

*Investigation done:*

   - Verified generated belchertown.js uses correct settings: new 
   Paho.Client("meteo-poelley50.fr", 8883, mqttclient) 
   - Cleared browser cache multiple times 
   - Tried incognito mode 
   - Installed Let's Encrypt root certificate manually 
   - Mosquitto logs show connections from PC but zero attempts from Android 
   7.0 tablet 

*Question:* Is there a known compatibility issue between the Paho MQTT 
JavaScript client (used by Belchertown) and older Android versions? Are 
there any workarounds or alternative configurations to support Android 7.0?

The tablet is dedicated to displaying weather station data permanently, so 
upgrading Android is not an option.

Any suggestions would be greatly appreciated! And avoid this tablet 
replacement

   

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/386c5916-1215-4550-a126-583c9f0a29b2n%40googlegroups.com.

Reply via email to