Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.2.0 (build 4039) - 01 October 2024

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

Who has a HG-11 2020?

Discussion of this sensor and its uses
Post Reply
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Who has a HG-11 2020?

Post by Phil23 »

I'm constantly curious about this device.

Not so much in relation to accurate measurements, more so for the purpose of knowing it's likely sprinkling outside....

Who has one and what are your thoughts given there have bee no posts here in the last 5ish years.

Cheers
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Fkinell
Posts: 13
Joined: Fri 31 Jan 2014 9:55 pm
Weather Station: WMR88
Operating System: WIN7, Linux, Windows server 2013
Location: Gloucestershire
Contact:

Re: Who has a HG-11 2020?

Post by Fkinell »

Hi I have one of these configured to let me know when it's raining. I work in a place with no windows, and it's handy to know if it is, so I can put wet weather gear on before cycling home.

I have only just moved from Cumulus to MX and I am struggling to find anything to say that this works with MX or how to configure if it indeed does.

In Cumulus it was highly reliable and detected the slightest amount of rain instantly. I had it updating my main webpage to show a cloud, with or without raindrops.

Not sure what I will do now if this no longer works..... just get changed in the wet no doubt! :|
bruce45
Posts: 365
Joined: Wed 07 Jan 2009 10:36 pm
Weather Station: wh1081
Operating System: windows 10
Location: Oban Scotland

Re: Who has a HG-11 2020?

Post by bruce45 »

Hi
RG11 works fine with MX when connected and set up as tip bucket
User avatar
mcrossley
Posts: 13416
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Who has a HG-11 2020?

Post by mcrossley »

Does it not work as Cumulus 1 - connected to a serial port? All the code is in place for it to work.
bruce45
Posts: 365
Joined: Wed 07 Jan 2009 10:36 pm
Weather Station: wh1081
Operating System: windows 10
Location: Oban Scotland

Re: Who has a HG-11 2020?

Post by bruce45 »

The RS232 port was an nightmare having to add various components into the wiring. I think Steve just gave up on that method and concentrated on other things. I have mine connected exactly the same way as you would a tip bucket gauge and it works fine. The code might just be left from when this was first tested many years ago.

Forgot to say how many devices have serial ports these days
Fkinell
Posts: 13
Joined: Fri 31 Jan 2014 9:55 pm
Weather Station: WMR88
Operating System: WIN7, Linux, Windows server 2013
Location: Gloucestershire
Contact:

Re: Who has a HG-11 2020?

Post by Fkinell »

Hi, Struggling here with my RG11.
In MX is there an "IsRaining" equivalent webtag.

I used to be able to reference the #IsRaining webtag which returned a 1 or a 0 and stick it into a src="images/rain<#IsRaining>.bmp" with appropriately named 0.bmp & 1.bmp to show a rain cloud ( or not )

I have searched and experimented for a long time to find out how and where the new format data-cmxdata="IsRaining" equivalent in MX ... but I can't figure this out, let alone how to implement as I did before.

Is this still possible? I basically added this to the end of the Rainfall table header in Cumulus:
<td colspan="4" class="tableseparator_rainfall">Rainfall <img src="images/rain<#IsRaining>.bmp" alt="Rain" width="25" align="right" border="0" height="21" style="margin: 0px 1px" /></td>

And would love to be able to do it again.

(Why? : I work in a windowless office in IT (think IT Crowd) ..not in Web design ..clearly!
I Cycle. I like to know if I need to don my wet weather gear before leaving the office.
Rather than make a total spectacle of myself getting into waterproof leggings, in the rain, trying to balance on one leg ..badly)
User avatar
PaulMy
Posts: 4056
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Who has a HG-11 2020?

Post by PaulMy »

In MX is there an "IsRaining" equivalent webtag.
Yes, it works in the usual way. I have just created a quick test_webtagsT.txt to be processed

Code: Select all

IsSunny <#IsSunny>
IsRaining <#IsRaining>
IsFreezing <#IsFreezing>
and it is processed and FTP http://komokaweather.com/cumulusmx/test_webtags.txt

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Fkinell
Posts: 13
Joined: Fri 31 Jan 2014 9:55 pm
Weather Station: WMR88
Operating System: WIN7, Linux, Windows server 2013
Location: Gloucestershire
Contact:

Re: Who has a HG-11 2020?

Post by Fkinell »

Hi. Good to know ta.

And yet I can not get it to work on the new pages?

<tr>
<td colspan="4" class="w3-theme-d4">Rainfall </span><#IsRaining></span></td>
</tr>

The webtag is not processed?


See https://fkinell.uk/ I have left the offending code in

All references seem to be of the type : data-cmxdata="webtag"

I am outta my depth here, even in these shallow waters. Soz
User avatar
PaulMy
Posts: 4056
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Who has a HG-11 2020?

Post by PaulMy »

Hi,
I know very little about the code but the current version of CumulusMX and default website files do not process the xxxx.htm file. Instead, you one-time FTP all the template files in CumulusMX\webfiles\ to your website, including index.htm. Then the current data comes from the updating of the xxxx.json files in your CumulusMX\web folder to your website at your normal interval. These xxxx.json files then populate the xxxx.htm files, like index.htm, on your website whenever the file is called.

Maybe all you need to do is to rename your edited \webfiles\index.htm file and move to your \web folder and rename as indexT.htm and then add it to your Extra web files settings for Process and FTP as index.htm which will then have the IsRaining result as either 0 or 1 after each interval update. Don't know how to change that 0 or 1 to an understandable text though.

I am sure there are much better ways to accomplish what you want.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Fkinell
Posts: 13
Joined: Fri 31 Jan 2014 9:55 pm
Weather Station: WMR88
Operating System: WIN7, Linux, Windows server 2013
Location: Gloucestershire
Contact:

Re: Who has a HG-11 2020?

Post by Fkinell »

Hi Sorry for late reply.

Thanks for info... if you know "very little about the code" given your reply .. then I am miles behind you somewhere lost lol

I will have a poke about and see if I can get it working. Doubt it somehow.

Thanks for your help
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: Who has a HG-11 2020?

Post by jpsc »

I have just got mine out of storage, I've been running MX for the last 8 years or so and did not connect it to my Pi.

The cable still has the DB9 connector on it, from when it was connected to a PC. To interface to the Pi is it just a matter of getting a USB to RS232 adaptor or do the signals not work that way?
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
Post Reply