[RELEASE] Hildebrand Glow MQTT Drivers - UK Smart Meters

In the UK many homes are being fitted with smart meters for domestic electricity and gas.

Meter upgrades are performed on behalf of the supplier and report your usage and meter readings via the Data Communications Company (DCC). When a smart meter is fitted the homeowner will normally be provided with an In-Home Display (IHD) which is pretty much the extent of most consumer's involvement with the meter.

However, there is one company, Hildebrand, registered as a "DCC Other User" who are permitted to receive communication directly from smart meters and historical data from the DCC. They can provide an IHD which also operates as a Consumer Access Device (CAD) and can provide a local MQTT feed to an MQTT broker.

Search for "hildebrand" on Hubitat Package Manager (HPM v1.8.7 or later is required) or you can install manually:

All three components are required and the Library can be installed on Developer Tools > Bundles > Import ZIP, though HPM is the easier way to go.

These drivers subscribe to the appropriate topic on your local MQTT broker and fettle the data into two Hubitat child devices, one for your electricity and one for your gas meter. This provides:

  • Accurate power and energy readings every 10 seconds for electricity.
  • Meter readings in kWh (coming soon, m3 for gas).
  • Daily, weekly and monthly cumulative energy readings.
  • Billing information (rates and standing charges).
  • Meter Point Administration Number (MPAN) for electricity meters.
  • Meter Point Reference Number (MPRN) for gas meters.

Being direct from the meter these readings are highly accurate and far better than the usual "clamp" methods used on the incoming cables.

4 Likes

Just tried to install and it failed using HPM.
Not sure why

Which version of HPM are you running? This driver relies upon bundle installation, which was only properly supported from v1.8.6. The latest version, 1.8.7, also contains an updating bug fix.

I'll make a note on the first post that HPM v1.8.7 or greater is required to install.

Just tested on a hub it wasn't previously installed on, with v1.8.7 is goes through just fine.

1 Like

Well i was on v1.8.3.... now on v1.8.7 and it has installed

1 Like

I have installed all. Are there instructions on what to do next?

I've not had chance to write anything up, but assuming you've got your data being sent from the IHD/CAD to an MQTT broker you just need to create the virtual device (Devices > Add Device > Virtual) and choose "Hildebrand Glow" from the "Type" dropdown.

Once saved, head to the Hildebrand Glow device in the Devices list, enter the MQTT Broker IP Address, give it a username and password (if your broker requires it) then hit "Save Preferences". The driver will create two new child devices, one for your electricity meter and one for your gas, and you're off.

Thanks.. I admit I am outside my comfort zone now so now I brain dump.. hopefully some of this makes sense. I just signed up glowmarkt.com and I am now able to receive data for gas and electric (30m intervals) on android phone. I see in their documentation I can request access to their MQTT. https://docs.glowmarkt.com/GlowmarktAPIDataRetrievalDocumentationIndividualUserForBright.pdf

Seems I need to buy their display for real time data.

So what to do?
I assume I will be able to point your driver to glowmarkt.com MQTT when I have access.
I like to avoid complication when I can. I don't feel in a position to decide on my next course of action. Any pointers would be most welcome.

I'm afraid not, the driver is set up for live MQTT feeds being read straight from the meter. Without the display there's nothing local to your meter receiving readings, so the only data you have access to is whatever has been sent to the DCC, plus historical data stored by them. That's everything which is shown in the Bright app.

To get live data you need a device which your meter speaks to directly. The only product which exists to do that at the moment is Hildebrand's CAD/IHD display, because the rules of what can connect directly to your meter are (unsurprisingly) a bit strict and nobody else has jumped through the hoops and designed a product.

To use this driver and get live meter data you'll need the CAD/IHD, plus some computing device (probably a Raspberry Pi or even your NAS if you have one) to act as the MQTT broker. This is a small piece of software (mosquitto is the usual) which many devices can send their MQTT feeds to and where other devices can subscribe to receive them. This driver is one of those potential subscribers.

Hope that's a little clearer!

Thanks... I just asked for glowmarkt.com for MQTT access quoting the HE mac address I was hoping to use thinking this was the path I needed to take.. doh... I expect they will reject the request anyway.. I have ordered their new display .. i will wait until that turns up then look again..

Stupid question! why couldn't HE act as the MQTT broker?

