Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

CumulusMX via Wordpress

Share your Cumulus MX user interface here
buffaloseven
Posts: 3
Joined: Thu Oct 06, 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS Sierra

CumulusMX via Wordpress

Postby buffaloseven » Tue Aug 01, 2017 3:39 pm

Hey All,

Just wanted to share some of the work I've been doing utilizing CumulusMX to run my PWS and wanting to integrate it into my website, which runs on Wordpress.

You can see the current results, which is still missing a few of the default CumulusMX pages here: https://www.aweathermoment.com/pws/glenwood/

It's been a bit of work as I've also wanted to utilize my existing Bootstrap 3 based theme for the display. I'm pretty happy with it so far. My general process was to first create some custom JSON-based templates for Cumulus to upload to my server that contains the weather information. I then created page-pws-*****.php templates in my Wordpress theme to utilize for the various views. After that, I set up a new page type in my Wordpress theme, with custom metadata for things like data location, site name, site location, and a few other things.

I've arrived at a fully templated CumulusMX display. Come this fall, another person in Winnipeg will be using my site to share their information and all I'll have to do is get them uploading to their own folder, then I create a few pages in the Wordpress GUI and fill out the correct metadata and voilà, a new site being displayed. One of the biggest benefits to this templating process is that if I want to adjust how something is displayed, I simply change it in the page template and all PWS pages on my site will immediately get the adjustments; simple for me, simple for others who will share on it.

I plan on adding the complete records soon as well as that nice dayfile table display (which will take a bit of doing to translate into Wordpress/bootstrap). But for now, I have a relatively complete CumulusMX display that is Wordpress-templated and migrated to the Bootstrap 3 framework.

User avatar
VTHokie74
Posts: 130
Joined: Tue Apr 10, 2012 12:58 am
Weather Station: Davis Vantage Pro 2
Operating System: Rasbian
Location: Ashland, KY

Re: CumulusMX via Wordpress

Postby VTHokie74 » Tue Aug 01, 2017 4:36 pm

Looks nice!
Station: Davis Vantage Pro 2/CumulusMX/Raspberry Pi 3

buffaloseven
Posts: 3
Joined: Thu Oct 06, 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS Sierra

Re: CumulusMX via Wordpress

Postby buffaloseven » Thu Aug 03, 2017 11:56 pm

Thanks! I have a bit of cleaning up to do so far, but overall I'm quite happy with it. Looking forward to getting the other views done in the near-future too.

Hardest part I found was templating the gauges to work within my Bootstrap 3 theme, but once I got it working, they were relatively easy to customize enough to fit in with the overall design.

I'm still thrilled that all I have to do is create a few new pages in the Wordpress back-end and set the right metadata (which takes about 5 minutes), and I have another complete weather station available. It's great.


Return to “Customisation”

Who is online

Users browsing this forum: No registered users and 1 guest