Amber Electric for Home Assistant
See electricity damand, renewable generation and pricing for your area courtesy of Amber Electric.
Note
The Amber Electric API is returning strange (potentially inaccurate) data at the moment. This information should be as a point of interest, but nothing more. Some day, Amber Electric are releasing a new API - maybe they will fix the issue then. Who knows.
Live Australian Electricity Pricing
You do not need to be an Amber Electric customer to see live pricing for your area. This integration is great if you have a general interest in electricity pricing or renewables. Uses your Home Assistant installation location (your latitude and longitude) to select the right electricity market and makes the data available to you to chart and use in automations.
Sensors
All sensors start with the postcode matched to your electricity market.
sensor.2044_market_consumption
attribution: © Amber Electric Pty Ltd ABN 98 623 603 805
nem_time: "2020-10-08T08:14:17+10:00"
network_provider: Ausgrid
percentile_rank: 0.4431818181818182
period_delta: 300
period_start: "2020-10-08T08:00:00.001000+10:00"
period_end: "2020-10-08T08:30:00+10:00"
period_type: ACTUAL
wholesale_kwh_price: 0.04388999999999999
unit_of_measurement: kWh
friendly_name: 2044 Market Consumption
icon: "mdi:flash"
device_class: energy
sensor.2044_market_solar
attribution: © Amber Electric Pty Ltd ABN 98 623 603 805
nem_time: "2020-10-08T08:14:17+10:00"
network_provider: Ausgrid
renewables_percentage: 0.20418
period_delta: 300
period_start: "2020-10-08T08:00:00.001000+10:00"
period_end: "2020-10-08T08:30:00+10:00"
period_type: ACTUAL
unit_of_measurement: kWh
friendly_name: 2044 Market Solar
icon: "mdi:solar-power"
device_class: energy
sensor.2044_export_market_rate
attribution: © Amber Electric Pty Ltd ABN 98 623 603 805
nem_time: "2020-10-08T08:14:17+10:00"
network_provider: Ausgrid
loss_factor: -1.04730208
amber_daily_price: 0
green_kwh_price: 0
market_kwh_price: -0.01814440909090909
network_daily_price: 0
network_kwh_price: 0
offset_kwh_price: 0
total_daily_price: 0
total_fixed_kwh_price: -0.018144363636363636
unit_of_measurement: AUD
friendly_name: 2044 export market rate
icon: "mdi:currency-usd"
sensor.2044_usage_market_rate
attribution: © Amber Electric Pty Ltd ABN 98 623 603 805
nem_time: "2020-10-08T08:14:17+10:00"
network_provider: Ausgrid
loss_factor: 1.04730208
amber_daily_price: 0.2988792029999999
green_kwh_price: 0.03860999999999999
market_kwh_price: 0.01814545454545454
network_daily_price: 0.3793679999999999
network_kwh_price: 0.08394700000000001
offset_kwh_price: 0.001
total_daily_price: 1.0778125454545455
total_fixed_kwh_price: 0.10309245454545454
unit_of_measurement: AUD
friendly_name: 2044 usage market rate
icon: "mdi:currency-usd"
Buy me a coffee
If this helps you, or you are just generous. I do love coffee.
Features
- See current network demand
- See current pricing in your area for both consumption and export (solar etc)
Setup
Add the integration.
[Optionally] Supply your username and password for Amber Electric to access your pricing and usage data. This is not required for market rates.
Usage
Once connected, several sensors (see above) will appear with pricing and demand information. They are prefixed with your postcode which is derived from your location.
Contributions
PR's are more than welcome either to the HACS component or the Amber Electric Library.
Thanks to:
@hwikene for Norwegian translation
Data Sources
Market Electricity Data
Provided by Amber Electric © Amber Electric Pty Ltd ABN 98 623 603 805
Location to Address Translation
Performed by Open Streetmap © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright