core: Integration "Movistar Prosegur" not working
The problem
I can’t authenticate myself in the prosegur integration
What version of Home Assistant Core has the issue?
2025.2.4
What was the last working version of Home Assistant Core?
2025.2.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Prosegur alarm
Link to integration documentation on our website
https://www.home-assistant.io/integrations/prosegur/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 56 (14 by maintainers)
blocking the User-Agent (especially ONLY home assistant) is a signal that they are concerned with this project alone and I think the best would be a meeting between sides to reach a compromise on how to keep this integration working.
They can block us through other means (I will not discuss those here), making the user-agent user defined will not solve.
My reading of the matter is that they were actually soft in blocking us based on the User-Agent.
I would not like to escalate things more, I’m a happy costumer and would like to keep things as they were, looking for cooperation not a fight.
I just called Prosegur and they confirmed that they have withdrawn the integrations with Alexa, Google, … so I assume that the API will not work anymore…
2025-02-20 16:35:57.594 DEBUG (MainThread) [pyprosegur.auth] websession {‘User-Agent’: ‘HomeAssistant/2025.2.4 aiohttp/3.11.12 Python/3.13’} 2025-02-20 16:35:57.854 DEBUG (MainThread) [pyprosegur.auth] login() This API has been blocked
Well I’m the maintainer and also can’t login right now… I’m able to login through my developers environment, so this can either be:
Hi. With the same problem in Portugal. Will the workaround work for me, too?
Question from my side: If they’re actively blocking the UserAgent, would be possible to add this as a configurable field from the HA user, so each of us can have a different one? I mean, in the case they don’t (let’s call it) “cooperate” and keep blocking us.
No: user agent is the text string typically provided to identify the software that carries out the request, not the user/password.
This is the message I just sent to their Spanish customer support:
So this might be the time for all of us to write a letter to prosegur demanding they bring back the API 😦
@wilotas “final” fix will come in 2025.3.0
Related to this, I just published an article in my blog. https://davefx.com/en/2025/02/prosegur-alarms-a-step-back-in-home-assistant-integration/
Cooperation would be the best solution for both parties. Prevents the cat and mouse game and can be more secure and cost efective for the company (by using streaming APIs or a more adequate pooling interval, for example). Those here that are clients, should try to push for a dialog with that goal. If that can’t be archived, the option becames to start looking for alternative companies that have better integration policies.
Any such fix would become a cat and mouse game, because next week they would block something else
We need to get them to acknowledge our customer need to use Prosegur platform through home assistant
I sent it to @.***
El jue, 20 feb 2025, 19:48, Morgoth67 @.***> escribió: