poblabs / weewx-belchertown

A clean and modern weewx skin with real time streaming updates, forecast data and interactive charts. View it in action at BelchertownWeather.com
https://belchertownweather.com
GNU General Public License v3.0
211 stars 111 forks source link

"Tired of using an old outdated MQTT client" error #823

Closed jkumeboshi closed 2 years ago

jkumeboshi commented 2 years ago

Describe the bug Suddenly the MQTT client of the station web page stopped working with "test.mosquitto.org" MQTT server.

MQTT: MQTT Connected. Subscribing. [belchertown.js:40:17](https://meteo.fedibox.com/js/belchertown.js?1664885078)
MQTT: Tired of using an old outdated MQTT client?
Try MyMQTT, the simple Message Queuing Telemetry Transport client for Android and iOS
[https://mymqtt.app?utm_source=mqtt&utm_medium=link&utm_campaign=mqtt](https://mymqtt.app/?utm_source=mqtt&utm_medium=link&utm_campaign=mqtt)

Have a nice day! [belchertown.js:40:17](https://meteo.fedibox.com/js/belchertown.js?1664885078)
MQTT: 2022-10-04T14:07:13+02:00: mqtt Connection Lost: AMQJS0005E Internal error. Error Message: JSON.parse: unexpected character at line 1 column 1 of the JSON data, Stack trace: No Error Stack Available

Link to your website (IMPORTANT) https://meteo.fedibox.com/

Version of the skin you're using last development from git repo

To Reproduce just go to my website https://meteo.fedibox.com/?debug=true

Device Information (please complete the following information):

fvirgola80 commented 2 years ago

Hello, i had your same problem the solution is to change the topic name in both weex.conf and skin.conf

www.meteocivitavecchia.it

jkumeboshi commented 2 years ago

@fvirgola80 thanks very much, I've changed the MQTT topic and now it works again