UK "smart" energy meters

If you know how to use Python I have no doubt you can get the readings to HA without using node-red. I don’t know how to do that so I figured learning to use node-red would be easier.
Here is a screen shot of my node-red flow:

I have ringed the nodes that are relevant to getting the power readings to MQTT. /dev/tty/AMA0 is the serial input, Calculations are the functions (the relevant ones are shown below). And Annex Meter, Running cost and Power readings are the MQTT outputs.

The bit in Calculations that splits off the power readings is:

var output = msg.payload.split(" ");
var rp1    = parseFloat(output[1]).toFixed(0);
var rp2    = parseFloat(output[6]).toFixed(0);
var rp3    = parseFloat(output[11]).toFixed(0);


I hope that helps

4 Likes

top man… thanks a lot :slight_smile:

1 Like

Which light sensor did you use please? i need some light senors for a different project

What do you want to use them for?

Just measure LM?

I use Aqara Motion Sensor to do motions and light. https://www.amazon.co.uk/dp/B07S8ZXMK8/ref=cm_sw_r_cp_apa_i_gBNxEbQXW2YWF

Obviously I don’t buy them on amazon, but on Ali or Gearbest where they as twice as cheap.

I used these as well but don’t find them as accurate as fibaro or aeotec sensors. Im still hunting for a decent outdoor light sensor after my aeotec broken but I am not paying £50

The trouble with the clamp meters is they’re not necessarily that accurate - they can be affected by all sorts of things and accuracy changes with consumption ( low currents are detected with far less accuracy. ) I have one on the main supply and one on my solar PV spur… with a bit of tweaking and a fudge factor I’ve managed to get the PV reading within around 3%, which is about as good as it gets, but the main supply is only within 10% or so. Plus of course, there’s no chance of measuring gas use this way ( though there are solutions which attempt to read the digits on the meters. )

Unfortunately, until the energy companies are forced to give us real time access to our data, it’s what we’re stuck with :frowning: In theory, “the industry” is aware of the need and again, in theory, should allow you to buy your own CAD ( consumer access device ) which the energy company then facilitates you pairing to your HAN. These CADs then provide the data you need. See https://www.beama.org.uk/asset/EBA9BBB9-756E-48A0-B6C38EBFBC3EEEAB/ amongst other things.

I think everyone needs to lobby the energy companies to get this sorted.

Sadly I dont think this will ever happen.
Some energy providers may give access as a product feature, but in reality there are not enough people who want to own their consumption data (or perhaps who understand that their detail consumption data has value that they are not being compensated for).

If it ever happens there will probably be some kind of tradeoff - such as being charged a premium rate for charging EVs (to cover future shortfall from fuel duty)

Actually, I’ve just had a look around, and it seems there may have been some progress. See https://forum.ovoenergy.com/ihd-in-home-displays-64/is-ovo-now-accepting-connecting-cads-from-hildebrand-or-labrador-5470

I’ve emailed Hildebrand to confirm.

OVO fall into my definition of “Some energy providers may give access as a product feature”.
I think if they will give an API to get the data its great - kudos to them!
But I dont see it becoming widespread. IMO the ROI to build and support the API is dubious.
Maybe OVO can justify it with good marketing as a smart home/maker/hacker friendly provider, but I dont see many other providers following.

Actually, I’ve had a very interesting response from Hildebrand which seems to change everything! Here’s the reply:

The really good news is that now that the SMETS2 regime is in place, the suppliers are no longer a barrier because in addition to selling the IHD/CAD we are also a DCC Other User (a process which involved building our own connection to the DCC and passing extensive tests and audits) - this means that you can switch to whoever offers you the best deal and we can then sell you our SMETS2 IHD/CAD :

Display and CAD - Smart meters – Glow from Hildebrand

We also provide our customers with API access to their data.

Apparently there are a few suppliers who are still being rather slow about installing SMETS2 meters - so before making your final choice, we recommend that you double check.

The IHD/CAD they offer isn’t mega expensive ( 65 quid, not sure if that’s inc VAT ) so would seem to provide the perfect solution! They also do have a solution for SMETS1 apparently but I haven’t looked into that. They’ve also sent me the API details, and it’s pretty standard JSON stuff, though they can also publish via MQTT apparently. Electricity meter readings are updated every 10 seconds, and gas every 30 minutes ( dictated by how often the meters themselves send updates. )

4 Likes

Can this hook up to other companies… I. E. Npower? Very interesting.

It’s not tied to the supplier ( one advantage of having a third party device rather than a supplier API. ) If you have a SMETS2 meter, Hildebrand handle the pairing via the DCC - at least that’s how I believe it works. You can then switch suppliers as you wish.

If you have SMETS1, I think that might be more tricky. There was talk about integrating SMETS1 meters with the later system but since I don’t have one I’ve not really bothered to find out.

Such a shame that the DCC solution was not designed by default from the ground up to allow the consumer to have access and ownership of their usage data :frowning: Its great that Hildebrand is closing the gap.

The Hildebrand/Glow CAD simply accesses the PAN (Personal Area Network) created by the SMETS2 meters and the ‘Comms Hub’ part of the Smart Meter ecosystem in your property. It can access this PAN because it talks to the DCC to enable a secure connection. This CAD then uploads the meter data to its own servers (over Wi-Fi) and then allows you to access that data via an API.

I’m in the process of moving to Octopus to use the Agile tariff as, even though I have no PV etc, it is still going to be much cheaper. However, moving back to Octopus is turning into a farce.

2 Likes

Ive recently received my glow hub and access to hildebrands secure MQTT feed. Im currently in the process of getting this data into HA via Node-red! :smiley:

Who provides this CAD? Was there anything fancy you had to do to get access to the MQTT on it? Sorry if these are silly questions but i haven’t heard of this or know any energy supplier giving access to the data.

This is what you need:

Have it fully working in HA now thanks to the help of sidepipe and the others on the glow forums.

Josh

1 Like

Can you please provide a link to the forum post? Sorry to be a pain!

2 Likes

I just got a Conbee-II and have it setup with deConz and the deConz integration on HA. I have tried to pair my smart meter but have no way of doing this. I tried turning off and on the ihd device to see if this triggers something but no luck.

I have the one that OVO supplied which is the Aclara SGM1412-B. The meter does have the zigbee logo, but I’ve no idea how to pair it with my conbee stick.

Any help or success stories would be great! OVO doesn’t have a live API so this is probably my only option to get live usage as far as I know

I looked at this a while back and found this, so seems not:

### Security

Security has been considered very carefully for Smart Meters. The communications network is not part of the internet, it is a closed network only accessible to parties with the right security keys and physical connections. Additionally there is no central database containing customers’ information, the information is only stored on the Smart Meters and sent through DCC onto Suppliers and other parties who have a right to that data and where the customer has given them permission. The customer information inside messages is encrypted and only the receiving party can look at the data, the DCC cannot view the data. The parties receiving the data undergo a rigorous security assessment at the beginning and then have regular security audits.