In the end the data comes from some site with devices and sensors. Check whether your local authority has one near you and whether you can read it directly or via a local service.
I’m based in the UK and I was using tomorrow.io but that was often telling me that pollen was low when it was high and my eyes were burning. I am now using BBC weather data - sadly BBC doesn’t provide API to get it so you have to use scraper - it is all nicely explained on this guy’s website: speaktothegeek.co.uk
3 Likes
Interesting thanks. But I thought scraping on HA has been deprecated?
Core integrations are no longer allowed to use scraping. You can however use the Scrape component (or Multiscrape through HACS).
Custom components can still use scraping.
1 Like
could you please share the code?
Which part do you want, the lights or the notifications?