-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Ambient Weather Station Integration - Retrying Setup #94205
Comments
Hey there @bachya, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) ambient_station documentation |
Will need to see logs. |
Same issue. However mine started before the upgrade on 2023.5.4. Continued after the upgrade. |
Mine's doing this too. It was failing under 2023.4.x with another error message, so I updated to latest and it's reporting the same thing as OP. |
I just updated and am not seeing any issue. We've seen moments in the past where their cloud API sporadically fails for a subset of users—it always seems to come back. |
Hoping so, this is an integration I really use :) |
Came here to +1 this - seems to be the same exact issue following the jump to 2023.6.0 |
Interestingly, I restored last night's backup, but I'm still getting the same errors. Maybe a coincidence? |
Seems to reenforce the theory that subsets of users sporadically lose API access |
I’m having the same behavior; tried generating new API and application keys, which did not help. |
i tried a new API/Application key also, but no luck. |
I will add that this happened for me as soon as I updated to 2023.6.0 May be an API error, but based on this thread it seems kind of suspicious. |
I definitely noticed this problem pre-update to 2023.6.0, so for me at least it is unrelated to the update - in fact, I was hoping the update might fix it, but it remained unchanged. |
Same, I updated to hope it would get resolved, but instead just had a new error presentation 💅 🎉 |
I am also having the same issue, all entities unavailable on 2023.5.4 I just updated to 2023.6.0 and nothing changed. I have 11 automations that rely on this so hopefully it resolves itself. |
If this is an issue on their end, is there any remedy other than waiting? If not, does anyone know if a way to access this data locally and bypass the cloud component? |
Same issue here. definitely something new in this version. |
Same problem here. Definitely the new version for me |
I'm running 2023.5.4 and have the same issue. This is unlikely to be a problem in HA core. Most likely something wrong on the Ambient Weather API side. |
Hi there, newish to HASS. I'm also having issues. This looks like it might be an API issue of sorts to me - nicely timed with the upgrade. I also upgraded today, but the integration was "working," with all sensors unavailable. As a first troubleshooting step, I enabled debug logging and tried to Reload the integration from
Afterwards I downloaded the diagnostic data, which gave me this:
I then restarted the OS and saw Ambient Weather is stuck in a "Retrying Setup" loop with the following logs:
As it's stuck in a setup loop, I cannot seem to get further info. Also of note, met is also having similar-looking connection error logs. |
Currently on HomeAssistant 2023.4.6, same connection issue (reload does not solve the connection problem): `Logger: homeassistant.components.ambient_station Config entry failed: Connection error` |
Definitely sounds like a change in the API. The Ambient Weather App is still working properly. The HA integration stopped working yesterday. I guess we just wait and see? |
Having the same issue. For me this issue did not exist prior to 2023.6.0 |
Ditto. same issue after updating to 2023.6 |
Same issue Logger: homeassistant.components.ambient_station Config entry failed: Connection error HA OS |
FWIW - I also run a Homeseer instance and the plugin for Ambient Weather in that is currently working correctly. |
Am seeing this issue as well after 2023.6.0 update. Had been running the 2023.6.x betas and there was no problem until the .0 release. |
This worked for me as well. Looks like that's the REST endpoint, not the realtime one:
(emphasis mine). Not sure if that would cause delays in getting accurate values... but then again |
Morning of 8-Jun-2023, Ambient Weather was returning all sensors as 'unavailable.' The AW integration showing 'Retrying setup:connection error.' During the rest of the day the integration would intermittently be connected or not connected. Apparently, overnight into 9-Jun, it was not connected as scripts dependent on AW sensir data were failing. Currently 9-Jun, 6:45 AM PST it is disconnected. |
Hey I am running HA Supervised on a RPI4 (in docker on debian) and was only able to resolve it this way - my main issue was finding the freaking directory (what a PITA!). These docker container directory names are crazy: pi@kruse-pi:~$ sudo find / -type d -name aioambient -print Resulted in: find: '/proc/3064/task/3064/net': Invalid argument So, editing this puppy from "rt2" to rt": pi@kruse-pi:~$ sudo nano /var/lib/docker/overlay2/0a9d79944c7f764becfe58ac8796d1d276e2e2b73fdf0e583043d3a3d075bf7c/diff/usr/local/lib/python3.11/site-packages/aioambient/websocket.py And then trying this one, it was already changed so it must just have been a symbolic link: pi@kruse-pi:~$ sudo nano /var/lib/docker/overlay2/b405b4ac6bde887d565b2aff0834a50bf32eec79becc5e0b3880669e31e8c41d/merged/usr/local/lib/python3.11/site-packages/aioambient/websocket.py I believe my weird combination of pretty good aptitude for this stuff combined with being a noob in linux/python (much easier than C++ !!) makes for odd forum entries, but maybe this would help someone :-) |
I think where this is leading is the 2902 series at least has an ESP device in it with a Lora radio. There should be a project started to reflash the hardware to use an mqtt broker whether local or remote and be able to use a secure port or unsecure for local vs remote broker. Maybe this already exists? |
Mine's just started working again. No intervention |
Same here, I just checked after I saw your post. |
Mine just started working as I was reading this thread |
Same here. |
Same here, broken over 48 hours, changed nothing on my end, randomly started working 10m ago |
It's odd all around. The official API docs claim |
Yes I just changed the "rt" back top "rt2" and restarted HA, I stll have the regular ping-pong heartbeat in the syslogs so it is fixed on their end:
So what can be done to make this into a configurable variable - or maybe even better yet, have both and configurable with primary/preferred and secondary, and the integration would automatically try if the preferred one doesn't work, use the other one, but still keep trying the primary until it works and then switch back it on the fly? This is where HA shines, in that to some extent people can actually jump through hoops and program around hardware issues to make the whole thing more resilient! Let's push really hard for the above functionality - no? |
wow so this whole thing was because ambientweathers end had a rapid unplanned disassembly, and it was just timed perfectly with the recent upgrade? wonderful.mp4 |
Thanks everyone for the input and help! Even though the API is back up, I figured out how to do the local connection with the new integrations for my WS-2000. |
If anyone comes up with a way to swap to the local, non cloud version,
and have it "just pick up where the cloud one left off" I am TOTALLY ALL
EARS.
The less cloud with this stuff the better, but I dont want to lose like,
3+ years of data.
On 2023-06-09 13:08, shawnhaywood wrote:
Thanks everyone for the input and help! Even though the API is back up,
I figured out how to do the local connection with the new integrations
for my WS-2000.
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Couldn’t you just delete the cloud version, install the local, and then manually rename every entity to what you had previously in the cloud version? You’d have to grab all those entity names first, but I think this would do it despite the super manual process. |
nope. if you scroll up you can see the screenshot of what happens when i try
…On June 9, 2023 2:19:58 PM PDT, ziptbm ***@***.***> wrote:
> If anyone comes up with a way to swap to the local, non cloud version, and have it "just pick up where the cloud one left off" I am TOTALLY ALL EARS. The less cloud with this stuff the better, but I dont want to lose like, 3+ years of data.
> On 2023-06-09 13:08, shawnhaywood wrote: Thanks everyone for the input and help! Even though the API is back up, I figured out how to do the local connection with the new integrations for my WS-2000. -- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you were mentioned.Message ID: ***@***.***>
> Links: ------ [1] [#94205 (comment)](#94205 (comment)) [2] https://github.com/notifications/unsubscribe-auth/AANMYXYGIOVGDJMRXBXHN73XKN7E5ANCNFSM6AAAAAAY6U4JBU
Couldn’t you just delete the cloud version, install the local, and then manually rename every entity to what you had previously in the cloud version? You’d have to grab all those entity names first, but I think this would do it despite the super manual process.
--
Reply to this email directly or view it on GitHub:
#94205 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
i did exactly this and it didnt work for me
…On June 9, 2023 8:29:56 PM PDT, Jonah Duckles ***@***.***> wrote:
> If anyone comes up with a way to swap to the local, non cloud version, and have it "just pick up where the cloud one left off" I am TOTALLY ALL EARS.
I named the local version the same as the previous. So if all your sensors were like "sensor.mystation_inside_temp" and "sensor.mystation_temp" then your station name is "mystation" and you put that in as your station name for the local one. Then the names pick up where they left-off and the history is intact.
<img width="374" alt="image" src="https://github.com/home-assistant/core/assets/119403/38d056d2-3998-44b7-8a7e-4c1597a94797">
--
Reply to this email directly or view it on GitHub:
#94205 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
I wonder if this is happening because the friendly names are different even though the entity IDs are the same. I personally can't confirm/deny that this is the case with the migration from the cloud-based integration since I haven't set my station up with AmbientWeather.net. You could try renaming one of the old entities with a matching friendly name before trying the migration and see if that works. |
Quick question…. I moved to the local integration… but now I’m noticing that my last time rain sensor is showing unknown… it register the rain live but it’s not keeping the data of when was the last time it rained… any suggestions?? |
There was a regression in the code for the calculated sensors in the local integration. The fix is in version 1.1.2 released yesterday. See this issue tlskinneriv/awnet_local#28 for details. |
Sorry for the dumb question - normally HA indicates there is an upgrade available to an integration. How do I upgrade mine to 1.1.2? |
The integration is available in HACS, which should show updates available. |
Thanks so much! |
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. |
The problem
Performed the new update today, v. 2023.6.0. Now my Ambient Weather integration fails to load entities. On the integrations page, there is a message saying retrying setup. I tried to "reload". Any suggestion to fix?
What version of Home Assistant Core has the issue?
2023.6.0
What was the last working version of Home Assistant Core?
Previous
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Ambient weather station
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ambient_station/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: