Apollon77 / ioBroker.homekit-controller

Pair and control HomeKit devices directly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aqara FP2 throws errors in log

oswaldo-be opened this issue · comments

Describe the bug
But it seems to work fine. I am still testing it.

homekit-controller.0
	2023-04-30 10:47:24.454	info	Device Aqara-FP2 data polling failed (3): Timeout
homekit-controller.0
	2023-04-30 10:44:54.452	info	Device Aqara-FP2 data polling failed (2): Timeout
homekit-controller.0
	2023-04-30 10:44:23.031	warn	Aqara-FP2 Could not initialize device: TimeoutError: at Object.<anonymous> (/opt/iobroker/node_modules/@esm2cjs/p-queue/build/esm/index.js:16:22) at Module._compile (node:internal/modules/cjs/loader:1196:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10) at Module.load (node:internal/modules/cjs/loader:1074:32) at Function.Module._load (node:internal/modules/cjs/loader:909:12) at Module.require (node:internal/modules/cjs/loader:1098:19) at require (node:internal/modules/cjs/helpers:108:18) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:43:35) at Module._compile (node:internal/modules/cjs/loader:1196:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
homekit-controller.0
	2023-04-30 10:42:24.450	info	Device Aqara-FP2 data polling failed (1): Timeout
homekit-controller.0
	2023-04-30 10:41:55.239	info	State value to set for "homekit-controller.0.Aqara-FP2.1.sensor-occupancy-2688.occupancy-detected" has to be type "number" but received type "boolean"
homekit-controller.0
	2023-04-30 10:40:35.950	info	State value to set for "homekit-controller.0.Aqara-FP2.1.sensor-occupancy-2688.occupancy-detected" has to be type "number" but received type "boolean"
homekit-controller.0
	2023-04-30 10:39:22.538	info	State value to set for "homekit-controller.0.Aqara-FP2.1.sensor-occupancy-2688.occupancy-detected" has to be type "number" but received type "boolean"
homekit-controller.0
	2023-04-30 10:39:22.185	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:39:22.185	info	Device Aqara-FP2 data polling failed (47): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:38:45.066	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:38:45.025	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:38:45.025	info	Device Aqara-FP2 data polling failed (46): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:38:14.848	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:38:14.830	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:38:14.830	info	Device Aqara-FP2 data polling failed (45): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:37:44.714	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:37:44.707	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:37:44.707	info	Device Aqara-FP2 data polling failed (44): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:37:14.406	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:37:14.396	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:37:14.396	info	Device Aqara-FP2 data polling failed (43): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:36:44.102	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:36:44.090	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:36:44.090	info	Device Aqara-FP2 data polling failed (42): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:36:13.913	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:36:13.713	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:36:13.713	info	Device Aqara-FP2 data polling failed (41): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:35:43.487	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:35:43.467	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:35:43.467	info	Device Aqara-FP2 data polling failed (40): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:35:13.414	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:35:13.363	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:35:13.363	info	Device Aqara-FP2 data polling failed (39): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:34:43.110	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:34:43.066	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:34:43.066	info	Device Aqara-FP2 data polling failed (38): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:34:12.758	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:34:12.744	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:34:12.744	info	Device Aqara-FP2 data polling failed (37): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:33:42.448	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:33:42.431	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:33:42.430	info	Device Aqara-FP2 data polling failed (36): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:33:12.137	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:33:12.121	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:33:12.120	info	Device Aqara-FP2 data polling failed (35): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:32:42.057	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:32:42.018	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:32:42.017	info	Device Aqara-FP2 data polling failed (34): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:32:11.759	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:32:11.713	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:32:11.713	info	Device Aqara-FP2 data polling failed (33): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:31:41.578	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:31:41.542	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:31:41.541	info	Device Aqara-FP2 data polling failed (32): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:31:11.407	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:31:11.391	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:31:11.390	info	Device Aqara-FP2 data polling failed (31): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:30:41.096	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:30:41.082	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:30:41.081	info	Device Aqara-FP2 data polling failed (30): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:30:10.957	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:30:10.943	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:30:10.943	info	Device Aqara-FP2 data polling failed (29): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:29:40.779	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:29:40.768	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:29:40.768	info	Device Aqara-FP2 data polling failed (28): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:29:10.567	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:29:10.555	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:29:10.555	info	Device Aqara-FP2 data polling failed (27): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:28:40.363	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:28:40.349	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:28:40.349	info	Device Aqara-FP2 data polling failed (26): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:28:09.902	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:28:09.885	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:28:09.885	info	Device Aqara-FP2 data polling failed (25): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:27:39.760	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:27:39.740	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:27:39.740	info	Device Aqara-FP2 data polling failed (24): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:27:09.435	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:27:09.419	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:27:09.419	info	Device Aqara-FP2 data polling failed (23): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:26:39.248	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:26:39.235	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:26:39.235	info	Device Aqara-FP2 data polling failed (22): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:25:53.555	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:25:53.539	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:25:53.539	info	Device Aqara-FP2 data polling failed (21): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:25:22.469	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:25:22.448	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:25:22.447	info	Device Aqara-FP2 data polling failed (20): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:24:52.318	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:24:52.300	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:24:52.300	info	Device Aqara-FP2 data polling failed (19): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:24:22.222	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:24:22.197	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:24:22.197	info	Device Aqara-FP2 data polling failed (18): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:23:51.898	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:23:51.886	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:23:51.886	info	Device Aqara-FP2 data polling failed (17): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:23:21.585	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:23:21.575	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:23:21.575	info	Device Aqara-FP2 data polling failed (16): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:22:51.341	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:22:51.298	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:22:51.298	info	Device Aqara-FP2 data polling failed (15): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:22:18.030	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:22:17.988	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:22:17.987	info	Device Aqara-FP2 data polling failed (14): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:21:47.694	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:21:47.674	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:21:47.674	info	Device Aqara-FP2 data polling failed (13): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:21:17.378	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:21:17.366	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:21:17.366	info	Device Aqara-FP2 data polling failed (12): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:20:46.042	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:20:46.028	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:20:46.028	info	Device Aqara-FP2 data polling failed (11): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:20:15.739	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:20:15.717	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:20:15.717	info	Device Aqara-FP2 data polling failed (10): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:19:45.429	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:19:45.406	warn	Device Aqara-FP2 had too many errors, reinitialize connection
homekit-controller.0
	2023-04-30 10:19:45.406	info	Device Aqara-FP2 data polling failed (9): connect ECONNREFUSED 192.168.178.142:54355
homekit-controller.0
	2023-04-30 10:19:15.257	warn	Aqara-FP2 Could not initialize device: connect ECONNREFUSED 192.168.178.142:54355 Error: connect ECONNREFUSED 192.168.178.142:54355 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
homekit-controller.0
	2023-04-30 10:19:15.243	warn	Device Aqara-FP2 had too many errors, reinitialize connection

Which adapter version is used? If not 0.5.8 please update.

If that version, then ECONNREFUSED means that the device was not reachable

HomeKit-Controller 0.5.8 (1~)...

Ok, dann wäre ein volles Debug Log nochmal interessant bzw mal das Gerätz vom Strom nehmen und so neu starten?

nach Reboot (Strom vom Sensor weg)

homekit-controller.0
	2023-05-01 10:26:13.218	debug	IP-Aqara-FP2 Set Values to ioBroker: [{"aid":1,"iid":3,"value":"Aqara"},{"aid":1,"iid":4,"value":"PS-S02E"},{"aid":1,"iid":5,"value":"Presence-Sensor-FP2-A28B"},{"aid":1,"iid":6,"value":"54EF444AA28B"},{"aid":1,"iid":7,"value":"1.1.6"},{"aid":1,"iid":8,"value":"1.0.0"},{"aid":1,"iid":9,"value":"6.1;6.1"},{"aid":1,"iid":10,"value":"xDsGOzOmv1k="},{"aid":1,"iid":66,"value":1},{"aid":1,"iid":67,"value":9},{"aid":1,"iid":68,"value":"AgIAAAMEAAAAAA=="},{"aid":1,"iid":2562,"value":""},{"aid":1,"iid":81,"value":-1},{"aid":1,"iid":85,"value":"1.1.6"},{"aid":1,"iid":84,"value":"lumi.motion.agl001"},{"aid":1,"iid":86,"value":1},{"aid":1,"iid":101,"value":"AIOT"},{"aid":1,"iid":97,"value":""},{"aid":1,"iid":98,"value":"lumi1.54ef444aa28b"},{"aid":1,"iid":100,"value":1},{"aid":1,"iid":2673,"value":"Light Sensor"},{"aid":1,"iid":2674,"value":117},{"aid":1,"iid":2689,"value":"Presence Sensor 1"},{"aid":1,"iid":2690,"value":1},{"aid":1,"iid":2691,"value":0},{"aid":1,"iid":2693,"value":"Presence Sensor 2"},{"aid":1,"iid":2694,"value":0},{"aid":1,"iid":2695,"value":1},{"aid":1,"iid":2697,"value":"Presence Sensor 3"},{"aid":1,"iid":2698,"value":0},{"aid":1,"iid":2699,"value":2},{"aid":1,"iid":2701,"value":"Presence Sensor 4"},{"aid":1,"iid":2702,"value":0},{"aid":1,"iid":2703,"value":3},{"aid":1,"iid":2705,"value":"Presence Sensor 5"},{"aid":1,"iid":2706,"value":1},{"aid":1,"iid":2707,"value":4},{"aid":1,"iid":2709,"value":"Presence Sensor 6"},{"aid":1,"iid":2710,"value":0},{"aid":1,"iid":2711,"value":5}]
homekit-controller.0
	2023-05-01 10:26:13.096	debug	Device IP-Aqara-FP2 Scheduled Characteristic update started ...
homekit-controller.0
	2023-05-01 10:25:43.105	debug	state homekit-controller.0.IP-Aqara-FP2.1.wifi-transport-64.wifi-configuration-control changed: AgIAAAMEAAAAAA== (ack = true)
homekit-controller.0
	2023-05-01 10:25:43.095	debug	IP-Aqara-FP2 Set Values to ioBroker: [{"aid":1,"iid":3,"value":"Aqara"},{"aid":1,"iid":4,"value":"PS-S02E"},{"aid":1,"iid":5,"value":"Presence-Sensor-FP2-A28B"},{"aid":1,"iid":6,"value":"54EF444AA28B"},{"aid":1,"iid":7,"value":"1.1.6"},{"aid":1,"iid":8,"value":"1.0.0"},{"aid":1,"iid":9,"value":"6.1;6.1"},{"aid":1,"iid":10,"value":"xDsGOzOmv1k="},{"aid":1,"iid":66,"value":1},{"aid":1,"iid":67,"value":9},{"aid":1,"iid":68,"value":"AgIAAAMEAAAAAA=="},{"aid":1,"iid":2562,"value":""},{"aid":1,"iid":81,"value":-1},{"aid":1,"iid":85,"value":"1.1.6"},{"aid":1,"iid":84,"value":"lumi.motion.agl001"},{"aid":1,"iid":86,"value":1},{"aid":1,"iid":101,"value":"AIOT"},{"aid":1,"iid":97,"value":""},{"aid":1,"iid":98,"value":"lumi1.54ef444aa28b"},{"aid":1,"iid":100,"value":1},{"aid":1,"iid":2673,"value":"Light Sensor"},{"aid":1,"iid":2674,"value":117},{"aid":1,"iid":2689,"value":"Presence Sensor 1"},{"aid":1,"iid":2690,"value":1},{"aid":1,"iid":2691,"value":0},{"aid":1,"iid":2693,"value":"Presence Sensor 2"},{"aid":1,"iid":2694,"value":0},{"aid":1,"iid":2695,"value":1},{"aid":1,"iid":2697,"value":"Presence Sensor 3"},{"aid":1,"iid":2698,"value":0},{"aid":1,"iid":2699,"value":2},{"aid":1,"iid":2701,"value":"Presence Sensor 4"},{"aid":1,"iid":2702,"value":0},{"aid":1,"iid":2703,"value":3},{"aid":1,"iid":2705,"value":"Presence Sensor 5"},{"aid":1,"iid":2706,"value":1},{"aid":1,"iid":2707,"value":4},{"aid":1,"iid":2709,"value":"Presence Sensor 6"},{"aid":1,"iid":2710,"value":0},{"aid":1,"iid":2711,"value":5}]
homekit-controller.0
	2023-05-01 10:25:42.961	debug	Device IP-Aqara-FP2 Scheduled Characteristic update started ...
homekit-controller.0
	2023-05-01 10:25:32.972	debug	state homekit-controller.0.IP-Aqara-FP2.1.sensor-occupancy-2700.occupancy-detected changed: 0 (ack = true)
homekit-controller.0
	2023-05-01 10:25:32.962	debug	IP-Aqara-FP2 Set Values to ioBroker: [{"aid":1,"iid":2702,"value":0}]
homekit-controller.0
	2023-05-01 10:25:32.962	debug	IP-Aqara-FP2 IP device subscription event received: {"characteristics":[{"aid":1,"iid":2702,"value":0}]}
homekit-controller.0
	2023-05-01 10:25:31.970	debug	state homekit-controller.0.IP-Aqara-FP2.1.sensor-occupancy-2700.occupancy-detected changed: 1 (ack = true)
homekit-controller.0
	2023-05-01 10:25:31.962	debug	IP-Aqara-FP2 Set Values to ioBroker: [{"aid":1,"iid":2702,"value":1}]
homekit-controller.0
	2023-05-01 10:25:31.962	debug	IP-Aqara-FP2 IP device subscription event received: {"characteristics":[{"aid":1,"iid":2702,"value":1}]}
homekit-controller.0
	2023-05-01 10:25:30.701	debug	state homekit-controller.0.IP-Aqara-FP2.1.sensor-occupancy-2704.occupancy-detected changed: 1 (ack = true)
homekit-controller.0
	2023-05-01 10:25:30.693	debug	IP-Aqara-FP2 Set Values to ioBroker: [{"aid":1,"iid":2706,"value":1}]
homekit-controller.0
	2023-05-01 10:25:30.693	debug	IP-Aqara-FP2 IP device subscription event received: {"characteristics":[{"aid":1,"iid":2706,"value":1}]}
homekit-controller.0
	2023-05-01 10:25:29.723	debug	state homekit-controller.0.IP-Aqara-FP2.1.sensor-occupancy-2688.occupancy-detected changed: true (ack = true)
homekit-controller.0
	2023-05-01 10:25:29.702	debug	IP-Aqara-FP2 Set Values to ioBroker: [{"aid":1,"iid":2690,"value":1}]
homekit-controller.0
	2023-05-01 10:25:29.702	debug	IP-Aqara-FP2 IP device subscription event received: {"characteristics":[{"aid":1,"iid":2690,"value":1}]}
homekit-controller.0
	2023-05-01 10:25:13.177	debug	IP-Aqara-FP2 Discovery device update, unchanged config-number, ignore
homekit-controller.0
	2023-05-01 10:25:13.177	debug	Discovered IP device up: Aqara-FP2/Presence-Sensor-FP2-A28B
homekit-controller.0
	2023-05-01 10:25:12.960	debug	IP-Aqara-FP2 Subscribed to 9 characteristics: {}
homekit-controller.0
	2023-05-01 10:25:11.341	debug	Device IP-Aqara-FP2 collected subscription IDs: ["1.68","1.81","1.2674","1.2690","1.2694","1.2698","1.2702","1.2706","1.2710"]
homekit-controller.0
	2023-05-01 10:25:11.341	debug	Device IP-Aqara-FP2 collected polling IDs: ["1.3","1.4","1.5","1.6","1.7","1.8","1.9","1.10","1.66","1.67","1.68","1.2562","1.81","1.85","1.84","1.86","1.101","1.97","1.98","1.100","1.2673","1.2674","1.2689","1.2690","1.2691","1.2693","1.2694","1.2695","1.2697","1.2698","1.2699","1.2701","1.2702","1.2703","1.2705","1.2706","1.2707","1.2709","1.2710","1.2711"]
homekit-controller.0
	2023-05-01 10:25:11.122	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.sensor-occupancy-2688.occupancy-detected with Converter number-to-boolean
homekit-controller.0
	2023-05-01 10:25:11.048	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.F49132D1-12DF-4119-87D3-A93E8D68531E-96.C3B8A329-EF0C-4739-B773-E5B7AEA52C71 with Converter number-to-boolean
homekit-controller.0
	2023-05-01 10:25:11.044	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.F49132D1-12DF-4119-87D3-A93E8D68531E-96.80FA747E-CB45-45A4-B7BE-AA7D9964859E with Converter undefined and stateChangeFunction
homekit-controller.0
	2023-05-01 10:25:10.993	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.F49132D1-12DF-4119-87D3-A93E8D68531E-96.25D889CB-7135-4A29-B5B4-C1FFD6D2DD5C with Converter undefined and stateChangeFunction
homekit-controller.0
	2023-05-01 10:25:10.931	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.9715BF53-AB63-4449-8DC7-2785D617390A-80.40F0124A-579D-40E4-865E-0EF6740EA64B with Converter undefined and stateChangeFunction
homekit-controller.0
	2023-05-01 10:25:10.927	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.9715BF53-AB63-4449-8DC7-2785D617390A-80.A45EFD52-0DB5-4C1A-9727-513FBCD8185F with Converter undefined and stateChangeFunction
homekit-controller.0
	2023-05-01 10:25:10.868	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.accessory-runtime-information-2560.ping with Converter base64
homekit-controller.0
	2023-05-01 10:25:10.818	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.wifi-transport-64.wifi-configuration-control with Converter undefined and stateChangeFunction
homekit-controller.0
	2023-05-01 10:25:10.764	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.wifi-transport-64.current-transport with Converter number-to-boolean
homekit-controller.0
	2023-05-01 10:25:10.711	debug	IP-Aqara-FP2 initialize Object homekit-controller.0.IP-Aqara-FP2.1.accessory-information-1.product-data with Converter base64
homekit-controller.0
	2023-05-01 10:25:10.609	debug	IP-Aqara-FP2 Accessory Structure: {"accessories":[{"aid":1,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","format":"bool","perms":["pw"]},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","format":"string","value":"Aqara","perms":["pr"],"ev":false,"enc":false},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","format":"string","value":"PS-S02E","perms":["pr"],"ev":false,"enc":false},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Presence-Sensor-FP2-A28B","perms":["pr"],"ev":false,"enc":false},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","format":"string","value":"54EF444AA28B","perms":["pr"],"ev":false,"enc":false},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","format":"string","value":"1.1.6","perms":["pr"],"ev":false,"enc":false},{"iid":8,"type":"00000053-0000-1000-8000-0026BB765291","format":"string","value":"1.0.0","perms":["pr"],"ev":false,"enc":false},{"iid":9,"type":"34AB8811-AC7F-4340-BAC3-FD6A85F9943B","format":"string","value":"6.1;6.1","perms":["pr","hd"],"ev":false,"enc":false},{"iid":10,"type":"00000220-0000-1000-8000-0026BB765291","format":"data","value":"xDsGOzOmv1k=","perms":["pr"],"ev":false,"enc":false,"maxDataLen":8}]},{"iid":16,"type":"000000A2-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":18,"type":"00000037-0000-1000-8000-0026BB765291","format":"string","value":"1.1.0","perms":["pr"],"ev":false,"enc":false}]},{"iid":64,"type":"0000022A-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":66,"type":"0000022B-0000-1000-8000-0026BB765291","format":"bool","value":1,"perms":["pr"],"ev":false,"enc":false},{"iid":67,"type":"0000022C-0000-1000-8000-0026BB765291","format":"uint32","value":9,"perms":["pr"],"ev":false,"enc":false,"minValue":0,"maxValue":15,"minStep":1},{"iid":68,"type":"0000022D-0000-1000-8000-0026BB765291","format":"tlv8","value":"","perms":["pr","pw","ev","tw","wr"],"ev":false,"enc":false}]},{"iid":2560,"type":"00000239-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2562,"type":"0000023C-0000-1000-8000-0026BB765291","format":"data","value":"","perms":["pr"],"ev":false,"enc":false,"maxDataLen":0}]},{"iid":80,"type":"9715BF53-AB63-4449-8DC7-2785D617390A","primary":false,"hidden":true,"characteristics":[{"iid":81,"type":"7D943F6A-E052-4E96-A176-D17BF00E32CB","format":"int","value":-1,"perms":["pr","ev","hd"],"ev":false,"enc":false,"description":"Firmware Update Status","minValue":-128,"maxValue":127,"minStep":1},{"iid":82,"type":"A45EFD52-0DB5-4C1A-9727-513FBCD8185F","format":"string","perms":["pw","hd"],"description":"Firmware Update URL","maxLen":256},{"iid":83,"type":"40F0124A-579D-40E4-865E-0EF6740EA64B","format":"string","perms":["pw","hd"],"description":"Firmware Update Checksum"},{"iid":85,"type":"96BF5F20-2996-4DB6-8D65-0E36314BCB6D","format":"string","value":"1.1.6","perms":["pr","hd"],"ev":false,"enc":false,"description":"Firmware Version"},{"iid":84,"type":"36B7A28B-3200-4783-A3FB-6714F11B1417","format":"string","value":"lumi.motion.agl001","perms":["pr","hd"],"ev":false,"enc":false,"description":"Device Model"},{"iid":86,"type":"F5329CB1-A50B-4225-BA9B-331449E7F7A9","format":"uint8","value":1,"perms":["pr","hd"],"ev":false,"enc":false,"description":"Selected IoT Platform","minValue":0,"maxValue":4,"minStep":1}]},{"iid":96,"type":"F49132D1-12DF-4119-87D3-A93E8D68531E","primary":false,"hidden":true,"characteristics":[{"iid":101,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"AIOT","perms":["pr","hd"],"ev":false,"enc":false,"description":"Name"},{"iid":97,"type":"25D889CB-7135-4A29-B5B4-C1FFD6D2DD5C","format":"string","value":"","perms":["pr","pw","hd"],"ev":false,"enc":false,"description":"Country Domain"},{"iid":98,"type":"C7EECAA7-91D9-40EB-AD0C-FFDDE3143CB9","format":"string","value":"lumi1.54ef444aa28b","perms":["pr","hd"],"ev":false,"enc":false,"description":"AIOT did"},{"iid":99,"type":"80FA747E-CB45-45A4-B7BE-AA7D9964859E","format":"string","perms":["pw","hd"],"description":"AIOT bindkey"},{"iid":100,"type":"C3B8A329-EF0C-4739-B773-E5B7AEA52C71","format":"bool","value":1,"perms":["pr","hd"],"ev":false,"enc":false,"description":"AIOT bindstate"}]},{"iid":2672,"type":"00000084-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2673,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Light Sensor","perms":["pr"],"ev":false,"enc":false},{"iid":2674,"type":"0000006B-0000-1000-8000-0026BB765291","format":"float","value":117,"perms":["pr","ev"],"ev":false,"enc":false,"unit":"lux","minValue":0,"maxValue":100000,"minStep":1}]},{"iid":2688,"type":"00000086-0000-1000-8000-0026BB765291","primary":true,"hidden":false,"characteristics":[{"iid":2689,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Presence Sensor 1","perms":["pr"],"ev":false,"enc":false,"maxLen":20},{"iid":2690,"type":"00000071-0000-1000-8000-0026BB765291","format":"uint8","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"minValue":0,"maxValue":1,"minStep":1},{"iid":2691,"type":"C8622A33-826A-4DD3-9BE9-D496361F29BB","format":"uint8","value":0,"perms":["pr","hd"],"ev":false,"enc":false,"description":"Sensor Index","minValue":0,"maxValue":30,"minStep":1}]},{"iid":2692,"type":"00000086-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2693,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Presence Sensor 2","perms":["pr"],"ev":false,"enc":false,"maxLen":20},{"iid":2694,"type":"00000071-0000-1000-8000-0026BB765291","format":"uint8","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"minValue":0,"maxValue":1,"minStep":1},{"iid":2695,"type":"C8622A33-826A-4DD3-9BE9-D496361F29BB","format":"uint8","value":1,"perms":["pr","hd"],"ev":false,"enc":false,"description":"Sensor Index","minValue":0,"maxValue":30,"minStep":1}]},{"iid":2696,"type":"00000086-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2697,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Presence Sensor 3","perms":["pr"],"ev":false,"enc":false,"maxLen":20},{"iid":2698,"type":"00000071-0000-1000-8000-0026BB765291","format":"uint8","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"minValue":0,"maxValue":1,"minStep":1},{"iid":2699,"type":"C8622A33-826A-4DD3-9BE9-D496361F29BB","format":"uint8","value":2,"perms":["pr","hd"],"ev":false,"enc":false,"description":"Sensor Index","minValue":0,"maxValue":30,"minStep":1}]},{"iid":2700,"type":"00000086-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2701,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Presence Sensor 4","perms":["pr"],"ev":false,"enc":false,"maxLen":20},{"iid":2702,"type":"00000071-0000-1000-8000-0026BB765291","format":"uint8","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"minValue":0,"maxValue":1,"minStep":1},{"iid":2703,"type":"C8622A33-826A-4DD3-9BE9-D496361F29BB","format":"uint8","value":3,"perms":["pr","hd"],"ev":false,"enc":false,"description":"Sensor Index","minValue":0,"maxValue":30,"minStep":1}]},{"iid":2704,"type":"00000086-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2705,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Presence Sensor 5","perms":["pr"],"ev":false,"enc":false,"maxLen":20},{"iid":2706,"type":"00000071-0000-1000-8000-0026BB765291","format":"uint8","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"minValue":0,"maxValue":1,"minStep":1},{"iid":2707,"type":"C8622A33-826A-4DD3-9BE9-D496361F29BB","format":"uint8","value":4,"perms":["pr","hd"],"ev":false,"enc":false,"description":"Sensor Index","minValue":0,"maxValue":30,"minStep":1}]},{"iid":2708,"type":"00000086-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2709,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Presence Sensor 6","perms":["pr"],"ev":false,"enc":false,"maxLen":20},{"iid":2710,"type":"00000071-0000-1000-8000-0026BB765291","format":"uint8","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"minValue":0,"maxValue":1,"minStep":1},{"iid":2711,"type":"C8622A33-826A-4DD3-9BE9-D496361F29BB","format":"uint8","value":5,"perms":["pr","hd"],"ev":false,"enc":false,"description":"Sensor Index","minValue":0,"maxValue":30,"minStep":1}]}]}]}
