-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
Unable to log in and add TotalConnect integration #132236
Comments
Hey there @austinmroczek, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) totalconnect documentation |
I was hoping it would fix itself overnight... |
I saw in the logs that my system had the same error. When I reloaded the integration just now, it is working. Per https://status.resideo.com the system was down last night / early today for maintenance, and users were reporting problems. It did not specifically state issues with Total Connect 2.0, but in the past their status postings have been not been the most precise. I know I need to update the documentation to include that status link, but other than that I don't think this is an HA bug. |
In the total_connect_client package I will ensure a ServiceUnavailable exception is thrown, which will result in HA users seeing a log message with: Error connecting to TotalConnect or the service is unavailable.
Check https://status.resideo.com/ for outages. This message already appears in some other similar cases |
I noticed the same thing too - that I reloaded it this morning and it was working, so definitely not a HA/integration bug at its core. There may be an opportunity to handle the error like you mentioned, especially so it can trigger occasional restarts with HA to possibly auto-heal. It looks like there's retry logic in there that this managed to escape. Thanks for taking a look! |
If you'd like to close this issue, feel free. If you'd like to use it for any work coming from it and would like it open, that's fine with me as well! |
I'll keep it open until fixed. Thanks for reporting it. |
The problem
When attempting to log in to TotalConnect I get an error
TypeError: 'NoneType' object is not subscriptable
. Digging in to the issue, the login process is failing. I confirmed I can log in to the UI client with the username and password provided so the account is active and working.What version of Home Assistant Core has the issue?
core-2024.11.3
What was the last working version of Home Assistant Core?
core-2024.10.4
What type of installation are you running?
Home Assistant Core
Integration causing the issue
Total Connect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/totalconnect/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Debug Details
Additional information
I removed my username and password from the debug details and replaced them with
[user]
and[pass]
respectively. They are correctly formatted and work on the main Total Connect web interface. I'm not sure if they need to be escaped, but the password does contain the following special characters throughout:-+=_#
. Ignore the difference in timestamps as the debug output was from my dev instance so I could step through the code.I did try downgrading my dev instance back to 2024.10.4 and the problem still presents itself so it's not necessarily an upgrade issue, more of the fact that restarting HA started the login process that fails with this error now.
Looking at https://rs.alarmnet.com/TC21api/tc2.asmx?op=LoginAndGetSessionDetails there is a
LocaleCode
parameter that we're not passing but I'm not sure if that's required.The text was updated successfully, but these errors were encountered: