core
core copied to clipboard
Aurora Integration always show 0% visible
The problem
The integration always shows 0% visible, never changing, while an app on my phone has gone up to highly probable visibility by the naked eye at the same location during the last month. I would have expected it to at least be showing 10-20-or something percent?
What version of Home Assistant Core has the issue?
2022.11.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Aurora
Link to integration documentation on our website
https://www.home-assistant.io/integrations/aurora/
Diagnostics information
Not available on this integration
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.aurora
Source: helpers/update_coordinator.py:151
Integration: Aurora (documentation, issues)
First occurred: 22 November 2022 at 20:30:42 (1 occurrences)
Last logged: 22 November 2022 at 20:30:42
Error fetching Aurora Visibility data: Error updating from NOAA: Cannot connect to host services.swpc.noaa.gov:443 ssl:default [Try again]
Additional information
I can connect to the server and access the server via a web browser and see the file structure and as the error above only appears once per reboot i assumed on the retry it is connecting?
Hey there @djtimca, mind taking a look at this issue as it has been labeled with an integration (aurora
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of aurora
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Change the title of the issue. -
@home-assistant reopen
Reopen the issue. -
@home-assistant unassign aurora
Removes the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
aurora documentation aurora source (message by IssueLinks)
I have the same issue but a different cause. The NOAA data has 0-360 degree longitudes and HA uses -180-180 causing anyone in the west to get 0 all the time. I think the fix is as easy as adding the following line in the init.py under def get_forecast_data.
longitude = longitude % 360
It's terrible how unreliable this is. To the point it's a waste of space with no fix yet.
I was just outside and could see the northern lights.
Who do we need to tag for this to be fixed?
same issue here, never reports anything apart from 0%
I made a pull request against the repo for the API but it hasn't been pulled into the home assistant project yet. If you're interested I can share my appdaemon workaround.
Yes Please!
@calabresemic can you link to the PR? I can't find it in the core repo. I haven't had time to look at these issues on this one, but if there is a fix I'm happy to do what I can to get it incorporated.
@djtimca you already approved it but I'm guessing the python package needs to get updated and pushed to the home assistant build.
https://github.com/djtimca/aurora-api/pull/1
Yes Please!
You add it and supply lat and long and an interval, optionally. I have it push to an mqtt sensor but there's other ways to implement it as well.
https://github.com/calabresemic/lab-files/blob/main/home-assistant/appdaemon/auroranotify.py
It'd be nice to see a few other alternatives as well, such as:
- https://www.aurorawatch.ca/
- https://auroraforecast.com/
- https://www.spaceweatherlive.com/en/auroral-activity/aurora-forecast.html
Is it just me or is this still not working?