afuerhoff/ioBroker.fb-checkpresence

False positive presence detection

MeierAlex opened this issue · 18 comments

Hallo,

I am using version 1.1.21 from the repository. In this version but also in the version before one of my devices gets always detectes as active so presende = true although wifi is deactivated. Also the speed is set to 0 for this device but the adaper says it is present.. Compatibility mode is off. Find attached an image:

image

I tried adding the device again, change the detection method from IP -> Hostname -> MAC and vice versa, reset the Device via the fritzbox user interface and also changed it's IP address - nothing makes it work properly. On previous version of this adapter the presence detaction was working perfecly.

Here my settings:

image

image

image

Here the structure under objects:
image

Here the log with logging level debug:

fb-checkpresence.1 2022-09-07 22:00:51.620 debug getDeviceInfo activeCnt: 37
fb-checkpresence.1 2022-09-07 22:00:51.617 debug getDeviceInfo active guest: PC-192-168-179-8 192.168.179.8 BC:CE:25:EB:8F:8A
fb-checkpresence.1 2022-09-07 22:00:51.615 debug getWlBlInfo blCnt: 42
fb-checkpresence.1 2022-09-07 22:00:51.293 debug loop main ends after 0,237896002 s
fb-checkpresence.1 2022-09-07 22:00:51.293 debug loop main ends after 0,237896002 s
fb-checkpresence.1 2022-09-07 22:00:49.052 debug loop family ends after 0,664404197 s
fb-checkpresence.1 2022-09-07 22:00:49.051 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 22:00:49.050 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 22:00:49.040 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 22:00:48.959 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 22:00:48.942 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 22:00:48.935 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:59:50.627 debug getDeviceInfo activeCnt: 37
fb-checkpresence.1 2022-09-07 21:59:50.624 debug getDeviceInfo active guest: PC-192-168-179-8 192.168.179.8 BC:CE:25:EB:8F:8A
fb-checkpresence.1 2022-09-07 21:59:50.599 debug getWlBlInfo blCnt: 42
fb-checkpresence.1 2022-09-07 21:59:50.265 debug loop main ends after 0,305078191 s
fb-checkpresence.1 2022-09-07 21:59:47.957 debug loop family ends after 0,669286388 s
fb-checkpresence.1 2022-09-07 21:59:47.955 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:59:47.955 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:59:47.949 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:59:47.922 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:59:47.921 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:59:47.914 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:58:49.547 debug getDeviceInfo activeCnt: 36
fb-checkpresence.1 2022-09-07 21:58:49.540 debug getDeviceInfo active guest: PC-192-168-179-8 192.168.179.8 BC:CE:25:EB:8F:8A
fb-checkpresence.1 2022-09-07 21:58:49.531 debug getWlBlInfo blCnt: 42
fb-checkpresence.1 2022-09-07 21:58:49.204 debug loop main ends after 0,465172292 s
fb-checkpresence.1 2022-09-07 21:58:46.736 debug loop family ends after 0,399345265 s
fb-checkpresence.1 2022-09-07 21:58:46.733 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:58:46.733 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:58:46.726 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:58:46.699 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:58:46.699 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:58:46.686 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:57:48.537 debug getDeviceInfo activeCnt: 35
fb-checkpresence.1 2022-09-07 21:57:48.535 debug getDeviceInfo active guest: PC-192-168-179-8 192.168.179.8 BC:CE:25:EB:8F:8A
fb-checkpresence.1 2022-09-07 21:57:48.531 debug getWlBlInfo blCnt: 42
fb-checkpresence.1 2022-09-07 21:57:48.207 debug loop main ends after 0,297144162 s
fb-checkpresence.1 2022-09-07 21:57:45.908 debug loop family ends after 0,532003258 s
fb-checkpresence.1 2022-09-07 21:57:45.906 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:57:45.903 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:57:45.893 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:57:45.759 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:57:45.758 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:57:45.751 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:56:47.631 debug getDeviceInfo activeCnt: 35
fb-checkpresence.1 2022-09-07 21:56:47.625 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:56:47.267 debug loop main ends after 0,294885734 s
fb-checkpresence.1 2022-09-07 21:56:44.969 debug loop family ends after 0,467405924 s
fb-checkpresence.1 2022-09-07 21:56:44.967 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:56:44.966 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:56:44.957 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:56:44.880 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:56:44.879 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:56:44.871 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:55:46.713 debug getDeviceInfo activeCnt: 35
fb-checkpresence.1 2022-09-07 21:55:46.705 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:55:46.420 debug loop main ends after 0,526967017 s
fb-checkpresence.1 2022-09-07 21:55:43.890 debug loop family ends after 0,393202821 s
fb-checkpresence.1 2022-09-07 21:55:43.887 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:55:43.886 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:55:43.879 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:55:43.839 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:55:43.838 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:55:43.828 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:54:45.744 debug getDeviceInfo activeCnt: 33
fb-checkpresence.1 2022-09-07 21:54:45.726 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:54:45.408 debug loop main ends after 0,280365331 s
fb-checkpresence.1 2022-09-07 21:54:43.126 debug loop family ends after 0,505103106 s
fb-checkpresence.1 2022-09-07 21:54:43.121 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:54:43.120 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:54:43.112 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:54:42.994 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:54:42.993 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:54:42.984 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:53:44.842 debug getDeviceInfo activeCnt: 33
fb-checkpresence.1 2022-09-07 21:53:44.835 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:53:44.501 debug loop main ends after 0,302102142 s
fb-checkpresence.1 2022-09-07 21:53:42.196 debug loop family ends after 0,464315438 s
fb-checkpresence.1 2022-09-07 21:53:42.194 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:53:42.194 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:53:42.184 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:53:42.095 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:53:42.094 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:53:42.086 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:52:43.969 debug getDeviceInfo activeCnt: 33
fb-checkpresence.1 2022-09-07 21:52:43.950 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:52:43.632 debug loop main ends after 0,255473065 s
fb-checkpresence.1 2022-09-07 21:52:41.374 debug loop family ends after 0,516668069 s
fb-checkpresence.1 2022-09-07 21:52:41.372 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:52:41.357 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:52:41.351 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:52:41.225 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:52:41.224 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:52:41.210 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:51:43.065 debug getDeviceInfo activeCnt: 33
fb-checkpresence.1 2022-09-07 21:51:43.057 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:51:42.750 debug loop main ends after 0,263494748 s
fb-checkpresence.1 2022-09-07 21:51:40.482 debug loop family ends after 0,625816759 s
fb-checkpresence.1 2022-09-07 21:51:40.479 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:51:40.478 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:51:40.468 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:51:40.392 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:51:40.392 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:51:40.383 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:50:42.065 debug getDeviceInfo activeCnt: 34
fb-checkpresence.1 2022-09-07 21:50:42.053 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:50:41.756 debug loop main ends after 0,272199856 s
fb-checkpresence.1 2022-09-07 21:50:39.476 debug loop family ends after 0,751692425 s
fb-checkpresence.1 2022-09-07 21:50:39.474 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:50:39.473 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:50:39.445 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:50:39.283 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:50:39.283 debug history Alexander cntHistory: 14
fb-checkpresence.1 2022-09-07 21:50:39.264 debug history cntActualDay: 15
fb-checkpresence.1 2022-09-07 21:49:40.944 debug getDeviceInfo activeCnt: 33
fb-checkpresence.1 2022-09-07 21:49:40.935 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:49:40.582 debug loop main ends after 0,265913427 s
fb-checkpresence.1 2022-09-07 21:49:38.313 debug loop family ends after 0,416759091 s
fb-checkpresence.1 2022-09-07 21:49:38.310 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:49:38.309 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:49:38.295 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:49:38.247 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:49:38.244 debug history Alexander cntHistory: 13
fb-checkpresence.1 2022-09-07 21:49:38.236 debug history cntActualDay: 14
fb-checkpresence.1 2022-09-07 21:49:38.218 info newActive Alexander true
fb-checkpresence.1 2022-09-07 21:48:40.131 debug getDeviceInfo activeCnt: 32
fb-checkpresence.1 2022-09-07 21:48:40.125 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:48:39.818 debug loop main ends after 0,258511800 s
fb-checkpresence.1 2022-09-07 21:48:37.553 debug loop family ends after 15,988271209 s
fb-checkpresence.1 2022-09-07 21:48:37.551 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:48:37.550 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:48:37.544 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:48:37.453 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:48:37.452 debug history Alexander cntHistory: 12
fb-checkpresence.1 2022-09-07 21:48:37.433 debug history cntActualDay: 13
fb-checkpresence.1 2022-09-07 21:48:37.416 info newActive Alexander false
fb-checkpresence.1 2022-09-07 21:47:23.884 debug getDeviceInfo activeCnt: 32
fb-checkpresence.1 2022-09-07 21:47:23.880 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:47:23.482 debug loop main ends after 0,334542530 s
fb-checkpresence.1 2022-09-07 21:47:21.145 debug loop family ends after 0,409384736 s
fb-checkpresence.1 2022-09-07 21:47:21.143 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:47:21.142 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:47:21.127 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:47:21.100 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:47:21.099 debug history Alexander cntHistory: 11
fb-checkpresence.1 2022-09-07 21:47:21.087 debug history cntActualDay: 12
fb-checkpresence.1 2022-09-07 21:47:21.070 info newActive Alexander true
fb-checkpresence.1 2022-09-07 21:46:23.005 debug getDeviceInfo activeCnt: 31
fb-checkpresence.1 2022-09-07 21:46:23.001 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:46:22.636 debug loop main ends after 0,267156506 s
fb-checkpresence.1 2022-09-07 21:46:20.365 debug loop family ends after 16,1455222 s
fb-checkpresence.1 2022-09-07 21:46:20.363 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:46:20.362 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:46:20.355 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:46:20.245 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:46:20.245 debug history Alexander cntHistory: 10
fb-checkpresence.1 2022-09-07 21:46:20.235 debug history cntActualDay: 11
fb-checkpresence.1 2022-09-07 21:46:20.219 info newActive Alexander false
fb-checkpresence.1 2022-09-07 21:45:06.619 debug getDeviceInfo activeCnt: 32
fb-checkpresence.1 2022-09-07 21:45:06.608 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:45:06.285 debug loop main ends after 0,305504312 s
fb-checkpresence.1 2022-09-07 21:45:03.977 debug loop family ends after 0,485091024 s
fb-checkpresence.1 2022-09-07 21:45:03.974 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:45:03.973 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:45:03.966 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:45:03.821 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:45:03.820 debug history Alexander cntHistory: 9
fb-checkpresence.1 2022-09-07 21:45:03.802 debug history cntActualDay: 10
fb-checkpresence.1 2022-09-07 21:45:03.782 info newActive Alexander true
fb-checkpresence.1 2022-09-07 21:44:05.713 debug getDeviceInfo activeCnt: 32
fb-checkpresence.1 2022-09-07 21:44:05.703 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:44:05.377 debug loop main ends after 0,224434958 s
fb-checkpresence.1 2022-09-07 21:44:03.151 debug loop family ends after 15,842033067 s
fb-checkpresence.1 2022-09-07 21:44:03.149 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:44:03.148 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:44:03.142 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:44:03.018 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:44:03.014 debug history Alexander cntHistory: 9
fb-checkpresence.1 2022-09-07 21:44:03.005 debug history cntActualDay: 10
fb-checkpresence.1 2022-09-07 21:42:49.626 debug getDeviceInfo activeCnt: 33
fb-checkpresence.1 2022-09-07 21:42:49.612 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:42:49.231 debug loop main ends after 0,258147161 s
fb-checkpresence.1 2022-09-07 21:42:46.970 debug loop family ends after 16,533643872 s
fb-checkpresence.1 2022-09-07 21:42:46.968 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:42:46.968 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:42:46.957 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:42:46.883 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:42:46.883 debug history Alexander cntHistory: 8
fb-checkpresence.1 2022-09-07 21:42:46.874 debug history cntActualDay: 9
fb-checkpresence.1 2022-09-07 21:42:46.861 info newActive Alexander false
fb-checkpresence.1 2022-09-07 21:41:32.664 debug getDeviceInfo activeCnt: 34
fb-checkpresence.1 2022-09-07 21:41:32.657 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:41:32.318 debug loop main ends after 0,262405577 s
fb-checkpresence.1 2022-09-07 21:41:30.053 debug loop family ends after 0,673382118 s
fb-checkpresence.1 2022-09-07 21:41:30.051 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:41:30.050 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:41:30.041 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:41:29.790 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:41:29.790 debug history Alexander cntHistory: 8
fb-checkpresence.1 2022-09-07 21:41:29.776 debug history cntActualDay: 9
fb-checkpresence.1 2022-09-07 21:40:31.632 debug getDeviceInfo activeCnt: 34
fb-checkpresence.1 2022-09-07 21:40:31.618 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:40:31.277 debug loop main ends after 0,249114762 s
fb-checkpresence.1 2022-09-07 21:40:29.009 debug loop family ends after 0,534015688 s
fb-checkpresence.1 2022-09-07 21:40:29.007 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:40:29.006 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:40:28.998 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:40:28.968 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:40:28.968 debug history Alexander cntHistory: 8
fb-checkpresence.1 2022-09-07 21:40:28.962 debug history cntActualDay: 9
fb-checkpresence.1 2022-09-07 21:39:30.776 debug getDeviceInfo activeCnt: 34
fb-checkpresence.1 2022-09-07 21:39:30.754 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:39:30.375 debug loop main ends after 0,287049887 s
fb-checkpresence.1 2022-09-07 21:39:28.081 debug loop family ends after 0,549195200 s
fb-checkpresence.1 2022-09-07 21:39:28.077 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:39:28.077 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:39:28.070 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:39:28.034 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:39:28.033 debug history Alexander cntHistory: 8
fb-checkpresence.1 2022-09-07 21:39:28.022 debug history cntActualDay: 9
fb-checkpresence.1 2022-09-07 21:38:29.832 warn State "fb-checkpresence.1.fb-devices.Android.blacklist" has no existing object, this might lead to an error in future versions
fb-checkpresence.1 2022-09-07 21:38:29.831 warn State "fb-checkpresence.1.fb-devices.Android.whitelist" has no existing object, this might lead to an error in future versions
fb-checkpresence.1 2022-09-07 21:38:29.821 debug getDeviceInfo activeCnt: 34
fb-checkpresence.1 2022-09-07 21:38:29.815 debug getWlBlInfo blCnt: 43
fb-checkpresence.1 2022-09-07 21:38:29.437 debug loop main ends after 0,277322114 s
fb-checkpresence.1 2022-09-07 21:38:27.147 debug loop family ends after 0,493074530 s
fb-checkpresence.1 2022-09-07 21:38:27.142 debug Daniela: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:38:27.141 debug history Daniela cntHistory: 6
fb-checkpresence.1 2022-09-07 21:38:27.113 debug history cntActualDay: 7
fb-checkpresence.1 2022-09-07 21:38:27.083 debug Alexander: No history item before this day is available
fb-checkpresence.1 2022-09-07 21:38:27.082 debug history Alexander cntHistory: 7
fb-checkpresence.1 2022-09-07 21:38:27.072 debug history cntActualDay: 8
fb-checkpresence.1 2022-09-07 21:38:27.054 info newActive Alexander true

