{"id":29107530,"url":"https://github.com/rorydotgg/pollenpalha","last_synced_at":"2026-04-27T17:33:52.019Z","repository":{"id":297014162,"uuid":"995341541","full_name":"RoryDotGG/PollenPalHA","owner":"RoryDotGG","description":"A custom Home Assistant integration for the PollenPal API that provides real-time UK pollen data and forecasts directly in your Home Assistant dashboard.","archived":false,"fork":false,"pushed_at":"2025-06-04T20:08:28.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-22T21:46:11.746Z","etag":null,"topics":["hacs","home-assistant","integration","pollen","sensor","uk"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoryDotGG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-03T10:34:55.000Z","updated_at":"2025-06-04T20:08:29.000Z","dependencies_parsed_at":"2025-06-14T12:54:56.300Z","dependency_job_id":null,"html_url":"https://github.com/RoryDotGG/PollenPalHA","commit_stats":null,"previous_names":["thetrueshell/pollenpalha","rorydotgg/pollenpalha"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/RoryDotGG/PollenPalHA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryDotGG%2FPollenPalHA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryDotGG%2FPollenPalHA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryDotGG%2FPollenPalHA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryDotGG%2FPollenPalHA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoryDotGG","download_url":"https://codeload.github.com/RoryDotGG/PollenPalHA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoryDotGG%2FPollenPalHA/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262539073,"owners_count":23325832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacs","home-assistant","integration","pollen","sensor","uk"],"created_at":"2025-06-29T05:04:15.533Z","updated_at":"2026-04-27T17:33:51.988Z","avatar_url":"https://github.com/RoryDotGG.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PollenPal Home Assistant Integration 🌾\n\nA custom Home Assistant integration for the PollenPal API that provides real-time UK pollen data and forecasts directly in your Home Assistant dashboard.\n\n## Features\n\n- 🌍 **Real-time pollen monitoring** for any UK location\n- 📊 **Multiple sensor types** for grass, tree, and weed pollen\n- 🚨 **Alert level monitoring** with health advice\n- 📍 **Flexible location support** (cities and postcodes)\n- 🔧 **Dynamic API URL** support for self-hosted instances\n- 🏠 **Native Home Assistant integration** with proper device grouping\n\n## Sensors Provided\n\nThe integration creates the following sensors for your configured location:\n\n- **Grass Pollen Level** - Current grass pollen level (Low/Moderate/High/Very High)\n- **Grass Pollen Count** - Numerical grass pollen count\n- **Tree Pollen Level** - Current tree pollen level\n- **Tree Pollen Count** - Numerical tree pollen count\n- **Weed Pollen Level** - Current weed pollen level\n- **Weed Pollen Count** - Numerical weed pollen count\n- **Pollen Alert Level** - Overall alert level with health advice\n\nEach sensor includes detailed attributes with additional information such as:\n- Location coordinates\n- Detailed pollen breakdowns by species\n- Health advice recommendations\n- Current day information\n\n## Installation\n\n### Method 1: Manual Installation\n\n1. Download or clone this repository\n2. Copy the `custom_components/pollenpal` folder to your Home Assistant `custom_components` directory\n3. Restart Home Assistant\n4. Go to **Settings** → **Devices \u0026 Services** → **Add Integration**\n5. Search for \"PollenPal\" and click to add it\n\n### Method 2: HACS (Home Assistant Community Store)\n\n*Note: This integration is not yet available in HACS. Use manual installation for now.*\n\n## Configuration\n\n1. **Add Integration**: Go to Settings → Devices \u0026 Services → Add Integration\n2. **Search**: Look for \"PollenPal\" in the integration list\n3. **Configure**:\n   - **API URL**: Enter your PollenPal API URL (default: `http://localhost:3000`)\n   - **Location**: Enter a UK city name or postcode (e.g., \"London\" or \"SW1A 1AA\")\n4. **Submit**: Click submit to validate and create the integration\n\n### Configuration Options\n\n| Field | Description | Example |\n|-------|-------------|---------|\n| API URL | URL of your PollenPal API instance | `http://localhost:3000` |\n| Location | UK city or postcode to monitor | `London` or `M1 1AA` |\n\n## Usage Examples\n\n### Automation Example\n\nCreate an automation to notify when pollen levels are high:\n\n```yaml\nautomation:\n  - alias: \"High Pollen Alert\"\n    trigger:\n      - platform: state\n        entity_id: sensor.pollenpal_pollen_alert_level\n        to: \"high\"\n    action:\n      - service: notify.mobile_app_your_phone\n        data:\n          title: \"High Pollen Alert!\"\n          message: \"Pollen levels are high in {{ state_attr('sensor.pollenpal_grass_pollen_level', 'location') }}. Consider staying indoors.\"\n```\n\n### Lovelace Card Example\n\nDisplay pollen information on your dashboard:\n\n```yaml\ntype: entities\ntitle: Pollen Levels\nentities:\n  - entity: sensor.pollenpal_grass_pollen_level\n    name: Grass Pollen\n  - entity: sensor.pollenpal_tree_pollen_level\n    name: Tree Pollen\n  - entity: sensor.pollenpal_weed_pollen_level\n    name: Weed Pollen\n  - entity: sensor.pollenpal_pollen_alert_level\n    name: Alert Level\n```\n\n### Template Sensor Example\n\nCreate a template sensor for combined pollen information:\n\n```yaml\ntemplate:\n  - sensor:\n      - name: \"Pollen Summary\"\n        state: \u003e\n          {% set grass = states('sensor.pollenpal_grass_pollen_level') %}\n          {% set trees = states('sensor.pollenpal_tree_pollen_level') %}\n          {% set weeds = states('sensor.pollenpal_weed_pollen_level') %}\n          Grass: {{ grass }}, Trees: {{ trees }}, Weeds: {{ weeds }}\n        attributes:\n          location: \"{{ state_attr('sensor.pollenpal_grass_pollen_level', 'location') }}\"\n          advice: \"{{ state_attr('sensor.pollenpal_pollen_alert_level', 'advice') }}\"\n```\n\n## API Requirements\n\nThis integration requires a running PollenPal API instance. You can:\n\n1. **Self-host**: Follow the [PollenPal API documentation](https://github.com/TheTrueShell/PollenPal) to set up your own instance\n2. **Use existing instance**: Point to an existing PollenPal API deployment\n\n### Supported API Endpoints\n\nThe integration uses these PollenPal API endpoints:\n- `/pollen/{location}/current` - Current pollen data\n- `/pollen/{location}/advice` - Health advice (optional)\n\n## Troubleshooting\n\n### Common Issues\n\n**Integration not appearing**\n- Ensure the `custom_components/pollenpal` folder is in the correct location\n- Restart Home Assistant after installation\n- Check the Home Assistant logs for any error messages\n\n**Cannot connect to API**\n- Verify the API URL is correct and accessible from Home Assistant\n- Check that the PollenPal API is running and responding\n- Ensure there are no firewall issues blocking the connection\n\n**Location not found**\n- Verify the location name or postcode is correct\n- Try alternative spellings or nearby locations\n- Check the PollenPal API directly to confirm location support\n\n### Debug Logging\n\nEnable debug logging by adding this to your `configuration.yaml`:\n\n```yaml\nlogger:\n  default: info\n  logs:\n    custom_components.pollenpal: debug\n```\n\n## Data Update Frequency\n\nThe integration updates pollen data every hour (3600 seconds) by default. This frequency is appropriate for pollen data which doesn't change rapidly throughout the day.\n\n## Privacy and Data\n\n- This integration only communicates with your specified PollenPal API instance\n- No data is sent to third parties\n- Location data is only used to fetch relevant pollen information\n- All communication follows Home Assistant's standard security practices\n\n## Contributing\n\nContributions are welcome! Please:\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Test thoroughly\n5. Submit a pull request\n\n## Support\n\nFor issues and questions:\n- Check the [troubleshooting section](#troubleshooting) above\n- Review Home Assistant logs for error messages\n- Open an issue on the repository with detailed information\n\n## License\n\nThis project is open source. Please check the license file for details.\n\n---\n\n**Note**: This integration requires the PollenPal API to be running and accessible. Make sure to set up the API first before configuring this integration. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorydotgg%2Fpollenpalha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frorydotgg%2Fpollenpalha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorydotgg%2Fpollenpalha/lists"}