home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
5.05k stars 7.33k forks source link

Will not accept any IATA codes- KIAD, IAD, iad, DCA, KDCA, washington dulles, reagan national, etc. #31417

Closed bryansisk closed 9 months ago

bryansisk commented 9 months ago

Feedback

Not sure what happened, but doesn't seem to accept any identifiers.??

URL

https://www.home-assistant.io/integrations/faa_delays/

Version

2024.2.1

Additional information

FAA delays Home Assistant.pdf

home-assistant[bot] commented 9 months ago

Hey there @ntilley905, mind taking a look at this feedback as it has been labeled with an integration (faa_delays) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `faa_delays` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign faa_delays` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.
ntilley905 commented 9 months ago

The integration should work with the IATA code (eg. IAD or DCA). Can you provide the log data from the error when you try to add the integration? There should be an entry in your log that has more details.

bryansisk commented 9 months ago

I sure will how can I find that. (new to home assistant). Thanks. I'll be looking, but if you know a quick way thanks.

On Tue, Feb 13, 2024, 4:21 PM Nathan Tilley @.***> wrote:

The integration should work with the IATA code (eg. IAD or DCA). Can you provide the log data from the error when you try to add the integration? There should be an entry in your log that has more details.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant.io/issues/31417#issuecomment-1942575684, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGDIYZLSBZLFITOXHIEFWFTYTPKONAVCNFSM6AAAAABDHGKRYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSGU3TKNRYGQ . You are receiving this because you authored the thread.Message ID: @.***>

ntilley905 commented 9 months ago

No problem. Select the sidebar menu (the three lines on the top left) and then Settings. On the Settings page select System and then Logs. You can search the logs page using the integration name faa_delays to find any errors there. The logs do reset at any reboot so make sure you've experienced the error since the last reboot.

bryansisk commented 9 months ago

Finally, sorry it took so long.

Logger: homeassistant.components.faa_delays.config_flow Source: components/faa_delays/config_flow.py:40 Integration: FAA Delays (documentation, issues) First occurred: 3:11:56 PM (27 occurrences) Last logged: 4:15:54 PM

Unexpected exception: 0, message='', url=URL(' https://nasstatus.faa.gov/api/airport-events') Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/faa_delays/config_flow.py", line 40, in async_step_user await data.update() File "/usr/local/lib/python3.12/site-packages/faadelays/init.py", line 94, in update raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 0, message='', url=URL(' https://nasstatus.faa.gov/api/airport-events')

On Tue, Feb 13, 2024 at 5:05 PM Nathan Tilley @.***> wrote:

No problem. Select the sidebar menu (the three lines on the top left) and then Settings. On the Settings page select System and then Logs. You can search the logs page using the integration name faa_delays to find any errors there. The logs do reset at any reboot so make sure you've experienced the error since the last reboot.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant.io/issues/31417#issuecomment-1942718901, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGDIYZPP2OGLR5QXT5W5TFTYTPPTZAVCNFSM6AAAAABDHGKRYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSG4YTQOJQGE . You are receiving this because you authored the thread.Message ID: @.***>

ntilley905 commented 9 months ago

Thanks for that. It looks like there's a network issue affecting the device that's running your Home Assistant instance. The FAA API has issues for some reason with certain DNS servers. Are you able and willing to attempt setting the DNS server to 9.9.9.9 to see if that resolved it?

You can also try opening that link in your browser to see if you're having an issue on other devices. It'll just show as a big string of text.

bryansisk commented 9 months ago

I tried a quick attempt at every North american airport. K's Nothing would go through. Not sure if it's my side, or not.

Thanks much,

Bryan Sisk

Logger: homeassistant.components.faa_delays.config_flow Source: components/faa_delays/config_flow.py:40 Integration: FAA Delays (documentation, issues) First occurred: 3:11:56 PM (35 occurrences) Last logged: 5:48:20 PM

Unexpected exception: 0, message='', url=URL(' https://nasstatus.faa.gov/api/airport-events') Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/faa_delays/config_flow.py", line 40, in async_step_user await data.update() File "/usr/local/lib/python3.12/site-packages/faadelays/init.py", line 94, in update raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 0, message='', url=URL(' https://nasstatus.faa.gov/api/airport-events')

On Tue, Feb 13, 2024 at 5:46 PM B Sisk @.***> wrote:

Finally, sorry it took so long.

Logger: homeassistant.components.faa_delays.config_flow Source: components/faa_delays/config_flow.py:40 Integration: FAA Delays (documentation, issues) First occurred: 3:11:56 PM (27 occurrences) Last logged: 4:15:54 PM

Unexpected exception: 0, message='', url=URL(' https://nasstatus.faa.gov/api/airport-events') Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/faa_delays/config_flow.py", line 40, in async_step_user await data.update() File "/usr/local/lib/python3.12/site-packages/faadelays/init.py", line 94, in update raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 0, message='', url=URL(' https://nasstatus.faa.gov/api/airport-events')

On Tue, Feb 13, 2024 at 5:05 PM Nathan Tilley @.***> wrote:

No problem. Select the sidebar menu (the three lines on the top left) and then Settings. On the Settings page select System and then Logs. You can search the logs page using the integration name faa_delays to find any errors there. The logs do reset at any reboot so make sure you've experienced the error since the last reboot.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant.io/issues/31417#issuecomment-1942718901, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGDIYZPP2OGLR5QXT5W5TFTYTPPTZAVCNFSM6AAAAABDHGKRYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSG4YTQOJQGE . You are receiving this because you authored the thread.Message ID: @.***>

ntilley905 commented 9 months ago

The airport codes with a preceedjng Ks (the ICAO codes) will not work. Only the three digit identifier will work, such as BOS or IAD or ORD or LAX. This is a limitation of the API itself.

bryansisk commented 9 months ago

Got it. I'll try the DNS change and IAD. Thanks.

On Tue, Feb 13, 2024, 5:52 PM Nathan Tilley @.***> wrote:

The airport codes with a preceedjng Ks (the ICAO codes) will not work. Only the three digit identifier will work, such as BOS or IAD or ORD or LAX. This is a limitation of the API itself.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant.io/issues/31417#issuecomment-1942769468, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGDIYZJXQEQBBIZP3T3WLGDYTPVCZAVCNFSM6AAAAABDHGKRYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSG43DSNBWHA . You are receiving this because you authored the thread.Message ID: @.***>

ntilley905 commented 9 months ago

Let me know if that resolves it. Sometimes changing the DNS server and changing it right back works, in case you have a specific DNS server you prefer.

bryansisk commented 9 months ago

That was the issue, perfect fix. Thank you. Have a nice evening.

On Tue, Feb 13, 2024 at 6:01 PM Nathan Tilley @.***> wrote:

Let me know if that resolves it. Sometimes changing the DNS server and changing it right back works, in case you have a specific DNS server you prefer.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant.io/issues/31417#issuecomment-1942781582, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGDIYZLTEIXSRY6ODHNK3ETYTPWDJAVCNFSM6AAAAABDHGKRYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSG44DCNJYGI . You are receiving this because you authored the thread.Message ID: @.***>

klaasnicolaas commented 9 months ago

Closing the issue, please note that this repository (and this issue tracker) is for documentation.

./Klaas