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

https://github.com/red5d/ha-gasbuddy

Unofficial GasBuddy custom component for Home Assistant
https://github.com/red5d/ha-gasbuddy

Last synced: 9 months ago
JSON representation

Unofficial GasBuddy custom component for Home Assistant

Awesome Lists containing this project

README

          

# GasBuddy Component for Home Assistant (Unofficial)

## Installing

To install this HACS Integration add-on, follow these steps:

1. Navigate to HACS, Integrations tab
2. Click on the 3-dots on the top right, and select *Custom repositories*
3. Under *repository*, write ```https://github.com/Red5d/ha-gasbuddy```
4. Underneath, select the *Integration* Category
5. Click *Add*
6. Click on *Explore & Download Repositories* and look for the *GasBuddy* repo.
7. Select the repository and click on *DOWNLOAD*
8. Confirm that you want to download the repo.
9. Done!

Refer to the usage section below on how to use the *GasBuddy* integration.

## Usage

To find the id for the stations you want to check, go to the GasBuddy map here: https://www.gasbuddy.com/gaspricemap

Find a station and click on the price bubble. A "card" about that station with the price, name, address, etc will be displayed at the top of the map. Click on the name of the station to go to its page, and the station id is at the end of the url. (example: https://www.gasbuddy.com/station/1234567)

After installing this component, add stations to your configuration.yaml in the "sensor:" section as shown below:

```
sensor:
- platform: gasbuddy
stationid: 1234567

- platform: gasbuddy
stationid: 2345678

- platform: gasbuddy
stationid: 3456789
```

After restarting Home Assistant to reload the configuration, search for "GasBuddy" in your Entities list, and you should have a sensor item for each available fuel type at each configured station.