homekit-controller.0
	2023-05-01 10:25:08.878	debug	IP-Aqara-FP2 Request Accessory information
homekit-controller.0
	2023-05-01 10:25:08.856	debug	Service: {"name":"Presence-Sensor-FP2-A28B","address":"192.168.178.142","port":63432,"c#":2,"ff":2,"id":"Aqara-FP2","md":"PS-S02E","pv":"1.1","s#":440,"sf":0,"ci":10,"availableToPair":false}
homekit-controller.0
	2023-05-01 10:25:08.855	debug	IP-Aqara-FP2 Start Homekit Device Client initialization on 192.168.178.142:63432
homekit-controller.0
	2023-05-01 10:25:08.855	debug	Init IP-Aqara-FP2 as known device
homekit-controller.0
	2023-05-01 10:25:08.854	debug	Init 1 known devices without discovery ...
homekit-controller.0
	2023-05-01 10:25:08.790	info	starting. Version 0.5.8 in /opt/iobroker/node_modules/iobroker.homekit-controller, node: v16.20.0, js-controller: 4.0.24
homekit-controller.0
	2023-05-01 10:25:08.506	debug	Plugin sentry Initialize Plugin (enabled=true)
homekit-controller.0
	2023-05-01 10:25:04.240	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
homekit-controller.0
	2023-05-01 10:25:04.240	info	terminating
