Fuelprices.dk
The Fuelprices.dk integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] uses the Fuelprices.dk API as a source for fuel price data from Danish fuel companies.
All station data and prices are provided by Fuelprices.dk and the fuel companies.
Companies currently supported
To view a list of currently supported companies, refer to Fuelprices.dk Companies.
Prerequisites
To set up the integration, you need a valid Fuelprices.dk API key
- Go to Fuelprices.dk.
- Select Registrering.
- Enter your
nameandemail address. - Select Opret bruger.
- Check your email and copy your API key.
After setup, you can reconfigure selected products for each station from the integration settings.
Configuration
To add the Fuelprices.dk hub to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Fuelprices.dk.
-
Follow the instructions on screen to complete the setup.
Your API key as specified in the email received after registration on Fuelprices.dk
Supported functionality
Sensors
The integration creates sensor entities for the selected station:
- One price sensor per selected product (for example Blyfri 92, Oktan 95, and Diesel)
Data updates
The integration pollsData polling is the process of querying a device or service at regular intervals to check for updates or retrieve data. By defining a custom polling interval, you can control how frequently your system checks for new data, which can help optimize performance and reduce unnecessary network traffic. [Learn more] Fuelprices.dk every hour.
The integration does not modify values. Home Assistant shows the values exactly as returned by Fuelprices.dk.
Known limitations
- Data availability and freshness depend on Fuelprices.dk and the fuel companies.
- Some stations may not provide all products.
- API rate limits can temporarily delay updates.
Troubleshooting
- Invalid API key: Verify that your API key is correct and still active.
- Cannot connect: Check your internet connection and try again later.
- Rate limit exceeded: Wait and try again later.
- Missing prices for a product: Verify that the selected station provides that product on Fuelprices.dk.
Removing the integration
This integration follows standard integration removal. No extra steps are required.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three dots
menu. Then, select Delete.