@ColinRobbins thank you for the reply.
so all i need is this ? Display and CAD - Smart meters – Glow from Hildebrand (glowmarkt.com)
And then i can pull data off that unit every second ?
@ColinRobbins thank you for the reply.
so all i need is this ? Display and CAD - Smart meters – Glow from Hildebrand (glowmarkt.com)
And then i can pull data off that unit every second ?
That is my understanding, but I do not have one, so cannot confirm. The 30 minute delayed data is sufficient for my needs.
I have that Glow Display and CAD device (SMETS2) and use local MQTT to integrate with Home Assistant:
The real-time readings are typically updated every 10-20 seconds for me.
thanks i have it setup with MQTT
Not sure how I pull real time energy usage into the energy part of HA?
I have my Energy dashboard configured to use “Smart Meter Electricity: Import” as the “Consumed Energy (kWh)” and “Smart Meter Electricity: Cost (Today)” for “Use an entity tracking the total costs” - I haven’t verified the numbers but it seems to work, insofar as it populates the default “Energy usage” graph (after a couple of hours from first configured) and shows the Cost associated with the energy used.
Hi folks - just getting started, and wondered - is there any way to get the integration to report export as we as flow from the grid into the house?
This looks like an interesting development as a Glow alternative.
Until recently Chameleon only dealt with suppliers, but now they have introduced a retail IHD with the name ivie Bud at the price of £49.99 + delivery. Although not a CAD we have listed it here as it will work with the SmartThings Energy app in the future.
Read more at: Data from Smart Meters - The full story © SmartMe.co.uk
Does anyone know anything about it?
The “coming soon” smart things integration, suggests there is an API of some form. So a candidate for integration into HA.
To consume the Zigbee data, I drop this in config\packages\energy.yaml
input_number:
home_gas_meter:
name: Home Gas Meter
min: 0
max: 100000
step: 0.0001
unit_of_measurement: kWh
mode: box
icon: mdi:fire
home_electricity_meter:
name: Home Electricity Meter
min: 0
max: 100000
step: 0.0001
unit_of_measurement: kWh
mode: box
icon: mdi:flash
automation:
- id: update_gas_meter
alias: Energy - Update Gas Meter
trigger:
- platform: state
entity_id:
- sensor.home_gas_meter
condition:
- condition: template
value_template: '{{ ( states("sensor.home_gas_meter") | float > states("input_number.home_gas_meter") | float ) }}'
action:
- service: input_number.set_value
data:
value: '{{ states("sensor.home_gas_meter") | float }}'
target:
entity_id: input_number.home_gas_meter
mode: single
- id: update_electricity_meter
alias: Energy - Update Electricity Meter
trigger:
- platform: state
entity_id:
- sensor.home_electricity_meter
condition:
- condition: template
value_template: '{{ ( states("sensor.home_electricity_meter") | float > states("input_number.home_electricity_meter") | float ) }}'
- condition: template
value_template: '{{ ( states("sensor.home_electricity_meter") | float < states("input_number.home_gas_meter") | float ) }}'
action:
- service: input_number.set_value
data:
value: '{{ states("sensor.home_electricity_meter") | float }}'
target:
entity_id: input_number.home_electricity_meter
mode: single
sensor:
- platform: mqtt
unique_id: home_electricity_meter
name: "Home Electricity Meter"
state_topic: "SMART/HILD/YOURSERIAL"
unit_of_measurement: 'kWh'
device_class: energy
state_class: total_increasing
value_template: "{{ [ states('input_number.home_electricity_meter') | float, value_json['elecMtr']['0702']['00']['00']|int(base=16) * value_json['elecMtr']['0702']['03']['01']|int(base=16) / value_json['elecMtr']['0702']['03']['02']|int(base=16) ] | max }}"
icon: 'mdi:flash'
- platform: mqtt
unique_id: home_gas_meter
name: "Home Gas Meter"
state_topic: "SMART/HILD/YOURSERIAL"
unit_of_measurement: 'kWh'
device_class: energy
state_class: total_increasing
value_template: "{{ [ states('input_number.home_gas_meter') | float, value_json['gasMtr']['0702']['00']['00']|int(base=16) * value_json['gasMtr']['0702']['03']['01']|int(base=16) / value_json['gasMtr']['0702']['03']['02']|int(base=16) ] | max }}"
icon: 'mdi:fire'
- platform: mqtt
unique_id: home_current_electricity_usage
name: "Home Current Electricity Usage"
state_topic: "SMART/HILD/YOURSERIAL"
state_class: measurement
unit_of_measurement: 'W'
value_template: "{{ value_json['elecMtr']['0702']['04']['00']|int(base=16) }}"
icon: 'mdi:speedometer'
- platform: mqtt
unique_id: home_current_gas_usage
name: "Home Current Gas Usage"
state_topic: "SMART/HILD/YOURSERIAL"
state_class: measurement
unit_of_measurement: 'W'
value_template: "{{ value_json['gasMtr']['0702']['04']['00']|int(base=16) }}"
icon: 'mdi:speedometer'
- platform: integration
unique_id: home_total_gas_usage
name: "Home Total Gas Usage"
source: sensor.home_current_gas_usage
method: left
- platform: integration
unique_id: home_total_electricity_usage
name: "Home Total Electricity Usage"
source: sensor.home_current_electricity_usage
method: trapezoidal
Then reference it in configuration.yaml
like so
homeassistant:
packages: !include_dir_named packages
I added some logic to try resolve some dirty data coming from Glow, where the Gas and Electricity meters will sometimes swap for some reason. It’s not perfect yet, but should be a decent starting point.
did you get this sorted? seeing the same thing…
Unfortunately not I think.
My understanding is that the bright app is tapping into the data that your meter is transmitting to your energy supplier via the network. As it only does this a maximum of every 30 mins, that’s as detailed as you’ll get using this method.
I have resisted getting a smart meter installed, as I can see development in other countries and the way they charge the user by when they use energy during the day, and not the “normal” way we get charged here in the UK… No doubt this hour by hour charging is coming to the UK soon…
Anyway, with something like the Hildebrand integration in HA I would be prepared to get one installed, if only for the stats in HA.
Anyway, having read through this thread there seems to be problems with data not being available all the time, down time of the API, wrong data being sent, etc…
So my question if, is this something that is mature enough to get? Does it work?
I’m not sure if I’d get a better experience using the Hildebrand hardware but I find using the API is very patchy in terms of reliability.
The free Glow API is unreliable (HA has to use it in a sub optional way).
The Octpus API seems reliable, but the data has a 24 hour delay built in, which does not work well in HA.
Some have found success with the Hildebrand hardware/MQTT, but I’ve not tried it.
If you only want to monitor electric, then a Shelly is worth consideration.
The main issue is smart metering was set up as a closed system, so consumers cannot easily get at their own data, instead relying on commercial services - and so far these services are not meeting the needs of the home automation market.
I have been using the Hildebrand IHD for 18 months, first using their MQTT feed, and in the last few months, a local MQTT feed from the IHD.
There were times when the Hildebrand MQTT feed would fail, due to some hardware issues on their side, but the local MQTT feed is rock solid.
As noted earlier in this thread, I use this Glow Hildebrand Display/CAD (SMETS2) for getting my electricity meter readings into HA:
I set it up via local MQTT back in June and it’s been working great - I haven’t noticed any issues in those ~5 months and looking at it now in HA the meter reading seems to update at least once every 30 seconds (typically once every 10-20 seconds).
Hi all,
I recently installed the DCC fork as i dont have the Glow CAD. I have the IHD provided by Schneider electric (with the wiser thermostat). Anyway, all linked to glow, the integration installed via HACS and working with 30 min or so updates. However, i cant get gas consumption into the energy dashboard…
It says no matching statistic found when trying to add a gas source:
However under devices its happily tracking gas usage…
There is an issue in 2022.11 that means “energy” devices don’t show up in the gas dashboard.
Unfortunately we just have to wait for that to be fixed. It looks like a minor tweak, but just got to wait for someone to action it.
Concur with this.
Thanks. 2022.11.4 out today. Still not working
Anyone with a glow IHD/CAD - do you get gas kWh usage by day/week/month in the local MQTT feed. I get the gas usage in the MQTT feed via the Hildebrand server, but not the local one which just shows as null -
{
"gasmeter":{
"timestamp":"2022-11-26T12:22:01Z",
"energy":{
"import":{
"cumulative":18623.094,
"day":null,
"week":null,
"month":null,
"units":"kWh",
"cumulativevol":1676.698,
"cumulativevolunits":"m3",
"dayvol":null,
"weekvol":null,
"monthvol":null,
"dayweekmonthvolunits":"kWh",
"mprn":"XXXXXXXXX",
"supplier":"---",
"price":{
"unitrate":0.10457,
"standingcharge":0.28476
}
}
}
}
}
The local MQTT works fine for the electricity with all values complete.
Thanks