I had some power quality issues (UPS tripping) and 2.4GHz WiFi issues this morning at 10:00am (UTC+10) which turned out to be due to a solar flare, so I hacked together some stuff to pull solar flux data from NOAA into Home Assistant.
Hi @chendo - This is awesome! I have been wanting to configure my own alerts for flares, CMEs, solar wind, etc. with python, but after seeing this I might just add it all to HA!
Any chance you could share your graph card config? I’m not sure how you are getting the current and historical values at the bottom?
And forgive my ignorance, but what’s the reason you deployed your own API on fly.io, rather than using the data directly from the NOAA source?
That screenshot is from a website that I was using initially to test my theory; it’s not a graph card.
The original data source was unwieldy to get data out into Home Assistant, so the API merely grabs the latest values and exposes them to make it a lot easier
Hi, thanks for the code but how can I know that a Flare just happened with this code?
I would be happy to know is when a Flare occures, know it’s magnitude to classify it as a C, M or X Flare/state.
Can you help @chendo ?