When taking this screenshot the device watrched under "Alexander" was already disconnected from wifi for 10 Minutes.
Best regards
Alex

Hello, first of all the version from Github is not for general use. Please install the official adapter version via ioBroker.
For further investigations I need the log from the start of the adapter.
In the log I see that the device Alexander is switching from true to false some times.
Does the cell phone have a fixed Mac address?
If you install the version 1.1.19, have you really the same behaviour as with 1.1.20? There was no change in this function between the versions.

Good Morning,

I have tried several version starting from 1.1.17 and did get this behaviour. Sometime the device present state gets recognized correctly but most of the timer the device is shown as present although the wifi is turned off. I was not able to reproduce this behaviour on demand. The phone uses just it's own MAC address - I have turned off MAC randomization. Ay first I thought ot is a problem with this specific device because for my wifes phone it workes properly so I tried the TR-064 and the presence data from this adapter seems to be correct for all of our devices.

Hello,

have you tried uninstalling and then reinstalling the adapter. Before you do this you can save the configuration of the adapter.
As I wrote I need the debug log from the start of the adapter to the first "loop main ends".
You can also look into the network list of the fritzbox, if the device is there also set to true. Then it is a problem of the network.

EDIT: For testing please deselect the filter in the family member settings.

Hello,
nothing heard from you. Is the problem still existent?

