Amber Electric Usage custom component

If you live in Australia, joined Amber because of its nice and transparent APIs (like me), and don’t have a whole house energy monitoring device. Hope this custom component gives you a bit of a remedy. GitHub - Tmbao/amberelectric-usages

The main feature is that it fetches the energy usages from Amber API, and populates them retrospectively to HA statistics, so that you can see them easily in your HA energy dashboard.

The setup flow is similar to the component built into HA core. After that, you’ll get some statistics for your electricity usage and cost. It’s subject to the limitation of the usages in Amber app, data will be delayed and only available on the next day. Also a limitation of retro data is that it cannot be more granular than hourly, but Amber data is only per 30 min interval anyway.

Enjoy!

1 Like

Oh, nice!

Are you saying that the usage stats don’t normally come through the default Amber sensors, so this component makes extra API calls to retrieve the usage information?

Yes that’s correct

Hey thanks for putting this together. I have both the amber integration and now the usage integration installed. And I have usage appearing in the energy dashboard using this integration. I have two questions you may have already solved for ;

(1) When you setup the energy dashboard with the usage sensor, is it possible to also add the amber general price to the energy dashboard associated with that usage? I assume that it is difficult because the usage is delayed and price data is realtime sensors.

(2) I have Home Assistant setup to export sensors to InfluxDB for a longer time view. This includes the amber integration realtime price etc sensors. I dont think the usage data from this integration will go into Influxdb as there are no associated sensors. Do you know any easy / alternate way to direct the usage data from this integration to Influxdb?

Thank you.

Hey, thanks for this.

I am new to Home Assistant. Just wondering, how should I install and use this component for getting the kind of dhasboard that you have shown?

Appreciate all the help.

Cheers.

Update: I figured it out. Thanks for your amazing work

1 Like