Comments (5)
This should be fixed with 2021.3.1
from hacs-vivint.
I had previously attempted an update from a fresh install with the same result. What finally seemed to work was logging into my API user in the Vivint mobile app, then signing out of all devices. Once I did that, the integration started working again. My best guess according to the log messages is that a web socket connection was left open for that api user and the integration could not establish a new connection.
If this is the case, then I would still consider this an issue. If the web socket create attempt fails, then it should not attempt to update any of the Vivint devices. Each device update took 10 seconds to timeout, and it seems the attempts were in serial. That left HA unresponsive during that period.
Let me know if you need to see any other logs.
from hacs-vivint.
The logs you posted here all directly point to an issue with the way I was retrieving Z-Wave device details for such devices connected to the panel.
TimeoutError: [Errno 110] Connect call failed ('23.253.164.235', 80)
That's the IP address of the openzwave website I was using for device lookup. If you try to go to that address, or ping it even, you'll see that it is taking a long time or down altogether now.
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 317, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 385, in _async_add_entity
device_info = entity.device_info
File "/config/custom_components/vivint/init.py", line 167, in device_info
"manufacturer": self.device.manufacturer,
File "/usr/local/lib/python3.8/site-packages/vivintpy/devices/init.py", line 86, in manufacturer
self.get_zwave_details()
Here, again, you'll see it is when trying to save the device_info, which does a lookup for manufacturer, which, if Z-Wave, would try to get the information from openzwave and hang.
I knew it might be a potential problem in the future, and have been thinking of ways to get around it, but haven't done so yet. So for now, Z-wave devices will just show an unknown manufacturer and model until I get that updated.
from hacs-vivint.
Makes sense. Thanks for the explanation. I think there was still some web socket connection issue going on, but those logs have cleared after I signed out of all devices. If the issue pops up again, I'll make sure to enable more verbose logging and update this issue.
from hacs-vivint.
I'm gonna close this issue. But if you do see some websocket stuff, open up a new one so I can help track it there. Thanks, @mat1583!
from hacs-vivint.
Related Issues (20)
- Can't reinstall after upgrade HOT 4
- Failed to setup message on startup of Home Assistant HOT 1
- FEATURE REQUEST - Deter Tone Toggle HOT 2
- Question / Feature Request: Humidity from Thermostat HOT 2
- Latest HA update broke Vivint HOT 7
- Camera as Speaker HOT 2
- Vivint Integration Broken after update 2023.8.0 HOT 3
- 2023.8.1 - Hub shows as unavailable HOT 15
- Nothing in Vivint is working after most recent HA update HOT 1
- All Vivint devices became unavailable after HA update HOT 3
- Vivint and MyQ Integration HOT 1
- Doorbell Camera Delay HOT 1
- Camera chime extender switch not working HOT 2
- Cameras connected via POE switch not loading anymore HOT 6
- Config Flow issues HOT 1
- Connection to Vivint seems to be throttled or delayed HOT 6
- Unable to Re-Authenticate my Credentials after changing Vivint Password HOT 4
- Support for Triggering Alarm from HA HOT 8
- no mfa prompt HOT 2
- Cameras always idle or unavailable on any setting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hacs-vivint.