Sadly the cloudmqtt free option is 'Out of stock' at present for new subscribers (luckily I have a free one set up months ago that is still fine). Hopefully they might reactivate the free option at some stage. All the paid-for plans are still there of course, starting with Humble Hedgehog @ $5/month.Sadgit wrote: ↑Fri 01 May 2020 5:13 am Or there are free online servers, https://www.cloudmqtt.com/ is one.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
MQTT Export - Added Build 3071
Moderator: mcrossley
-
- Posts: 317
- Joined: Sat 05 Feb 2011 7:13 pm
- Weather Station: VP2
- Operating System: Windows - all flavours
- Location: Littleport, East Cambs, UK
Re: MQTT Export - Added Build 3071
Last edited by prodata on Tue 12 May 2020 4:51 pm, edited 1 time in total.
-
- Posts: 192
- Joined: Sun 04 Jan 2009 5:56 pm
- Weather Station: Vantage Vue
- Operating System: Windows 7
- Location: Middlesbrough, England
Re: MQTT Export - Added Build 3071
Just fire up a mqtt docker.. Happy to share my compose file.
- kocher
- Posts: 233
- Joined: Sat 19 Apr 2014 7:57 pm
- Weather Station: Davis Vantage Pro2+
- Operating System: Windows 10
- Location: San Sebastian - Spain
- Contact:
Re: MQTT Export - Added Build 3071
Greetings to all
I also take advantage of Mark for this amazing new functionality provided to cumulusMX.
I must admit that the mqtt theory has seduced me since I met it, but I must also admit that, despite having walked the Internet, it did not achieve results; These have been days of great frustration.
A decisive step was to read Sadgit's comments, which pushed me to continue; for which I am very grateful to you.
Actually, configuring mqtt in cumulusMX is very very simple.
Logically, the next challenge is to get the values of "realtime.txt" using Mqtt.
Another important step to check the results of cumulusMX publications or other publishers, has been the installation of Mqtt-Explorer (accessible from the Microsoft store); It is a free application and easy to configure.
With this application I monitor the activity of cumulusMX and other sources. For example, on a Linux (Debian) machine I have installed the "Belchertown" skin and finally have it update with mqtt every 2 seconds!!!:
http://kocher.es/weewx/
Many thanks to Mark and Sadgit
I also take advantage of Mark for this amazing new functionality provided to cumulusMX.
I must admit that the mqtt theory has seduced me since I met it, but I must also admit that, despite having walked the Internet, it did not achieve results; These have been days of great frustration.
A decisive step was to read Sadgit's comments, which pushed me to continue; for which I am very grateful to you.
Actually, configuring mqtt in cumulusMX is very very simple.
Logically, the next challenge is to get the values of "realtime.txt" using Mqtt.
Another important step to check the results of cumulusMX publications or other publishers, has been the installation of Mqtt-Explorer (accessible from the Microsoft store); It is a free application and easy to configure.
With this application I monitor the activity of cumulusMX and other sources. For example, on a Linux (Debian) machine I have installed the "Belchertown" skin and finally have it update with mqtt every 2 seconds!!!:
http://kocher.es/weewx/
Many thanks to Mark and Sadgit
- kocher
- Posts: 233
- Joined: Sat 19 Apr 2014 7:57 pm
- Weather Station: Davis Vantage Pro2+
- Operating System: Windows 10
- Location: San Sebastian - Spain
- Contact:
Re: MQTT Export
Greetings Mark
I am very interested for any kind of test with MQTT.
Very grateful for your effort and help
-
- Posts: 192
- Joined: Sun 04 Jan 2009 5:56 pm
- Weather Station: Vantage Vue
- Operating System: Windows 7
- Location: Middlesbrough, England
Re: MQTT Export - Added Build 3071
happy to help.. it isn't often I can help other people
MQTT in Cumulus is to me what makes it the perfect product now. On the Home Assistant site people have been screaming out for an easy way to get info from their stations, and Mark made it possible
MQTT in Cumulus is to me what makes it the perfect product now. On the Home Assistant site people have been screaming out for an easy way to get info from their stations, and Mark made it possible
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: MQTT Export - Added Build 3071
Hi,
I'm using Domoticz, could someone help me to in the configurations to catch CMX data ?
Thanks
I'm using Domoticz, could someone help me to in the configurations to catch CMX data ?
Thanks
- kocher
- Posts: 233
- Joined: Sat 19 Apr 2014 7:57 pm
- Weather Station: Davis Vantage Pro2+
- Operating System: Windows 10
- Location: San Sebastian - Spain
- Contact:
Re: MQTT Export - Added Build 3071
MQTT works wonders at cumulusMX. I managed to close the results of their publications using "MQTT Explorer":
https://mqtt-explorer.com/
The configuration I have set in cumulus is as follows, in case anyone is interested:
It works perfectly; The only detail that has caught my attention is that, regardless of Interval Time, there are always exactly 20 seconds for Realtime and 2 seconds for Interval.
The values published by cumulusMx for realtime are exactly the same as the values for the original "realtime.txt". I have managed to convert the decimal point (,) to point (.). In case anyone is interested, I attach it to the end of this message.
All right; The big question is that now that I have the same values as the "realtime.txt" file, how can I use them to update a web page. I think from what I read that, in that case, port 9001 and the websockets protocol should be used. But I still don't understand how I could use it to update a web page; that is, how to subscribe that page to that Topic: Realtime
https://mqtt-explorer.com/
The configuration I have set in cumulus is as follows, in case anyone is interested:
Code: Select all
=MQTT
- Server Name: 197.168..x.x (The IP address of the PC where Cumulus is installed).
- Server Port: 1883
- Use TLS: (disabled)
- Username: xxxxx
- Password: xxxxx
= Send message on data update
- Enabled: (enabled)
- Topic Name: cumulusMX/Interval
- Template File: DataUpdateTemplate.txt
=Send message at fixed intervals
- Interval Time (secs): 10
- Topic Name: cumulusMX/Realtime
- Template File: RealtimeTemplate.txt
The values published by cumulusMx for realtime are exactly the same as the values for the original "realtime.txt". I have managed to convert the decimal point (,) to point (.). In case anyone is interested, I attach it to the end of this message.
All right; The big question is that now that I have the same values as the "realtime.txt" file, how can I use them to update a web page. I think from what I read that, in that case, port 9001 and the websockets protocol should be used. But I still don't understand how I could use it to update a web page; that is, how to subscribe that page to that Topic: Realtime
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 5964
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: MQTT Export - Added Build 3071
@kocher: OK, i started working on the MQTT. It's totally new to me but the configuration seems very easy.
I used your configuration (left the fixed intervals off, so only on updated data).
Then I start the MQTT explorer which I configure for the cumulus machine (my RPi) and it refuses to connect.
I restarted Cumulus, but the MQTT explorer keeps refusing to connect (message: 'Disconnected from server').
What do I miss?
I used your configuration (left the fixed intervals off, so only on updated data).
Then I start the MQTT explorer which I configure for the cumulus machine (my RPi) and it refuses to connect.
I restarted Cumulus, but the MQTT explorer keeps refusing to connect (message: 'Disconnected from server').
What do I miss?
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: MQTT Export - Added Build 3071
Hi Hans, I think you have misunderstood, Cumulus acts as a client, you need to point your MQTT Explorer at the server to which Cumulus is sending the data.
- HansR
- Posts: 5964
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: MQTT Export - Added Build 3071
Aha...
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- kocher
- Posts: 233
- Joined: Sat 19 Apr 2014 7:57 pm
- Weather Station: Davis Vantage Pro2+
- Operating System: Windows 10
- Location: San Sebastian - Spain
- Contact:
Re: MQTT Export - Added Build 3071
Greetings Hans
I recommend the MQTT-Explorer application, which allows you to monitor MQTT activity; It has the advantage that the modifications made are immediately appreciated.
https://mqtt-explorer.com/
I attach 3 images where you can see my own settings.
Everything is set up to see results locally
Once you find the right settings, it works alone and without interruptions
In addition, we must take into account the configuration that we have applied in the cumulusMX itself:
I recommend the MQTT-Explorer application, which allows you to monitor MQTT activity; It has the advantage that the modifications made are immediately appreciated.
https://mqtt-explorer.com/
I attach 3 images where you can see my own settings.
Everything is set up to see results locally
Once you find the right settings, it works alone and without interruptions
In addition, we must take into account the configuration that we have applied in the cumulusMX itself:
MQTT
Server Name
192.168.1.51
Your MQTT Server network name or IP address (Here the IP of the device where cumulusMX is installed)
Server port
1883
Your MQTT server port (default 1883)
Use TLS
Enable TLS support, currently special certificates are not supported
Username
xxxxxxxx
Enter your MQTT server username - if required
Password
xxxxxxxxx
Enter your MQTT server password - if required
Send message on data update
Enabled
Topic Name
cumulusMX/Interval
Enter the topic name for these messages
Template File
DataUpdateTemplate.txt
Specify the name of the template file in the /mqtt folder to format the content of these messages
Send messages at fixed intervals
Enabled
Interval Time (secs)
10
Enter the time in seconds between sending messages
Topic Name
cumulusMX/Realtime
Enter the topic name for these messages
Template File
RealtimeTemplate.txt
Specify the name of the template file in the /mqtt folder to format the content of these messages
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 5964
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: MQTT Export - Added Build 3071
Thanks a lot Javier, it is becoming much clearer now.
I am just missing a MQTT server now, thought that could be Domoticz but I have some way to go there
I am just missing a MQTT server now, thought that could be Domoticz but I have some way to go there
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- kocher
- Posts: 233
- Joined: Sat 19 Apr 2014 7:57 pm
- Weather Station: Davis Vantage Pro2+
- Operating System: Windows 10
- Location: San Sebastian - Spain
- Contact:
Re: MQTT Export - Added Build 3071
After many many days and many many tests I managed to create my own MQTT server that is responsible for updating the weewx page:
http://kocher.es/weewx/
The instructions to carry it out are in:
https://obrienlabs.net/how-to-setup-you ... tt-broker/
You have to read it slowly and carefully, because any error translates into failure.
In addition, we must pay special attention to the ports used.
If we want the server to update a certain page, MQTT must be used with #websockets and the ports are different.
Maybe it would be a nice option to update (every 2.5 seconds) your web template
One thing I am very clear about, if I have made it work (after many trial / error), I am sure that you will get it.
http://kocher.es/weewx/
The instructions to carry it out are in:
https://obrienlabs.net/how-to-setup-you ... tt-broker/
You have to read it slowly and carefully, because any error translates into failure.
In addition, we must pay special attention to the ports used.
If we want the server to update a certain page, MQTT must be used with #websockets and the ports are different.
Maybe it would be a nice option to update (every 2.5 seconds) your web template
One thing I am very clear about, if I have made it work (after many trial / error), I am sure that you will get it.
- HansR
- Posts: 5964
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: MQTT Export - Added Build 3071
Thanks Javier, lots to work here
You should try to make some software
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3