core: La Crosse View repeatedly goes offline with 429 errors
The problem
LaCrosse View integration goes offline every few seconds, then comes back after around 10 seconds. This has been occurring for several days now. Issue has continued after updating Home Assistant Core and multiple restarts.
What version of Home Assistant Core has the issue?
core-2025.1.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
LaCrosse View
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lacrosse_view/
Diagnostics information
home-assistant_lacrosse_view_2025-01-25T18-16-22.068Z.log
Example YAML snippet
Anything in the logs that might be useful for us?
Logger: homeassistant.components.lacrosse_view.coordinator
Source: helpers/update_coordinator.py:379
integration: LaCrosse View (documentation, issues)
First occurred: 12:12:12 PM (2132 occurrences)
Last logged: 10:30:24 PM
Unexpected error fetching LaCrosse View data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/lacrosse_view/coordinator.py", line 65, in _async_update_data
sensors = await self.api.get_sensors(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/lacrosse_view/__init__.py", line 141, in get_sensors
raise HTTPError(
f"Failed to get sensor, status code: {str(response.status)}", data
)
lacrosse_view.HTTPError: ('Failed to get sensor, status code: 401', {'outcome': 'error', 'msg': 'unauthorized'})
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/lacrosse_view/coordinator.py", line 72, in _async_update_data
raise ConfigEntryNotReady from error
homeassistant.exceptions.ConfigEntryNotReady: ('Failed to get sensor, status code: 401', {'outcome': 'error', 'msg': 'unauthorized'})
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 143 (33 by maintainers)
Hello team, I am pleased to announce that the fix has been merged and will be available in update 2025.2.2.
Thanks for your continued patience.
It’s not out yet. Please wait until a core update with my pull requests is released. I’ll make another comment when it’s out.
@xenia-09A mentioned that there was a redesign of the app, which likely means they changed around the API a little bit. It’s normal for integrations like this to go out if that happens, and (most of the time) all it needs is a slight tweak to keep working. That’s what’s happening here. I don’t believe that La Crosse Technologies is intentionally disrupting/abandoning this integration.
The fix for this with the lengthened update interval will be in the beta releasing later today.
Hi 👋
I no longer own a La Crosse View device but I can try to fix it. Looks like a rate limiting issue so I’ll open a PR tomorrow to increase the polling rate.
I’m was also seeing this issue; I decided to try removing the integration and re-adding it since I’ve had several other oddities with Home Assistant as of late and wondered if the integration had somehow become corrupted; now it fails to set up, with the following error message:
Failed setup, will retry: 429, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://ingv2.lacrossetechnology.com/api/v1.1/active-user/device-association/ref.user-device.5484087616077824/feed?fields=Temperature,BarometricPressure,Humidity,HeatIndex&tz=America/Chicago&from=1737945166&to=1737948766&aggregates=ai.ticks.1&types=spot'It’ll be in whatever update is next after it’s merged. Can’t give an estimate for when, sorry.
I can fix the precision problem too in a separate PR
I can’t say exactly when, but probably sometime next week.
Fix is not merged yet. Please wait until I let you guys know when it’s out. Thanks
This isn’t quite right. I can’t set the content_type to None because the API is returning something that isn’t right. I need to view the contents of the response before trying more fixes. I will create a new version of the library that logs the response and bump it in core. I’ll likely do that tomorrow or the next day.
@IceBotYT Do you need me to create it?
@profka1 Make sure all your sensors are powered on and working, in my case I had a rain sensor powered off for the winter…
Unfortunately it did not fix it for me. Confirmed I am running 2025.2.2 (updated via Docker pull).
home-assistant_lacrosse_view_2025-02-10T23-05-11.079Z.log
Core integrations get updated alongside core. They’re part of core so when core updates, all core integrations update
Apologies, I had read that as a date so was thinking today is the 10th sorry. I will wait for the new release.
Thanks again for all your efforts
Thank you!!Sent from my iPhoneOn Feb 8, 2025, at 8:45 AM, Catchsvein @.***> wrote:
Hello team, I am pleased to announce that the fix has been merged and will be available in update 2025.2.2. Thanks for your continued patience.
Thanks a lot IceBotYT, much appreciated 😃
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
I overrode the core lacrosse_view component by putting @IceBotYT‘s new code in the custom_components directory and updating the version in the manifest.json.
Well the good news @CabbageSmell is that IceBotYT and the team are working to get this fixed and with any luck they will have it figured out very soon.
@home-assistant rename La Crosse View repeatedly goes offline with 429 errors
It’s a core integration… I can’t send a beta version of just one integration. You’re more than welcome to wait until Feb 5th when stable releases.
That isn’t my integration. This issue is for the La Crosse View integration in core. https://home-assistant.io/integrations/lacrosse_view
@IceBotYT You mentioned you no longer have a device, so if you need an account for debug and development, please reach out to me.
502 is a Bad Gateway error. This seems to be instability on La Crosse’s end and something neither reproducible nor fixable.