Meteobridge realtime extension for weeWX

144 views
Skip to first unread message

Ian Millard

unread,
Jan 6, 2019, 1:17:07 AM1/6/19
to weewx-user
I may be imagining things but some time ago I came across a mention of a Meteobridge realtime extension for weeWX to emit live data in a similar fashion to the CRT extension. I have searched and searched but nothing has turned up. I am prepared to try and have a go myself but Python is very much not my strong point. Is there anyone willing to hold my hand through the process? 

The reason for this request is a simple one. I maintain the weeWX version of the weather34 home weather station dashboard template (https://github.com/steepleian/weather34-Home-Weatherstation-Template-weeWX-adapted). The current version is based on using Cumulus format realtime.txt for live data which is generated by the CRT extension. Going forward the owner and designer of weather34 template will only be developing new versions based on Meteobridge live data so logically a MB extension will make the process of maintaining the weeWX version more efficient in the future.

Health Warning - it could be a painful process!

Thank you,
Ian

Scott Grayban

unread,
Jan 6, 2019, 1:24:42 AM1/6/19
to weewx-user
If the driver isn't listed at https://github.com/weewx/weewx/wiki then the answer most likely is no.

mwall

unread,
Jan 6, 2019, 3:41:42 AM1/6/19
to weewx-user
On Sunday, January 6, 2019 at 1:17:07 AM UTC-5, Ian Millard wrote:
I may be imagining things but some time ago I came across a mention of a Meteobridge realtime extension for weeWX to emit live data in a similar fashion to the CRT extension. I have searched and searched but nothing has turned up. I am prepared to try and have a go myself but Python is very much not my strong point. Is there anyone willing to hold my hand through the process? 

you should be able to do this pretty easily.  post questions here, or if it gets too technical move the discussion to weewx-development, if you like.  we've been through this process before with cumulus (realtime.txt and variants) and weatherdisplay (customclientraw.txt and variants) for steelseries and numerous other 'templates'.

you might want to start by forking the weewx-crt extension.  just modify the output so that it contains the data in whatever order and format meteobridge emits them.

hopefully you can get the specification from boris or brian.  but if not, you can easily reverse engineer it by looking at a sample of whatever weather34 for meteobridge is trying to ingest.

Ian Millard

unread,
Jan 6, 2019, 5:33:00 AM1/6/19
to weewx...@googlegroups.com
Ok thanks for the confidence boost.

I already have a comparison of the two live data files. They are very similar but Meteobridge has extra fields. In general these additional fields do not appear to be used by the template. As a first step, I will amend the field listing at the end of crt.py to match the Meteobridge format and see what happens - or am I being too simplistic?

Thanks,
Ian



Sent from my iPad
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/IYev_usupEM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

steeple ian

unread,
Jan 6, 2019, 8:17:32 AM1/6/19
to weewx...@googlegroups.com
Ok doing well so far. I have packaged a 'mbrt.py' file and installed it correctly. It is producing a 'MBrealtimeupload.txt' file with some data. Hopefully all I need to do is map the Meteobridge fields into the correct positions. Will have to leave that until this evening as 'outdoor jobs' are beckoning.

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 weewx-user+...@googlegroups.com.

steeple ian

unread,
Jan 7, 2019, 6:15:49 AM1/7/19
to weewx...@googlegroups.com
Its all working fine. Just one extra field required. Much easier than I expected, but then again all the hard work had been done for me in the CRT extension. Thank you.

I will make this available for everyone when I have cleaned it all up.

Ian

Dan'l B

unread,
Jan 24, 2019, 10:34:03 PM1/24/19
to weewx-user
I'm looking forward to seeing your cleaned up version.
Reply all
Reply to author
Forward
0 new messages