https://github.com/codyc1515/ha-geojson
GeoJSON custom component for Home Assistant that exposes properties
https://github.com/codyc1515/ha-geojson
geo geojson hacs json
Last synced: 2 months ago
JSON representation
GeoJSON custom component for Home Assistant that exposes properties
- Host: GitHub
- URL: https://github.com/codyc1515/ha-geojson
- Owner: codyc1515
- License: apache-2.0
- Created: 2024-01-09T23:27:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T09:00:37.000Z (over 2 years ago)
- Last Synced: 2024-01-29T10:49:37.472Z (over 2 years ago)
- Topics: geo, geojson, hacs, json
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# GeoJSON Properties integration for Home Assistant
This is a GeoJSON custom component for Home Assistant that exposes the `properties` within your GeoJSON file.
## Getting started
This makes the GeoJSON integration actually useful for me because I can now use it for checking, among other things:
* Community Incidents
* Power Outages
* Water Chlorination
* Water Outages
### Example of water outages
Use the GeoJSON URL - https://smartview.ccc.govt.nz/app/router/map_features.php?feat=watershutoffs - and you will see in HA:

## Installation
### HACS (recommended)
1. [Install HACS](https://hacs.xyz/docs/setup/download), if you did not already
2. [](https://my.home-assistant.io/redirect/hacs_repository/?owner=codyc1515&repository=ha-geojson&category=integration)
3. Install the GeoJSON Properties integration
4. Restart Home Assistant
### Manually
Copy all files in the custom_components/geo_json_events folder to your Home Assistant folder *config/custom_components/geo_json_events*.
## Known issues
- This integration overrides the HA Core `geo_json_events` integration which means any updates in HA Core in the future could potentially break this integration or your HA installation. There is a [pending PR to resolve this by integrating the changes in this integration into HA Core](https://github.com/home-assistant/core/pull/107690).
## Future enhancements
Your support is welcomed.
## Acknowledgements
- [exxamalte]([url](https://github.com/exxamalte)), who contributed the original geo_json_events integration to HA Core