homekit-controller.0
	2023-05-01 10:25:04.238	info	Got terminate signal TERMINATE_YOURSELF

Ok, das log sieht gut aus ... da kommen daten rein und zb homekit-controller.0.IP-Aqara-FP2.1.sensor-occupancy-2700.occupancy-detected wird aktualisiuert und so weiter. Passt also oder? Oder was genau passt nicht? Falls es nochmal wegbricht dann wäre debug log interessant von der zeit da "drumrum," ... also die letzten x Minuten wo es noch tat und so

es gibt halt ein paar Warnungen... ich bin nicht ganz sicher ob das so sein soll

homekit-controller.0 2023-05-16 12:38:33.693 warn Device AqaraSensor had too many errors, reinitialize connection
homekit-controller.0 2023-05-16 12:35:26.426 warn AqaraSensor Could not initialize device: TimeoutError: at Object. (/opt/iobroker/node_modules/@esm2cjs/p-queue/build/esm/index.js:16:22) at Module._compile (node:internal/modules/cjs/loader:1196:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10) at Module.load (node:internal/modules/cjs/loader:1074:32) at Function.Module._load (node:internal/modules/cjs/loader:909:12) at Module.require (node:internal/modules/cjs/loader:1098:19) at require (node:internal/modules/cjs/helpers:108:18) at Object. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:43:35) at Module._compile (node:internal/modules/cjs/loader:1196:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
homekit-controller.0 2023-05-16 12:29:19.278 warn Device AqaraSensor had too many errors, reinitialize connection
homekit-controller.0 2023-05-16 12:14:22.892 warn Device AqaraSensor had too many errors, reinitialize connection
homekit-controller.0 2023-05-16 12:04:19.062 warn Device AqaraSensor had too many errors, reinitialize connection
homekit-controller.0 2023-05-16 11:51:30.985 warn Device AqaraSensor had too many errors, reinitialize connection

naja "so soll" is relativ. Am Ende heisst der Fehler das das gerät nicht mehr Antwortet auf die Abfrage. Dann schalte Log bitte nochmal auf debug und lasse s laufen bis der Fehler kommt (weil im obigen Log war davon nichts zu sehen) und such dann den zeitraum raus wo es ok war und dann nicht mehr tat und poste (großzügig) dieses Log.

Here's a longer log file from my own device. Wifi coverage in the room where the sensor is is excellent, the rest of the link is all cable ethernet. I think the device firmware is buggy (it appears to have a few bugs and they're updating it often), but maybe you can spot something else that could be on homekit-controller's side.

I see connection refused errors, timeouts, device down messages, etc.: https://drive.google.com/file/d/119R93fd66ZbwOOAMwgAJVgWxSIuDKy3j/view?usp=sharing

Ok, what you can see is a strange behavior ... the device changes it's ip to ".188" e.g. 07:41:48.965, short after it (07:42:36.445) it is unreachable, at 10:07:03.132 it is shown as up again but gets another timeout. Then 10:13:37.533 is gets announced again with the first ip (.42 at the end) ... then it works a bit ... then timeouts again at 10:21:45.502 ... and then it works till end of log ... so nothing I see here. Very interesting is that IP change ... anybe also check your router for these two ips

Yes, it is strange! This 169.x.x.188 IP is an "APIPA" one, part of Zeroconf/Bonjour. Devices can self-assign these IPs to communicate on a network without a DHCP server. But in my case, I do have a DHCP server and it's probably the FP2 doing something weird like losing the DHCP lease and announcing the 169 address instead.

Yes, so I would see the issue with the device ... nothing I can see would point me to the adapter or library. sorry