# Unifi Binding doe not update

**URL:** <https://community.openhab.org/t/unifi-binding-doe-not-update/145539>\
**Category:** Bindings\
**Tags:** unifi\
**Created:** [March 25, 2023, 12:45pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539 "2023-03-25T12:45:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![OpenWan](https://community.openhab.org/letter_avatar_proxy/v4/letter/o/e47774/32.png) [@OpenWan](https://community.openhab.org/u/OpenWan)\
**Post date:** [March 25, 2023, 12:45pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/1 "2023-03-25T12:45:45Z")

</div>

Hello  
My Config:

- Raspi4
- Buster
- OpenHAB 4 M1

I have several issues with the binding:

- it looks like that the items are not updated regularly
- if I make a config by things-file it will not recognize the unifi controller  
defining the thing via the UI it works, has the same content in the definition
- setting the DEBUG mode in the console does not show anything ?

anyone an idea what is wrong there?

---

<div class="post-metadata">

**Author:** ![peterhoeg](https://community.openhab.org/user_avatar/community.openhab.org/peterhoeg/32/74334_2.png) [@peterhoeg](https://community.openhab.org/u/peterhoeg)\
**Post date:** [March 27, 2023, 12:30pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/2 "2023-03-27T12:30:55Z")

</div>

Post your configuration. I’m using unifi here and it’s _very_ vocal at the default info log level when things aren’t working as expected.

---

<div class="post-metadata">

**Author:** ![OpenWan](https://community.openhab.org/letter_avatar_proxy/v4/letter/o/e47774/32.png) [@OpenWan](https://community.openhab.org/u/OpenWan)\
**Post date:** [March 30, 2023, 5:30pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/3 "2023-03-30T17:30:34Z")

</div>

Hello,

here my config:

```csv
Bridge unifi:controller:UnifiBernd "Unifi Controller" [host="192.168.178.120", port=8443, unifios=false, username="user", password="pwd", refresh=10]
{
        Thing wirelessClient BerndiPad "Bernd iPad Pro" [cid="50:DE:06:33:E1:BD", considerHome=180]
        Thing wirelessClient BerndiPhone "Bernd iPhone" [cid="34:FE:77:35:03:DA", considerHome=180]
        Thing wirelessClient BerndWatch "Bernd Watch" [cid="40:F9:46:8B:0C:5E", considerHome=180]
} 

```

With this config the controller is not recognized.

Same config directly as a thing in openHAB: → everything is green

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/8/185d87ee87ae36cd41b0541c041cb64f77153b67.png)

It always shows AWAY status even tough the device is connected.  
I have the privacy setting in the iPhone WLAN settings disabled, so always the same MAC Adress willl be used in my home network

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/b/1b589d8f16309c6eefc36ad34a40e0ea231ad95c.png)

Things are not updated correctly.

I have found in the console this enttry as well:  
228 │ Resolved │ 80 │ 3.4.1.202212201643 │ org.openhab.binding.unifi  
Seems to be an old version, I used the command: bundle:stop 228  
 → now the controller is not recognized anymore

any idea where this bundle is coming from ?  
Where can I delete it from which folder?

I still have the version 4 running:  
301 │ Active │ 80 │ 4.0.0.M1 │ org.openhab.binding.unifi

---

<div class="post-metadata">

**Author:** ![OpenWan](https://community.openhab.org/letter_avatar_proxy/v4/letter/o/e47774/32.png) [@OpenWan](https://community.openhab.org/u/OpenWan)\
**Post date:** [March 30, 2023, 5:51pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/4 "2023-03-30T17:51:36Z")

</div>

I have it now running, by reseting the controller again.  
Manual configuration still does not work.

In this location I have found now the old binding

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/d/0/d0095ddb7c9c8936a6cd5cc75bb6872768618ea5.png)

Any idea how to remove this ?

---

<div class="post-metadata">

**Author:** ![peterhoeg](https://community.openhab.org/user_avatar/community.openhab.org/peterhoeg/32/74334_2.png) [@peterhoeg](https://community.openhab.org/u/peterhoeg)\
**Post date:** [April 1, 2023, 7:21am UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/5 "2023-04-01T07:21:42Z")

</div>

The only difference between yours and mine is that the `wirelessClient`s each have a `site="default"` as well:

```auto
Thing wirelessClient foobar_phone "Foobar's iPhone 12" [
  cid="aa:bb:cc:dd:ee:ff",
  considerHome=180,
  site="default"
]

```

EDIT: I would like to point out thought, that I have `poePort`s as well and those do _not_ have a `site`.

EDIT 2: I do have the correct version of the bundle installed:

```auto
314 │ Active │ 80 │ 3.4.2 │ openHAB Add-ons :: Bundles :: UniFi Binding

```

I unfortunately do not know where your bundles are coming from.

---

<div class="post-metadata">

**Author:** ![halloween](https://community.openhab.org/user_avatar/community.openhab.org/halloween/32/7493_2.png) [@halloween](https://community.openhab.org/u/halloween)\
**Post date:** [January 20, 2024, 11:12pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/6 "2024-01-20T23:12:45Z")

</div>

Hi, is there a unifi (beta?) binding for openhab 4 also? Not protect - regular unifi binding.

I only can find unifi protect. On marketplace it is recommended to install oh4 binding, but where can i get this? on openhab 4 binding list i can´t find it, only old version in marketplace.

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [January 20, 2024, 11:21pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/7 "2024-01-20T23:21:54Z")

</div>

It is in the disribution

[UniFi - Bindings | openHAB](https://www.openhab.org/addons/bindings/unifi/)

---

<div class="post-metadata">

**Author:** ![halloween](https://community.openhab.org/user_avatar/community.openhab.org/halloween/32/7493_2.png) [@halloween](https://community.openhab.org/u/halloween)\
**Post date:** [January 20, 2024, 11:25pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/8 "2024-01-20T23:25:04Z")

</div>

Yes, i saw that before, but when i go in openhab addon-store there i only can see it on marketplace - not on upper section with the integrated bindings. Is there another place where i can install bindings in oh4?

---

<div class="post-metadata">

**Author:** ![halloween](https://community.openhab.org/user_avatar/community.openhab.org/halloween/32/7493_2.png) [@halloween](https://community.openhab.org/u/halloween)\
**Post date:** [January 20, 2024, 11:35pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/9 "2024-01-20T23:35:25Z")

</div>

I checked that again, that is not in alphabetical order… I now can see unifi 4.1.1 binding - i already have installed it. I think i had installed both - marketplace and oh4 binding. I removed marketplace binding and oh4 binding is still there.

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [January 20, 2024, 11:45pm UTC](https://community.openhab.org/t/unifi-binding-doe-not-update/145539/10 "2024-01-20T23:45:47Z")

</div>

It looks like alphabetically ordered to me

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/a/5/a5d1b15fd599f6306f3bd1873e50892d1378bcda.png)

First installed bindings in correct order, then available bindings.
