An open API service indexing awesome lists of open source software.

https://github.com/ledimestari/homeassistant-precious-metals

Precious metal prices for Home Assistant
https://github.com/ledimestari/homeassistant-precious-metals

gold investing portfolio-tracker precious-metals silver value-tracker

Last synced: 2 months ago
JSON representation

Precious metal prices for Home Assistant

Awesome Lists containing this project

README

          

# Precious Metal Prices for Homeassistant

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.

### Example card
image

## Features

- Provides sensors for gold, silver, platinum and palladium spot prices.
- Each metal has its value in grams, troy ounces and kilograms.
- Each of these is provided in CHF, EUR, USD and GBP.

In total the integration provides 48 sensors.

If there is a need for other currencies, they are easy to add too.

## Setup

### HACS (Recommended)

Click the button below to install via HACS.

[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=ledimestari&repository=homeassistant-precious-metals&category=integration)

### Manual

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.

## Backend

Please note: All data is provided without any guarantee.

- Price data is fetched from gold.de API: https://www.gold.de/chartgenerator/#api
- Currency conversion rates are fetched using this great project: https://github.com/fawazahmed0/exchange-api