Many thanks... you are opening a whole new world to me!

1 Like

That's a fair question, I think it's been asked around here before. Resources, I presume.

If you only had one or two services sending data to the broker, it would probably be fine. But once it's there I could imagine folk firing everything at it (that is the point of a broker service after all) and the hub becoming bogged down under the traffic.

This is all supposition, but it might be right. :laughing:

Thanks,, then I would run an HE just for MQTT.. I got a reply from glowmarkt.com . told me I need their device..which I have already ordered... more later

You can grab a second-hand Pi for literally 10x less money that’s probably more powerful!

Hey, maybe I could advocate for one of my other side projects - the OpenFrame! Intel Atom and a screen for £30, can run my Debian Bullseye image. Could do your display, graphs, MQTT… :ok_hand:

Ok I have the meter connected and working. Do I need to request cloud MQTT access? Do I have all the pieces now to try and get this working? Apologies for being so stupid!

Screen’s working? Have you set up an MQTT broker on something? If so, just point the display at the MQTT broker and the driver to the same place and you’ll be done!

Cloud MQTT isn’t done, but it’s something I could add in the future… that would negate the need for a local broker, but makes you reliant on an external server and internet connection, which is a tad contrary to Hubitat’s greatest strengths.

Ok.. let me start again: I want to be able to get my smart readings for electricity and gas into HE. Your driver will do this but it needs other components.
I am receiving real time readings on my Android phone using the Bright app. I also have bought a Glow meter from Hilderband. This is also receiving data.
At the moment I don't care about being dependent on the web, for now I just want to get the data into HE.
So back to basics.. you suggest use a broker say from Mosquitto. Mosquitto will communicate to HE using your driver but it needs access to the real data. How do I configure Mosquitto. What does Mosquitto communicate with , the Glow meter. I am so very very lost.

Yup. Although, keep reading.

Excellent, if you've got this spinny thing on the app you're definitely receiving live data from the meters.

Okay. Erm, I sort of thought this would be a stumbling block for adoption in the first instance. Not everybody has a Raspberry Pi lying around or the willingness to turn it into an always-on MQTT Broker.

Somebody else made an effort of cleaning the kitchen this evening, albeit somewhat half-heartedly, so tonight's your lucky night! I knew I'd need to do this at some point, so I've added basic support for Hildebrand's "cloud" MQTT broker to the driver. No Raspberry Pi required.

I assume you installed through HPM, so upgrade the driver there and you should now see a preferences section on the Hildebrand Glow device which looks like this:

You will have been sent your Device ID in the email from Hildebrand outlining your cloud MQTT details, look for the "SMART/HILD/84CCxxxxxxxx" bit in the message and you only need the bit in bold to go into the Device ID preference. It's actually the IHD's WiFi MAC address.

The username and password are required for cloud access, they're the same as you use for the Bright app. Don't forget to hit "Save Preferences".

You'll know it's working by looking at the Hildebrand Glow Meter Electricity child device, under the main Hildebrand Glow parent device. Power (current usage in W) and Energy (cumulative usage, which is also your meter reading) will update every 10 seconds or so.

Other than some state values for the IHD that's as much as I have time to add right now; only electricity power and energy, no other cumulative values and nothing from the gas meter. I'll get around to those when I can, you'll not need to do anything other than update the driver.

I shall now reward myself with a small beer and at least 3 hours kip. :crazy_face:

Thank you very much. I have requested cloud access. However I thought I made some progress when I realised 'use mosquitto as a broker' meant download a MQTT broker code from Mosquitto for a client of your choice. Well I already run a windows server 24/7 , so I downloaded that and installed it. I 've been whirling away the hours trying to connect HE to that. No joy. Still not understanding much but certainly more than a few days ago. I feel I should be able to get local access working if only I knew how. The key seems to be the Mosquitto.conf file.

wow it's working locally .. same old..some security issue.. created mosquitto test.conf
listener 1883
allow_anonymous true
started up broker on my windows server using that file test.conf and everything started working..

Now I have something working.. I just need to tidy it all up.. could never done it without your help. A big thanks!

1 Like

Excellent! Glad to hear it. :grin:

Using Use Hildebrand Cloud MQTT Broker also now works... perfect.. spoilt for choice.. local wins!

1 Like