Hallo, sorry for the late reply. The problem is still there with the specific device. I tried reinstalling the adapter and checked the network interface of the Fritz box as well - as soon as I turn off wifi, the device is not listed anymore under active connections in the webinterface of the Fritz box. The adapter still says that the device is present. I stopped testing and implemented the presence detection with the TR-064 plugin an a self written script. If you like I can reactivate the plugin and send you the complete log for debugging.

A log will be perfect. It seems that this is a special problem. Please from the start of the adapter.
One question. You are looking at the state fb-checkpresence.0.familyMembers.Alexander.presence. Correct?

Sorry for the late replay.... I will start logging tomorrow.

Hallo, ich habe ein ähnliches Problem.
Guten Freunden habe ich Zugang zum FB-Gäste-WLAN gegeben. (Bsp: Galaxy-A40)
Im Adapter (Version 1.1.20) kann ich sie als Familienmitglieder hinzufügen und im VIS werden sie dann auch anwesend mit eigenem Avatar pro Gast angezeigt (Objekte>fb-presence>0>Galaxy-A40>presence==true)
Das Problem: wenn die Gäste abwesend sind, bleiben die Datenpunkt (fb-presence>0>Galaxy-A40>presence) auf true und (fb-presence>0>Galaxy-A40>speed) auf 1 Mbit/s.
Unter Objekte>fb-checkpresence>0>fb-devices>Galaxy-A40>active wird aber korrekte "false" angezeigt und .speed mit 0 Mbit/s.

