seaside1 / unifiprotect

openHAB UniFi Protect Addon
Eclipse Public License 2.0
21 stars 6 forks source link

Communication Timeout Retry Feature Request #21

Open matchews opened 5 months ago

matchews commented 5 months ago

Thank you for all of your efforts with this binding. I mainly use the motion detection to toggle lights and notify me when I'm not home. Occasionally the NVR thing will go offline due to a communication timeout. It would be nice if the binding would wait and retry the communication prior to taking the thing offline.

2024-01-23 02:55:06.174 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-23 12:55:06.709 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-23 22:55:04.797 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-24 06:48:46.263 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Execution fault when sending request to UniFi Protect 2024-01-24 11:50:48.495 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-24 12:50:58.430 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-24 21:50:49.891 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-25 07:50:49.903 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-25 18:50:51.612 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-26 04:50:51.305 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-26 14:50:49.462 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-27 00:50:50.709 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-27 10:50:50.811 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-27 20:50:49.900 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-28 06:50:49.329 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-28 16:50:52.925 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-29 02:50:50.131 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-29 12:50:51.089 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-29 22:50:50.701 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-30 03:11:19.103 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-30 07:50:50.848 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-30 17:50:51.084 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-31 03:50:52.417 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-31 10:50:57.538 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-31 15:50:56.128 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-01-31 20:50:55.720 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-01 01:50:55.395 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-01 06:50:54.313 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-01 11:50:54.438 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-01 13:27:10.184 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Execution fault when sending request to UniFi Protect 2024-02-01 16:50:53.064 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-02 01:50:50.660 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-02 07:50:58.896 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-02 17:50:53.365 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-03 02:50:50.788 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-03 11:50:49.786 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-03 20:50:49.035 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-03 21:50:59.371 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-04 06:50:49.932 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-04 15:50:49.739 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-04 16:50:59.326 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-05 01:50:54.435 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-05 10:50:51.372 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-05 20:50:52.980 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-06 06:50:53.379 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-06 16:50:52.437 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-02-07 02:50:51.976 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect

seaside1 commented 4 months ago

Maybe you can test with the latest 1.3 version and see if it behaves the same? The socket connection has been reworked.

matchews commented 4 months ago

I installed 1.3 first thing this morning. Thank you. I have had one communication error this morning...

2024-02-16 10:50:53.245 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect

seaside1 commented 4 months ago

Did it recover by itself, or did you have to restart anything?

matchews commented 4 months ago

It recovers on its own.  Frequency is 2-5 times each day. Thx,

Dee13718 commented 3 months ago

Got the same error. Most of the time i also get a token missing problem.

2024-04-01 09:47:03.002 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:ae75ca1f00' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect 2024-04-01 09:47:03.002 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:g4doorbell:ae75ca1f00:F4E2C60D8E5F' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE) 2024-04-01 09:47:03.002 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:g4camera:ae75ca1f00:D021F9930168' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE) 2024-04-01 09:47:14.015 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'unifiprotect:nvr:ae75ca1f00' changed from OFFLINE (COMMUNICATION_ERROR): Timeout while sending request to UniFi Protect to OFFLINE (COMMUNICATION_ERROR): Token is missing

have to restart the thing and then it usually works for a few hours until i get a token missing again. use the g4doorbell as a doorbell behind a sonos and it doesn't ring then :(.

config: openhab 4.1.2 4.0.0.202402161024 UniFi Protect Binding Unifi SE PRO (Protect 3.0.26)

You have seen this issue before? Any advice?

Cheers, Dominik

seaside1 commented 3 months ago

Make sure you install the latest version by dropping the jar in the addon folder. It will refresh the token. Works like a charm for me now, with uptime of 30+ days.

There is still a problem if you for instance upgrade protect version, it will not recover. I removed the watchdog code because it was not working. I will readd that code now that the refresh token is working, and hopefully it will start working for updates, and network connection issues etc.

