This custom integration for Home Assistant allows you to monitor the GEOD token balance of a Polygon wallet address using the Polygonscan API.
This is a fork of the original project to fix an issue that wasn't addressed due to inactivity. I’ve made the necessary changes for my use case and will try to maintain this fork as needed. Thanks to the original author for their great work!
- Fetches GEOD token balance for a specified Polygon wallet address
- Updates balance every hour
- Configurable through the Home Assistant UI
- Ensure that HACS is installed in your Home Assistant instance.
- In the HACS panel, go to "Integrations" and click the "+" button.
- Search for "GEOD Balance" and install it.
- Restart Home Assistant.
- Download the
geod_balance
folder from this repository. - Copy the folder to your
custom_components
directory in your Home Assistant configuration directory. - Restart Home Assistant.
- In the Home Assistant UI, go to "Configuration" > "Integrations".
- Click the "+" button to add a new integration.
- Search for "GEOD Balance" and select it.
- Enter the required information:
- Wallet Address: Your Polygon wallet address
- Nickname: A name for this wallet (used in the sensor name)
- API Key: Your Polygonscan API key
After configuration, a new sensor will be created with the following attributes:
- State: Current GEOD token balance
- Unit of Measurement: GEOD
The sensor name will be in the format: {nickname}_geod_balance
- Ensure your Polygon wallet address is correct and contains GEOD tokens.
- Verify that your Polygonscan API key is valid and has the necessary permissions.
- Check the Home Assistant logs for any error messages related to the integration.
If you encounter any issues or have feature requests, please open an issue on the GitHub repository.
This project is licensed under the MIT License.