Vivint Integration

It should look like this if it sees a battery attribute on the device.

Can you try going to a device that you expect to have a battery and see what device info shows up for it? For instance, this one is a DW11_THIN_DOOR_WINDOW.

(I also updated the coffee link with ko-fi as buymeacoffee has recently changed some things which may have broken it.)

Screenshot 2021-12-12 151012

This is what I get only. It does have a battery, but it doesn’t show up.

Problem solved !!!

I had to update my HA version to the latest version. It seems that sometime between my latest update and this new version, the concept of diagnostic entities was introduced.

I figured it out from the picture you sent which was very different from mine. Thanks!

1 Like

Hello,

Looks like the integration failed to set up after restarting HA. Using Home Assistant Version 2021.12.10

Here is the error from the log:

Logger: homeassistant.config_entries
Source: custom_components/vivint/hub.py:94
Integration: Vivint (documentation, issues)
First occurred: 9:07:18 PM (1 occurrences)
Last logged: 9:07:18 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
    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

Was fixed for me after updating the Vivint integration through HACS.

Please update to 2022.1.0 of the Vivint integration. See Home Assistant 12.10 broke Vivint · Issue #35 · natekspencer/hacs-vivint · GitHub for more info.

Thanks. I’m up and running again.

Hello @PerseusX Are thermostats supported in the integration now?

Yes, they are.

1 Like

EDIT: NVM, tried adding this morning and the integration showed up. Don’t know why it took so long

@PerseusX
Hello Nathan,
I am trying to get the integration installed.
I added the custom repository GitHub - natekspencer/hacs-vivint: Home Assistant integration for a Vivint home security system. and installed 2022.6.1
Did the system restart
I am able to see the Vivint folder in custom components
But I am not able to find it in integrations when I search for Vivint. I am on 2022.6.5 of HA and HACS version 1.25.5

Is there any way to add a code entry to disarm the the alarm system?

There is not. This uses the same API as the Vivint app which doesn’t require a code entry. You could potentially build some automations to fake one, but you’d have to manage that yourself.

Thanks, I notice the HA Android app allows security/biometrics to start, but the IOs app does not and leaves the disarm accessible without it.

I’ll explore options to add separately or make a custom card.

Hello, how do I reload the integration if I’ve changed my password? The integration is failing to reload because it’s using my old password.

Edit: It allowed me to reconfigure my password but asked me for an MFA code. I checked my mobile app and I don’t have two-factor authentication turned on for my account. Will it require a code entry every time the integration gets reloaded?

Is it possible to have a sensor on HA trigger my Vivint alarm? I have a yolink door sensor on my shop in the back, that I would like to trigger my vivint system.

This will be available in the next release, probably tomorrow.

Hi folks. Please forgive me for this (slightly) off-topic post, but a colleague of mine mentioned that he has a whole box of Vivint stuff, including the base station that’s just going to waste. That, of course, is what led me here.

Since I don’t know anything about these products, my question is: What is required to get the system up and running in Home Assistant? Do, I just need the base station, sensors, and this custom component? Does it run locally, or is there some account or something else required?

This requires an active account with Vivint, so you would have to sign up for one by reaching out to them to activate it, which usually means a contract and fee as well.

That’s disappointing, but thanks for confirming.

Hi - I’m using the sensor.entity_battery_level to display battery levels. I have 17 different devices and they are all at 100% which is not correct. Am I looking at something wrong? Thanks!