Dee13718 commented 3 months ago

thanks seaside for your update. will try as soon i am at home and check again.

Dee13718 commented 2 months ago

quick update on this, worked for 3 days, after that token again missing, restartet thing, worked for another 10 hours, stopped working. didn't change anything in the configuration (only reloaded the last available jar file). will wait for your update, propably this will solve my issue.

marioschouten commented 3 weeks ago

First of all thanks for all your work on this binding, much appriciated. Installed 1.4 This morning, unfortunatly goes offline with TOKEN_MISSING error and did not come back online (Waited 1hr). Running a Dreammachine PRO networking 8.2.93, OH 4.1.3 on Proxmox 8.2.2 VM with Debian 12.

2024-06-18 09:05:30.526 [INFO ] [org.apache.felix.fileinstall        ] - Installing bundle org.openhab.binding.unifiprotect / 4.0.0.202406171909
2024-06-18 09:05:30.619 [INFO ] [org.apache.felix.fileinstall        ] - Started bundle: file:/usr/share/openhab/addons/org.openhab.binding.unifiprotect-4.0.0-v1.4.jar
2024-06-18 09:05:31.334 [INFO ] [otect.internal.model.UniFiProtectNvr] - Initializing the binding, with config: UniFiProtectNvrThingConfig [host=unifi.xxxxxxx, username=OH-Protect,  password=*************, refresh=10, eventsTimePeriodLength=60, thumbnailWidth=640.0, imageFolder=/var/lib/openhab/tmp, g4SnapshotWidth=3840, g4SnapshotHeight=2160, defaultSnapshotWidth=1920, defaultSnapshotHeight=1080, watchDog=true, g4SnapshotWidthAsString=3840, g4SnapshotHeightAsString=2160, defaultSnapshotWidthAsString=1920, defaultSnapshotHeightAsString=1080]
2024-06-18 09:05:40.620 [INFO ] [org.apache.felix.fileinstall        ] - Updating bundle org.openhab.binding.unifiprotect / 4.0.0.202406171909
2024-06-18 09:05:41.920 [INFO ] [otect.internal.model.UniFiProtectNvr] - Initializing the binding, with config: UniFiProtectNvrThingConfig [host=unifi.xxxxxxx, username=OH-Protect,  password=*************, refresh=10, eventsTimePeriodLength=60, thumbnailWidth=640.0, imageFolder=/var/lib/openhab/tmp, g4SnapshotWidth=3840, g4SnapshotHeight=2160, defaultSnapshotWidth=1920, defaultSnapshotHeight=1080, watchDog=true, g4SnapshotWidthAsString=3840, g4SnapshotHeightAsString=2160, defaultSnapshotWidthAsString=1920, defaultSnapshotHeightAsString=1080]
2024-06-18 09:06:39.696 [INFO ] [l.thing.UniFiProtectBaseThingHandler] - Getting snapshot for camera: BBQ, ip: 192.168.50.107
2024-06-18 09:06:59.414 [INFO ] [l.thing.UniFiProtectBaseThingHandler] - Getting snapshot for camera: Garage, ip: 192.168.50.105
2024-06-18 09:07:05.713 [INFO ] [l.thing.UniFiProtectBaseThingHandler] - Getting snapshot for camera: Garage, ip: 192.168.50.105
2024-06-18 09:09:08.807 [INFO ] [l.thing.UniFiProtectBaseThingHandler] - Getting snapshot for camera: Livingroom, ip: 192.168.50.108
2024-06-18 09:09:17.822 [INFO ] [l.thing.UniFiProtectBaseThingHandler] - Getting snapshot for camera: BBQ, ip: 192.168.50.107
2024-06-18 09:11:10.914 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Controller state: OFFLINE , item:WDGLAN1UnifiSServ counter: 5 new count: 1 dropped OFFLINE and counted
2024-06-18 09:11:11.743 [WARN ] [otect.internal.model.UniFiProtectNvr] - Heatmap request failed
2024-06-18 09:11:20.911 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G4 Camera 8 - Livingroom state: OFFLINE , item:WDGLAN1Camera08HW counter: 10 new count: 1 dropped OFFLINE and counted
2024-06-18 09:11:21.413 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G4 Camera 9 - BBQ state: OFFLINE , item:WDGLAN1Camera09HW counter: 10 new count: 2 dropped OFFLINE and counted
2024-06-18 09:11:21.915 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G3 Camera 1 - Garage walkway state: OFFLINE , item:WDGLAN1Camera01HW counter: 10 new count: 3 dropped OFFLINE and counted
2024-06-18 09:11:22.416 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G3 Camera 2 - Driveway state: OFFLINE , item:WDGLAN1Camera02HW counter: 10 new count: 4 dropped OFFLINE and counted
2024-06-18 09:11:22.917 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G3 Camera 3 - Pool state: OFFLINE , item:WDGLAN1Camera03HW counter: 8 new count: 5 dropped OFFLINE and counted
2024-06-18 09:11:23.418 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G3 Camera 4 - Terrace state: OFFLINE , item:WDGLAN1Camera04HW counter: 8 new count: 6 dropped OFFLINE and counted
2024-06-18 09:11:23.919 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G3 Camera 5 - Left walkway state: OFFLINE , item:WDGLAN1Camera05HW counter: 8 new count: 7 dropped OFFLINE and counted
2024-06-18 09:11:24.420 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G3 Camera 6 - Front state: OFFLINE , item:WDGLAN1Camera06HW counter: 8 new count: 8 dropped OFFLINE and counted
2024-06-18 09:11:24.922 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect G3 Camera 7 - Garage state: OFFLINE , item:WDGLAN1Camera07HW counter: 7 new count: 9 dropped OFFLINE and counted
2024-06-18 09:11:25.424 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Protect NVR state: OFFLINE , item:WDGLAN1ProtecServ counter: 6 new count: 10 dropped OFFLINE and counted
2024-06-18 09:11:25.425 [WARN ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - OpenHAB Watchdog alert counter updated from: 1 to: 11
2024-06-18 09:11:26.836 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:11:36.840 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:11:40.413 [INFO ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - Thing:UniFi Controller state: ONLINE , item:WDGLAN1UnifiSServ counter: 6 new count: -1 returned ONLINE and counted
2024-06-18 09:11:40.415 [WARN ] [g.openhab.core.model.script.Watchdog] - THING Alarm   - OpenHAB Watchdog alert counter updated from: 11 to: 10
2024-06-18 09:11:46.845 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:11:56.850 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:12:06.853 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:12:16.856 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:12:26.860 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:12:36.863 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING
2024-06-18 09:12:46.866 [ERROR] [otect.internal.model.UniFiProtectNvr] - Failed to updated Cameras since we can't seem to login status: TOKEN_MISSING

1.3 Goes offline 12-18 times per day, some for less than 1 second and some for 30 minutes, some have the TOKEN_MISSING error some do not. Interval is 2 hours on the second, the Unifi Controller goes offline at the same time but recovers in max. 20seconds but is not showing in the info log. Please let me know if I can help with any logging.

marioschouten commented 2 weeks ago

Update: After the manual biding restart the system did not report TOKEN_MISSING anymore, checked the log over last 24hour back to the above event. Now every hour at 11 minutes past all camera go offline for 5-15 seconds but return back online every time as I can see from my own watchdog triggered on the Thing. The unifi controller does the same but takes 25-30 seconds to recover. The openhab info log show no errors anymore and no more PA annoucement of cameras that are offline :-) Thank you very much for this update.

marioschouten commented 2 weeks ago

Update: last 24hr have 2 events TOKEN_MISSING. Frist one lasted 70min, passed the normal hourly and recovered 10 minutes later. The second event lasted 12 minutes.