New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opensky with Update Error #45453
Comments
Hi there, Thanks for opening up an issue. When creating an issue, an issue template is presented. It looks like you've (partly) removed it. This causes your issue report to be incomplete. Please edit your issue to have the full issue template back again and provide as much of the requested data as possible. Without it, we won't be able to help you. Thanks already! 👍 |
okay, i updated the issue 👍 |
I have this issue too and have also noted the sensor appears on the main map of HomeAssistant as a tracker...this has only recently appeared. |
experiencing the same issue Logger: homeassistant.components.sensor Updating opensky sensor took longer than the scheduled update interval 0:00:12 |
This is a duplicate of #43571. So this issue could be closed. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I tried using this again the other day and still had lots of errors in my logs. What exactly has been updated. |
My guess is that nothing has been updated. They have a bot running around closing issues that are "stale". If no one cares enough to work on an issue or keep commenting on it, then they just close it. Not sure it is the best policy to encourage the community to report bugs. Now before taking the time to report a bug you have to think if a developer will take enough interest to do something or not. Otherwise you are just wasting your own time too. I have been bit by this in the HA issue queue before so for me to report something now it has to be big otherwise let some other person roll the dice. Unsubscribing as the notice that github-actions just posted in the "kiss of death" to an issue. |
the Error log is full from: |
same here.
I'm using openWRT and stubby for DNS resolution. Stubby is the local Port 53 DNS, which forwards all DNS requests encrypted (DoT) to a DNSSEC and DoT enabled DNS server. Might be related? |
Same for me, just found this after filing an issue myself: #61808 |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Same issue |
I have the same issue, fresh install today on.. |
Yep, me too |
Is this connected to the opensky public api having 100 calls per day limit? Based on this any HA system using the standard config, with 12 second intervals hardcoded in the sensor.py, would have used their limit by 00:20 (twenty minutes) into a new day. |
Registered users can get 1000 calls per day. The script would have to be altered to include code to authenticate at appropriate intervals. If using 95 second (or so) intervals then you could get a full 24 hours of coverage, but many flights would be completely missed. So seems that this integration may be dead? |
how can I put the interval at 95/100 seconds? |
So this depends on your build & HA type. SCAN_INTERVAL = timedelta(seconds=12) # opensky public limit is 10 seconds Modify that 12 value to what you want and save the script under the same name. But, as I previously said, the issue is likely to be Opensky organisation putting harsh limits on anonymous API calls, so you will probably miss lots of flights with a 95 second interval, P.S. I've found that any patch updates to your HA will undo your interval edit... |
The necromancy on this issue (which was for a different error) seems to be the same as separate fresh issue #74935. I'm also encountering this, by the way. |
This is an open issue with several contributors, including one of the main devs (frenk) - why would we move our comments over to another issue? |
Hi, I was almost on the way to add the user/pwd myself as a PR but then noticed this one. Above you mention "new standards" As I can hack a bit but not embedded into the HA dev cycle, what does this mean to the existing sensor which (as I may say) looks pretty straightforward...so why new standards ? |
The are a bunch of design decisions that are rules for devs to follow. @joostlek is improving the current integration. If you want authentication now then you can do your own or use my fork (link further up) as a custom component |
Thanks....then similarly as you ..will steer away as this is not my skillset. I already forked yours and will test later this week when back home. Another thing I want to add is that the discovered airplanes end up in a separate sensor as attributes, so they can be further used in HA, e.g. use their position to show on a map card if they fulfill conditions. I already created something similar with floghtaware but this is not a free service |
Next steps will be adding config flow, so it can be set up via UI. Then we can look into adding authentication. Then I would like to have someone who is a contributing user to OpenSky (like you have these sensors hooked up at your home) and check if there's a way we can detect if someone is a contributing user (that grants free access to own states and gives you 8000 credits) and add sensors for that |
Next release you can authenticate yourself with Opensky :) |
Have you tried it yet 👀 |
I couldn't see how to do it on 2023.9.0.
…On Thu, Sep 7, 2023 at 2:56 PM Joost Lekkerkerker ***@***.***> wrote:
Have you tried it yet 👀
—
Reply to this email directly, view it on GitHub
<#45453 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMSWDRK2ZMJRMQY27P33TXZI7HJANCNFSM4WPRLG4Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
kevin brintnall
|
It throws an error when tryin to login with my user/pwd, this user/pwd is working fine with a adapted fork from @OzGav which is running in parallel on my other instance EDIT: correction, the other instance also has an issue... 'too many requests'
|
What is your Poling rate? Could it be that you're completely maxing out on the API tokens? |
I donot know how often the integration polls? |
By default the polling rate is set to 90 seconds, which is updatable using the update entity service |
So that sort-of explains why I am 'over' 4000/d around 7/8 in the morning. I will modify my tracker sensor |
Haha, I am really amazed on how much people want to max out their API limits for OpenSky |
Not maxing out ...just never thought it fully through |
What do you run in that command line? A web request to Opensky? |
Might be interesting to put that in a service call. Hmmm |
|
The main issue is to link the flight number to icao24, there is no free service that can get that, at least, not that I know of |
But would a service to get a plane by icao24 be useful? |
If it replaces the one above, I guess so. The only thing is that it should not trigger all day long as mine does |
I mean, that's how you configure it, you could make whatever automation with it you want |
Anyway, back to the topic, does the update work? |
Not with me as still stuck with the limit...I will re later ..probably next weekz |
Got it working but
|
Open a new issue for this, maybe easier to discuss there :) |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Hi all,
The problem
all the time i have a Warning: with opensky Plugin.
Github opensky
Environment
i use the last HA Version. core-2021.1.5
Problem-relevant
configuration.yaml
SCAN_INTERVAL = timedelta(seconds=12) # opensky public limit is 10 seconds
Traceback/Error logs
my Log is full with opensky Warnings 👎
Additional information
Thanks all for help!
The text was updated successfully, but these errors were encountered: