MQTT Data Setup/Config #91
Replies: 17 comments 16 replies
|
I'v added a wiki page https://github.com/brewster76/fuzzy-archer/wiki/MQTT-setup |
|
I attempted to edit skin.conf for live data. This is the line, looks like that name can't be used. |
|
Do I need to edit skin.conf directly or can I use weewx.conf? |
|
No, I edited the skin.conf
I'll post it in about 2 hours.
…On Tue, Mar 7, 2023, 6:42 AM mKainzbauer ***@***.***> wrote:
When parsing fails, there is a more basic error with the config file.
Probably anything dangling or missing like a bracket [ or so.
If you copied it from the wiki, maybe it's caused by a mistake in the
instructions. We'll figure it out. Can you post your skin.conf please?
—
Reply to this email directly, view it on GitHub
<#91 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCEBJNTW7HM5WBZD4XSECLW24NI3ANCNFSM6AAAAAAVQQXNLY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Ok, with your corrected skin.conf no errors when run. |
|
Hi , But something wrong in my side , i don"t understand See bellow my setup , My MQTT server work for with the belchertown skin weewx.conf [[MQTT]] I have enable ssl encryption [[Bootstrap]] Skin.conf [JSONGenerator] Change payload_key to METRIC [[outTemp]] #choose weewx field name |
|
First of all, I'd recommend not to change skin.conf, override any customization you make in weewx.conf. It makes updating easier. Second, you need to publish data to the the same server in the backend as in the front end, having configured Third, does the public server need a user and a password? If so, you need to provide it. Take into consideration, that these credentials are exposed to the front end, so configure a read-only user for that purpose only. The section in weewx.conf should read like |
|
Hi , I remove customization in skin.conf . My server ip address 192.168.3.150 . the most strang think , it's working for Belchertown ! Thank for your time Regards see bellow my weewx.conf Weewx.conf [StdRESTful] [[MQTT]] #**************************************** |
|
I don't know how Belchertown is dealing with MQTT configuration, but one thing is for sure: if you configure weewx to publish to a local MQTT server and configure Bootstrap to subscribe a public MQTT server and there is no other connection between those two, it cannot work. And if you configure a local IP, it can only work on the local network. Are you sure the local ip, port and wss is correct? What does the browser console say? What kind of MQTT Server are you using locally? Is it configured for ws(s)? |
|
My server MQTT is mosquitto in my DMZ |
|
there you go websocketslistener 9001 |
|
Hi , and modify my weewx.conf Now i have a connection from LAN and Internet , before i don't have any connection tail -f /var/log/mosquitto/mosquitto.log 1735046236: Client mqttjs_c0ce5602 closed its connection. Should be work , i will check later , now the weather is very very quiet Thank a lot , for your time and patience |
|
Hi , |
|
please give me a example |
|
Hi , |



Uh oh!
There was an error while loading. Please reload this page.
I like the skin, but I'm lost in how to setup my MQTT data for this skin.
I did take a quick look at the skin.conf, but get lost in the MQTT details.
All reactions