I am using the Unifi binding on OH 4.3.8 and have regular issues with devices falsely indicating offline in the presence feature.
A recent example is shown in these log entries:
2026-01-16 14:05:11.253 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Toms_Pixel_10_Last_Seen' changed from 2026-01-16T14:04:28.000-0500 to 2026-01-16T14:05:05.000-0500
2026-01-16 14:08:40.703 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Toms_Pixel_10_Online' changed from ON to OFF
2026-01-16 14:08:40.703 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'PhonesOnline' changed from ON to OFF through Toms_Pixel_10_Online
2026-01-16 14:10:14.294 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Toms_Pixel_10_Online' changed from OFF to ON
2026-01-16 14:10:14.294 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Toms_Pixel_10_Last_Seen' changed from 2026-01-16T14:05:05.000-0500 to 2026-01-16T14:10:06.000-0500
2026-01-16 14:10:14.295 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'PhonesOnline' changed from OFF to ON through Toms_Pixel_10_Online
2026-01-16 14:10:46.213 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Toms_Pixel_10_Last_Seen' changed from 2026-01-16T14:10:06.000-0500 to 2026-01-16T14:10:42.000-0500
2026-01-16 14:11:27.098 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Toms_Pixel_10_Last_Seen' changed from 2026-01-16T14:10:42.000-0500 to 2026-01-16T14:11:19.000-0500
The unifi log for the same period doesn’t show a corresponding event (unfortunately it is displayed via a bunch of table cells and doesn’t format well when cut/pasted, so I’m using an image)
(the disconnect at 2:21 was forced in order to see how it would react)
Refresh interval on the controller is 10 seconds and the “consider home interval” on the phone’s thing is 210 seconds.
These are usually masked whenever more than one phone is home because they don’t tend to trip at the same time.
This was also observed in OH 3.4, and with multiple Android and iPhone devices.
Unifi Controller has been on 8.5.6 for some time, although I’m pretty sure this was also happening with back to 7.something.
