I didn't find a similar integration or any easier way to get metal prices into homeassistant, so I wrote this.
This integration provides Home Assistant with live gold prices, as well as other metals too.
Provides the same combinations of metal/weight/currency as BullioByPost does with their website live charts + more.
- Provides sensors for gold, silver, platinum and palladium spot prices updated every 5 minutes
- Each metal has its value in grams, troy ounces and kilograms.
- Each of these is provided in EUR, USD (with continuous rating) and can be converted in CHFand GBP (with daily rates).
In total the integration provides 48 sensors.
If there is a need for other currencies, they are easy to add too.
Click the button below to install via HACS.
Copy the "homeassistant-precious-metals" directory into the "custom_components" directory of your homeassistant install.
Tip
This integration has nothing you need to configure or set up. After adding the integration you have all the sensors available by default.
Please note: All data is provided without any guarantee.
- Price data is fetched (every 5 minutes) in EUR and USD from gold.de API: https://www.gold.de/chartgenerator/#api
- Currency conversion rates (daily updated) are fetched using this great project: https://github.com/fawazahmed0/exchange-api