natekspencer / hacs-vivint Goto Github PK
View Code? Open in Web Editor NEWHome Assistant integration for a Vivint home security system.
License: MIT License
Home Assistant integration for a Vivint home security system.
License: MIT License
I have been getting hundreds of errors from the video streams - it happens every time I use a camera feed of any kind. I was using the rtsp with Web RTC for some time, but that broke. I kept seeing streaming errors with the RTSP feeds into Generic Cameras, so I switch back to using the video straight from the Vivint integration. That said, all options are throwing errors constantly. See the error log and screen shot attached for reference.
Is there anything that can be done? I dont recall this happening in the past. Seems like something is wrong.
Logger: homeassistant.components.stream.stream.camera.garage_water_camera_vivint
Source: components/stream/init.py:416
Integration: Stream (documentation, issues)
First occurred: 9:07:42 AM (2 occurrences)
Last logged: 9:33:52 AM
Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://user:XXXXXXXXXXXXX/Video-28'; last error log: [NULL] missing picture in access unit with size 49
Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://user:XXXXXXXXXXXXX/Video-28'
Logger: homeassistant.components.stream.stream.camera.entryway_camera_vivint
Source: components/stream/init.py:416
Integration: Stream (documentation, issues)
First occurred: 9:07:43 AM (3 occurrences)
Last logged: 9:33:49 AM
Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://user:XXXXXXXXXXXXX/Video-548'
Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://user:XXXXXXXXXXXXX/Video-548'; last error log: [NULL] missing picture in access unit with size 50
Logger: homeassistant.components.stream.stream.camera.outdoors_doorbell_camera_vivint
Source: components/stream/init.py:416
Integration: Stream (documentation, issues)
First occurred: 11:29:21 AM (2 occurrences)
Last logged: 11:29:36 AM
Error from stream worker: Timestamp overflow detected: last dts = 4288184265, dts = 470789
Error from stream worker: Timestamp overflow detected: last dts = 4294472563, dts = -476733
Currently the integration is unable to log into my API user, and I am getting spammed with authentication verification codes in both email and the Vivint app. I had to disable the integration so I stopped getting spammed. This may be a bug from Vivint's end of things, but now it appears that the integration is requiring two-factor authentication when logging in. I checked my API user using their app, and two factor authentication was not enabled. I tried to fix the issue by enabling it then disabling it to see if perhaps they accidentally set a default value for all users. That did not work.
The following warning is in the logs:
2021-03-08 20:21:36 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'vivint'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'vivint'
I'm getting an error related to my Vivint automation on HA release 2021.7.1. Any ideas?
Source: components/device_automation/__init__.py:91
First occurred: 3:16:31 PM (2 occurrences)
Last logged: 3:16:31 PM
Invalid config for [automation]: Integration 'vivint' does not support device automation triggers (See /config/configuration.yaml, line 250).
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 85, in async_get_device_automation_platform
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 498, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 503, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 855, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/config/custom_components/vivint/device_trigger.py", line 6, in <module>
from homeassistant.components.device_automation import TRIGGER_BASE_SCHEMA
ImportError: cannot import name 'TRIGGER_BASE_SCHEMA' from 'homeassistant.components.device_automation' (/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 104, in _try_async_validate_config_item
config = await async_validate_config_item(hass, config, full_config)
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 72, in async_validate_config_item
config[CONF_TRIGGER] = await async_validate_trigger_config(
File "/usr/src/homeassistant/homeassistant/helpers/trigger.py", line 49, in async_validate_trigger_config
conf = await platform.async_validate_trigger_config(hass, conf)
File "/usr/src/homeassistant/homeassistant/components/device_automation/trigger.py", line 17, in async_validate_trigger_config
platform = await async_get_device_automation_platform(
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 91, in async_get_device_automation_platform
raise InvalidDeviceAutomationConfig(
homeassistant.components.device_automation.exceptions.InvalidDeviceAutomationConfig: Integration 'vivint' does not support device automation triggers
I'm wondering if anything can be done to improve the reliability and the speed of the camera entities and RTSP feeds from the Vivint system into HA?
At least for me, I can't count on the cameras/feeds staying stable and being available any time I want to see them; and when I do, they're usually incredibly slow and choppy.
Thanks.
Is it possible to get sound through the video Feed in lovelace?
Is it possible to expose the two way communication options with the video Feed in lovelace?
My guess is no but I've always wanted to ask.
I'm getting the following error constantly in my logs using the RTSP urls for my cameras. I recently switched my HA to a Intel NUC which may have caused this but I dont know how to get it to stop. I have all the latest updates for HA installed and the strange thing is, the video streams work in my dashboards, so I'm not sure why this error is constantly occurring.
Logger: homeassistant.components.stream.stream.camera.kids_bedroom_camera_vivint
Source: components/stream/init.py:347
Integration: Stream (documentation, issues)
First occurred: 11:17:41 AM (2 occurrences)
Last logged: 11:17:58 AM
Error from stream worker: Stream ended; no additional packets
Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@XXXXXXXX:8554/Video-39
2022-04-20 11:17:41 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.kids_bedroom_camera_vivint] Error from stream worker: Stream ended; no additional packets
2022-04-20 11:17:58 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.kids_bedroom_camera_vivint] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://:@xxxxxxxx:8554/Video-39
NOTE: I removed IP address info above.
I can't seem to get the keypad in the Lovelace Alarm Card to show up with my Vivint alarm_control_panel. I tried adding "show_keypad: true" to the card, but no luck. I also tried editing "alarm_control_panel.py", but I clearly don't know what I'm doing because I broke it and had to reinstall.
I'm currently running your integration for everything but the thermostats (amazing work and thank you for being so responsive!!!)...that said, ive stood up a docker with homeridge and using the @balansse/homebridge Vinint integration for only the thermostats that work. Have you seen this? Anything you can borrow from that to get the thermostats to work? I'm a novice at best at coding so I'm sure you know this already but I'd love to just use your integration for everything.
No worries either way. Again thank you for your work here! I definitely owe a few cups of coffee on this!
Upgrading to home assistant 12.10 broke the integrating. See the log below
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/vivint/hub.py:94
Integration: Vivint (documentation, issues)
First occurred: 10:39:29 PM (1 occurrences)
Last logged: 10:39:29 PM
Error setting up entry [email protected] for vivint
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/vivint/init.py", line 59, in async_setup_entry
await hub.login(load_devices=True, subscribe_for_realtime_updates=True)
File "/config/custom_components/vivint/hub.py", line 94, in login
await self.account.connect(
File "/usr/local/lib/python3.9/site-packages/vivintpy/account.py", line 72, in connect
await self.subscribe_for_realtime_updates(authuser_data)
File "/usr/local/lib/python3.9/site-packages/vivintpy/account.py", line 167, in subscribe_for_realtime_updates
self.__pubnub = PubNubAsyncio(pnconfig)
File "/usr/local/lib/python3.9/site-packages/pubnub/pubnub_asyncio.py", line 38, in init
super(PubNubAsyncio, self).init(config)
File "/usr/local/lib/python3.9/site-packages/pubnub/pubnub_core.py", line 78, in init
self.config.validate()
File "/usr/local/lib/python3.9/site-packages/pubnub/pnconfiguration.py", line 38, in validate
PNConfiguration.validate_not_empty_string(self.uuid)
File "/usr/local/lib/python3.9/site-packages/pubnub/pnconfiguration.py", line 41, in validate_not_empty_string
assert value and isinstance(value, str) and value.strip() != "", "UUID missing or invalid type"
AssertionError: UUID missing or invalid type
I was able to get this integration working wonderfully but wanted to try and take it a step further. I was curious about feeding the added camera entity's RTSP stream into frigate via their configuration file. However, I am unable to determine what the RTSP stream URL is of the existing entities (for example, camera.doorbell entity) in order to add them into Frigate.
These clearly are added as RTSP streams already and I can view them in Lovelace. Is there some sort of simple method to find this information so that I can add these cameras into frigate?
When I'm viewing the Vivint Doorbell camera via the Home Assistant interface, no audio plays. Is this expected?
My guess is its a compability issue with pubnub, but vivntypy's requirement is 5.5.0 and I have that.
Any thoughts?
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/config_entries.py", line 327, in async_setup
result = await component.async_setup_entry(hass, self)
File "/home/hass/.homeassistant/custom_components/vivint/init.py", line 59, in async_setup_entry
await hub.login(load_devices=True, subscribe_for_realtime_updates=True)
File "/home/hass/.homeassistant/custom_components/vivint/hub.py", line 94, in login
await self.account.connect(
File "/srv/homeassistant/lib/python3.9/site-packages/vivintpy/account.py", line 72, in connect
await self.subscribe_for_realtime_updates(authuser_data)
File "/srv/homeassistant/lib/python3.9/site-packages/vivintpy/account.py", line 167, in subscribe_for_realtime_updates
self.__pubnub = PubNubAsyncio(pnconfig)
File "/srv/homeassistant/lib/python3.9/site-packages/pubnub/pubnub_asyncio.py", line 38, in init
super(PubNubAsyncio, self).init(config)
File "/srv/homeassistant/lib/python3.9/site-packages/pubnub/pubnub_core.py", line 78, in init
self.config.validate()
File "/srv/homeassistant/lib/python3.9/site-packages/pubnub/pnconfiguration.py", line 38, in validate
def validate(self):
File "/srv/homeassistant/lib/python3.9/site-packages/pubnub/pnconfiguration.py", line 41, in validate_not_empty_string
if not self.uuid:
AssertionError: UUID missing or invalid type
Hello, in my system logs, I have the following deprecation warning:
This error originated from a custom integration.
Logger: vivintpy.utils
Source: custom_components/vivint/alarm_control_panel.py:60
Integration: Vivint (documentation, issues)
First occurred: 8:21:14 PM (41 occurrences)
Last logged: 9:46:14 PM
method get_armed_state has been deprecated in favor of property state, the alias will be removed in the future
Figured I should let you know
I'm not sure if this is the correct way to report this, so apologies if it's not.
Btw, thank you for the work on the Vivint integration! It is fantastic and I am super happy with it!
I saw the following entry in my log and the HA log suggested that I let the developer know about it, so here it is:
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:103
First occurred: June 5, 2022, 22:07:11 (2 occurrences)
Last logged: June 5, 2022, 22:32:56
Detected integration that uses deprecated async_get_registry
to access device registry, use async_get instead. Please report issue to the custom component author for vivint using this method at custom_components/vivint/init.py, line 65: dev_reg = await device_registry.async_get_registry(hass)
Detected integration that uses deprecated async_get_registry
to access device registry, use async_get instead. Please report issue to the custom component author for vivint using this method at custom_components/vivint/device_trigger.py, line 34: await hass.helpers.device_registry.async_get_registry()
Hello, I don't think this is currently in the library, so this is likely more of a feature request than a bug. Vivint has the ability to use the cameras as doorbell chime extenders. Typically I want this off, but when we are swimming in the pool, I would love to have this feature on for one of my cameras. Would it be possible to add the ability to toggle that function to the integration? I would love to have that tied into an automation based around a "pool time" switch.
My Vivint doorbell cam integrates well and its stream is visible and live in the HA web interface.
When viewing with mobile, only a black screen is shown--the feed does not come through. All other non-doorbell cameras work fine in mobile.
I can't seem to find a humidity entity for the Vivint thermostat. I can see that its data is being pulled in somehow when I look at the point in developer mode:
I see "current humidity" there and it matches what I see on my app.
I know very little about how HASS works in the back end, but I'm wondering if I'm just missing something in pulling in the humidity to display on a gauge, for example.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/vivint/init.py", line 59, in async_setup_entry
await hub.login(load_devices=True, subscribe_for_realtime_updates=True)
File "/config/custom_components/vivint/hub.py", line 94, in login
await self.account.connect(
File "/usr/local/lib/python3.9/site-packages/vivintpy/account.py", line 72, in connect
await self.subscribe_for_realtime_updates(authuser_data)
File "/usr/local/lib/python3.9/site-packages/vivintpy/account.py", line 167, in subscribe_for_realtime_updates
self.__pubnub = PubNubAsyncio(pnconfig)
File "/usr/local/lib/python3.9/site-packages/pubnub/pubnub_asyncio.py", line 38, in init
super(PubNubAsyncio, self).init(config)
File "/usr/local/lib/python3.9/site-packages/pubnub/pubnub_core.py", line 78, in init
self.config.validate()
File "/usr/local/lib/python3.9/site-packages/pubnub/pnconfiguration.py", line 38, in validate
def validate(self):
File "/usr/local/lib/python3.9/site-packages/pubnub/pnconfiguration.py", line 41, in validate_not_empty_string
if not self.uuid:
AssertionError: UUID missing or invalid type
First off-- THANK YOU for this incredible plugin. I recently switched from Homebridge to Home Assistant so perhaps I'm missing something? When I'm adding exposing Vivint devices from Home Assistant to HomeKit, the camera isn't recognized as a doorbell, so I'm not able to get doorbell notifications on my HomePods anymore. Is there a trick that I'm missing?
Getting a connection reset by peer more and more often these days. Would it be possible to add some retry logic for the login method?
`Logger: homeassistant.config_entries
Source: custom_components/vivint/hub.py:65
Integration: Vivint (documentation, issues)
First occurred: 3:50:23 PM (1 occurrences)
Last logged: 3:50:23 PM
Error setting up entry [email protected] for vivint
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1050, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1080, in _create_connection_transport
await waiter
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 910, in write
n = self._sock.send(data)
ConnectionResetError: [Errno 104] Connection reset by peer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/vivint/init.py", line 47, in async_setup_entry
await hub.login(load_devices=True, subscribe_for_realtime_updates=True)
File "/config/custom_components/vivint/hub.py", line 65, in login
await self.account.connect(
File "/usr/local/lib/python3.8/site-packages/vivintpy/account.py", line 60, in connect
authuser_data = await self.vivintskyapi.connect()
File "/usr/local/lib/python3.8/site-packages/vivintpy/vivintskyapi.py", line 48, in connect
authuser_data = await self.__get_vivintsky_session(
File "/usr/local/lib/python3.8/site-packages/vivintpy/vivintskyapi.py", line 336, in __get_vivintsky_session
resp = await self.__post(
File "/usr/local/lib/python3.8/site-packages/vivintpy/vivintskyapi.py", line 374, in __post
return await self.__call(self.__client_session.post, path, data=data)
File "/usr/local/lib/python3.8/site-packages/vivintpy/vivintskyapi.py", line 403, in __call
return await method(
File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 520, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 1051, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 1020, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 975, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host www.vivintsky.com:443 ssl:default [Connection reset by peer]
`
Vivint is going to replace my current white SkyControl panel with a new, upgraded one.
Will this integration work with the new panel?
Will I have to create a new integration?
Will I have to modify my existing Lovelace dashboard cards to point to new entities?
(FYI: Sorry to use issues to ask questions, but I cannot find any other support channels for your integration like a github forum. Do you have a Discord channel or is this the best means?)
This is working GREAT!!!
The only thing is, my Front Door does not appear as a device in the integration devices list. All my other devices, including another door, do show up.
The Front Door exists in the panel devices as well as in the Vivint app (available for automations in the app).
Ideas?
Since the update to the latest version, my doorbell camera no longer works. It just shows this image:
I can't find any specific Vivint log errors but I did find this error:
Logger: haffmpeg.tools
Source: /usr/local/lib/python3.9/site-packages/haffmpeg/tools.py:49
First occurred: 6:55:55 AM (7 occurrences)
Last logged: 6:56:35 AM
Timeout reading image.
I've tried all of the configurations including HD and not HD.
First time user here. When I attempt to add the integration, it first goes to a box for me to add user name and password but I get the message "Failed to connect". I know it's not a password issue I validated to the Vivint website and my local login. Any ideas?
Would including car guard sensors in this integration be possible? I would be happy to assist in any way that I can. I just picked up 3 of them and would love to have the data in Home Assistant.
I can't seem to get a state change from the motion detector on my Vivint Outdoor Pro Camera (ODC300), even when I trigger the linger detection it remains at Clear/off.
Is this a change I need to make on the Panel or in my mobile app to expose that information to this integration or is it a bug?
All of a sudden, I can't get HA to send Arm/Lock commands to the Vivint panel. It was all working great, and then poof--no write ability.
The UI still shows status though--if armed, I can see that it's armed and also use the Disarm button. As well with locks, I can see status of the lock change as I physically move the lock on the door, but I can't send a lock command anymore.
I've tried to fix by removing the entire integration and re-adding it through HACS. I've also tried changing the integration version and re-downloading, also with no success.
Not sure what to do next.
I'm currently running core-2021.10.6 due to some issues I ran into with 2021.11. It looks like the diagnostic sensor you added for 2021.11 has some compatibility issues with anything before 2021.11
Logger: homeassistant.setup
Source: setup.py:316
First occurred: 7:13:38 AM (1 occurrences)
Last logged: 7:13:38 AM
Unable to prepare setup for platform vivint.sensor: Platform not found (cannot import name 'ENTITY_CATEGORY_DIAGNOSTIC' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)).
Invalid config
The following integrations and platforms could not be set up:
vivint.sensor
Please check your config and logs.
Perhaps there should be a version check before trying to setup this entity?
Is there any way to control the Privacy Mode of a Vivint indoor camera (Ping?) through the integration?
I have the responsitory installed and installed the HACS integration. However, when I go to Configuration > Integrations > Add Integrations this doesnt show up...can you help? I've had this installed previously, so I'm not what the issue is now. I'm on the latest version of HASS Core
I have been encountering " ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsp://:@...:8554/Video-50" and also the same error ending in /Video-40 for the other camera I am trying to set up.
Still learning all of this but all of the HA and the rest of my vivint equipment is working really nice. Thanks alot for all of your work!
**I have gotten it all running. Thank you so much for this wonderful integration.
I see this warning in the logs occasionally. I haven't been able to replicate it reliably, and it's probably not a true issue, but I wanted to go ahead and submit it in case anyone else has seen it (or if it does need to be fixed).
Logger: homeassistant.components.camera
Source: components/camera/init.py:466
Integration: Camera (documentation, issues)
First occurred: 9:15:24 AM (2 occurrences)
Last logged: 9:15:24 AM
The camera entity camera.doorbell does not support requesting width and height, please open an issue with the integration author
The camera entity camera.driveway_camera does not support requesting width and height, please open an issue with the integration author
After updating to HA 12.3 and Vivint 12.0, the Vivint integration is no longer working and can't be setup. This is what I'm seeing on the logs.
Log Details (ERROR)
Logger: homeassistant.util.package
Source: util/package.py:98
First occurred: 5:35:17 AM (3 occurrences)
Last logged: 5:35:35 AM
Unable to install package vivintpy==2022.12.0: ERROR: Cannot install vivintpy==2022.12.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip available: 22.3 -> 22.3.1 [notice] To update, run: pip install --upgrade pip
I've been using this integration for some time and have suddenly experienced a lot of instability in the last week or so. Below is the error I am getting in the logs:
`This error originated from a custom integration.
Logger: custom_components.vivint.hub
Source: helpers/update_coordinator.py:151
Integration: Vivint (documentation, issues)
First occurred: 7:13:16 PM (1 occurrences)
Last logged: 7:13:16 PM
Error requesting vivint data: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://www.vivintsky.com/api/authuser')`
Can you take a look? When this error shows up, my entire list of devices go unavailable.
I changed my Vivint password and can log into both vivint.com and vivintsky.com using it.
Since changing my password, this Vivint integration is showing in red and requires authentication ("RECONFIGURE").
My Vivint username and new password don't work. It continues to ask for authentication. ("Invalid authentication")
Upon setup, I'm asked for my Vivint username/password.
Which username/password is this?
I have a door switch that shows "closed" when close and "open" when open in Vivint. In Home assistant the point is backwards, showing "off" when closed and "on" when open (even the units are weird). I have another door switch of the same type in Vivint that correctly shows open and closed correctly after integrating in to HASS through this integration.
Ideas?
After 12.1 got things working again, I'm seeing this error on HA restart:
This error originated from a custom integration.
Logger: vivintpy.enums
Source: custom_components/vivint/hub.py:94
Integration: Vivint (documentation, issues)
First occurred: 10:56:28 AM (1 occurrences)
Last logged: 10:56:28 AM
Unknown device type value: lgit_poe_wifi_device
After login credentials, I'm asked to enter the "MFA code" which I assume is the 6 digit (2fa) received from authenticator app.
This error originated from a custom integration.
Logger: custom_components.vivint.config_flow
Source: custom_components/vivint/config_flow.py:133
Integration: vivint (documentation, issues)
First occurred: 10:42:55 AM (3 occurrences)
Last logged: 12:11:36 PM
403, message='Forbidden', url=URL('https://www.vivintsky.com/platform-user-api/v0/platformusers/2fa/validate')
Where do i find the RTSP URL from a vivint camera i have it logging the RTSP URL but can't find it in logs. Thanks in advance.
Could you add an option NOT to add the vivint lights added in the panel.
I have HUE added to the vivint panel for alarm lights but it creates a second light element for every bulb due to me directly having hue hub added.
Thankyou for such a great addon!
I'm not sure when this happened, as I only recently noticed, but all battery sensor entities for my Vivint devices are currently unavailable.
Logger: homeassistant.components.sensor
Source: helpers/entity_registry.py:529
Integration: Sensor (documentation, issues)
First occurred: 9:11:45 AM (4 occurrences)
Last logged: 9:23:37 AM
Error adding entities for domain sensor with platform vivint
Error while setting up vivint platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in _async_add_entity
entry = entity_registry.async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 345, in async_get_or_create
return self.async_update_entity(
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 529, in async_update_entity
raise ValueError("entity_category must be a valid EntityCategory instance")
ValueError: entity_category must be a valid EntityCategory instance
Let me know if I can give more info.
I have just upgraded my HA run on ubuntu to 20.04.4 and when i try and add the latest version of the vivint integration everything runs smoothly until i try and install the repo, then it just disappears. please advise?
version | core-2022.4.2 |
---|---|
installation_type | Home Assistant Supervised |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.9 |
os_name | Linux |
os_version | 5.13.0-39-generic |
arch | x86_64 |
timezone | America/Chicago |
GitHub API | ok |
---|---|
Github API Calls Remaining | 4668 |
Installed Version | 1.15.2 |
Stage | running |
Available Repositories | 1027 |
Installed Repositories | 11 |
logged_in | true |
---|---|
subscription_expiration | April 27, 2022, 7:00 PM |
relayer_connected | true |
remote_enabled | true |
remote_connected | true |
alexa_enabled | true |
google_enabled | true |
remote_server | us-east-1-1.ui.nabu.casa |
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
host_os | Ubuntu 20.04.4 LTS |
---|---|
update_channel | stable |
supervisor_version | supervisor-2022.04.0 |
docker_version | 20.10.14 |
disk_total | 233.2 GB |
disk_used | 24.7 GB |
healthy | true |
supported | failed to load: Unsupported |
supervisor_api | ok |
version_api | ok |
installed_addons | Terminal & SSH (9.3.0), File editor (5.3.3), Google Assistant SDK (2.5.0) |
dashboards | 1 |
---|---|
resources | 3 |
views | 6 |
mode | storage |
I was recently using the homebridge vivint module from:
https://github.com/balansse/homebridge-vivint
And it supports my panel, and allows me to arm/disarm, which is extremely useful in my routines. Is this possible in the HA intregration?
Before upgrading to latest version, I restarted HA for an unrelated reason. Upon restart, HA was unresponsive for nearly 9-10 minutes. Once it was responsive again, the logs showed many errors trying to setup the initial connection to Vivint and updating Vivint sensors via the api. There was a 500 second timeout setting up the connection, which also locked up the rest of HA for that time period. I tried installing the latest version, deleted the current integration, restarted HA, and reinstalled the Vivint integration. Same result. I had to disable the integration completely for the time being.
Traceback for some of the socket errors:
Logger: homeassistant.components.sensor
Source: custom_components/vivint/init.py:167
Integration: Sensor (documentation, issues)
First occurred: 9:46:10 PM (2 occurrences)
Last logged: 9:50:32 PM
Error adding entities for domain sensor with platform vivint
Error while setting up vivint platform for sensor
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect
return await fut
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
TimeoutError: [Errno 110] Connect call failed ('23.253.164.235', 80)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
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()
File "/usr/local/lib/python3.8/site-packages/vivintpy/devices/init.py", line 134, in get_zwave_details
result = pool.submit(asyncio.run, self.get_zwave_details_async()).result()
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/site-packages/vivintpy/devices/init.py", line 141, in get_zwave_details_async
result = await self.vivintskyapi.get_zwave_details(
File "/usr/local/lib/python3.8/site-packages/vivintpy/vivintskyapi.py", line 401, in get_zwave_details
async with session.get(
File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in aenter
self._resp = await self._coro
File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 520, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 1051, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 1020, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 975, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host openzwave.net:80 ssl:default [Connect call failed ('23.253.164.235', 80)]
Can someone direct me where I can get the RTSP URLs? I've been looking in the logs for a few days and dont see anything.
Hi, and thank you so much for this integration. I can't wait to use it.
I've run into a few issues configuring this integration, though.
Here is my current HA version info
Home Assistant 2022.7.7
Supervisor 2022.07.0
Operating System 8.4
Frontend 20220707.1 - latest
Here is my current HACS version
Integration version: | 1.26.2
Frontend version: | 20220714083628
Repositories: | 1071
Downloaded repositories: | 3
Here are the steps I ran through
Using HACS (see https://hacs.xyz/ for installation instructions if you do not already have it installed):
From within Home Assistant, click on the link to HACS
Click on Integrations
Click on the vertical ellipsis in the top right and select Custom repositories.
Enter the URL for this repository in the section that says Add custom repository URL and select Integration in the Category dropdown list
Click the ADD button
Close the Custom repositories window
You should now be able to see the Vivint card on the HACS Integrations page. Click on INSTALL and proceed with the installation instructions. I didn't get an INSTALL button here just a download, so I did that.
Restart your Home Assistant instance and then proceed to the Configuration section below.
The configuration went fine until I ran into the following error after signing into vivint and adding my password.
I clicked to check the logs and see the following error. I'm unsure how to troubleshoot this and would greatly appreciate any help you can provide. Thank you.
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/vivint/hub.py:94
Integration: Vivint (documentation, issues)
First occurred: 9:42:43 AM (3 occurrences)
Last logged: 9:44:31 AM
Error setting up entry [email protected](changed to dummy email for this post) for vivint
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/vivint/init.py", line 59, in async_setup_entry
await hub.login(load_devices=True, subscribe_for_realtime_updates=True)
File "/config/custom_components/vivint/hub.py", line 94, in login
await self.account.connect(
File "/usr/local/lib/python3.10/site-packages/vivintpy/account.py", line 72, in connect
await self.subscribe_for_realtime_updates(authuser_data)
File "/usr/local/lib/python3.10/site-packages/vivintpy/account.py", line 167, in subscribe_for_realtime_updates
self.__pubnub = PubNubAsyncio(pnconfig)
File "/usr/local/lib/python3.10/site-packages/pubnub/pubnub_asyncio.py", line 38, in init
super(PubNubAsyncio, self).init(config)
File "/usr/local/lib/python3.10/site-packages/pubnub/pubnub_core.py", line 97, in init
@AbstractMethod
File "/usr/local/lib/python3.10/site-packages/pubnub/pnconfiguration.py", line 39, in validate
assert self.uuid is None or isinstance(self.uuid, str)
File "/usr/local/lib/python3.10/site-packages/pubnub/pnconfiguration.py", line 42, in validate_not_empty_string
self.uuid = utils.uuid()
AssertionError: UUID missing or invalid type
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.