Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95445

Unifi presence detection not working?

$
0
0

@membersound wrote:

I installed the unifi controller addon. All my APs show up correctly, everything is fine.

Now I’m trying to set up presence detection. But how is this being done correctly? I added the following to configuration.yaml, and get an error:


device_tracker:
  - platform: unifi
    #host: 192.168.178.109
    username: myuser
    password: mypw

I tried with and without setting the host. Both produce the following error:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 171, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/__init__.py", line 129, in async_setup
    legacy_platforms = await setup.async_extract_config(hass, config)
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py", line 112, in async_extract_config
    f"Unable to determine type for {platform.name}: {platform.type}"
ValueError: Unable to determine type for unifi: None

I have no device_tracker.yaml set up so far, and the file is not present.

What I noticed: under Configuration > Integrations, I don’t see the Unifi Controller listed. I can only see and access it via the Add-On tab. Is that correct? Or should it be listed in Integrations? If yes, how can I achive this?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>