@Mateng2502
Hallo, ich schaue mir das bei Gelegenheit an.

@Mateng2502
Ich kann bei mir das Verhalten nicht nachstellen. Wenn ich mit meinem Handy im Gastnetz bin und dann das WLAN deaktiviere
wird nach ca. 10 Minuten der Status auf false gesetzt.

grafik
Screenshot von gerade eben: Das Handy vom PC-192-168-179-14 ist definitiv gestern gegangen 22.10.2022 15:00 Uhr.
Es wird im device selber eines der letzten Kommen-Events angezeigt mit identischem Zeitstempel bei going und presence true.
Allerdings entspricht der Wert unter fb-devices>PC-192-168-179-14.active = false eher den Tatsachen.
Wie schon gesagt, besteht das Problem nur mit Geräten im GästeWLAN. Die An-/Abwesenheit von Geräten im privaten WLAN werden korrekt erkannt.

Was für eine Fritzbox mit welcher Firmware benutzt du?

Hier mein System:
FRITZ!Box 6590 Cable mit FRITZ!OS 07.29
Server mit PROXMOX VE 6.4-13
ioBroker v6.2.23 läuft dort in einem Container mit Debian 10 (Buster), Node.js v16.17.1, NPM 8.15.0
alle Adapter kommen seit jeher aus dem "latest" Repository und sind UpToDate
Bis August war das Verhalten so nicht, da ich alle DP .presence mit einem Skript überwache, um Ansagen/Begrüßungen zu steuern. Wenn der .presence aber nicht mehr auf false springt, kann ein Wechsel auf true das Skript nicht mehr triggern. Durch diese fehlende Begrüßung bin ich auf das Problem aufmerksam geworden.

Wie ist im Adapter die Checkbox für Kompatibilität gesetzt? Wird in den Familieneinstellungen eine Gruppe genutzt?

grafik
Kompatibilität: ja
Gruppe(n): nein

@Mateng2502
Hallo, kannst Du mal in den Family Einstellungen anstatt Benutzung von IP -> MAC einstellen und testen.

Test läuft... Kann nach der Schicht vielleicht schon mehr sagen..

Hier die Ergebnisse vom "Testlauf" nach Umstellung auf MAC:

  • POCO-X3-Pro im "normalen" WLAN --> kommen und gehen wird auch mit MAC richtig erkannt mit true/false in fb-checkpresence.0.MOBILE-Sophia-POCO-X3-Pro.presence
  • Galaxy-A40 im GästeWLAN --> kommen und gehen wird weiterhin nicht richtig erkannt im DP fb-checkpresence.0.Galaxy-A40.presence sondern nur im DP fb-checkpresence.0.fb-devices.Galaxy-A40.active
  • komischer Weise wird aber auch aktuell bei leerem GästeWLAN unter fb-checkpresence.0.guest.count = 0 und .prsence = false ausgegeben. >> DAS prüfe ich nochmal bei aktiven Geräten im GästeWLAN