FHEM Forum

FHEM => Automatisierung => Thema gestartet von: freetz am 13 August 2021, 10:13:29

Titel: [Gelöst] ModBusAttr: Werte werden nicht im Intervall abgerufen
Beitrag von: freetz am 13 August 2021, 10:13:29
Hallo zusammen,

ich habe ein Device (hier: ein SolarEdge Wechselrichter) über ModBusAttr angelegt, dessen Readings ich über den direkten Aufruf via "get <DEVICE> <Reading>" problemlos abrufen kann.
Das Problem ist nur, dass der Abruf über das eingestellte Intervall nicht funktioniert. Hier ein Debug-Log eines solchen Intervall-Abrufs:

2021.08.13 10:02:33 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:02:33 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 90.0 sec at 10:04:03.938, interval 90
2021.08.13 10:02:33 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:02:33 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:02:33 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:02:33 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:02:33 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:02:56 3: 192.168.1.132:502 disconnected, waiting to reappear (BydBattery)
2021.08.13 10:02:56 5: HttpUtils url=http://192.168.1.132:502/ NonBlocking via http
2021.08.13 10:02:56 4: IP: 192.168.1.132 -> 192.168.1.132
2021.08.13 10:02:56 4: HttpUtils: 192.168.1.132: Connection refused (111)
2021.08.13 10:02:56 5: BydBattery: Open callback: 192.168.1.132: Connection refused (111)
2021.08.13 10:02:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841776.24738 / 10:02:56.247
2021.08.13 10:02:57 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841777.05783 / 10:02:57.057
2021.08.13 10:02:59 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841779.23959 / 10:02:59.239
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.00108 / 10:03:00.001
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.0531 / 10:03:00.053
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.05408 / 10:03:00.054
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.06899 / 10:03:00.068
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.06968 / 10:03:00.069
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.07028 / 10:03:00.070
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.08342 / 10:03:00.083
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.08413 / 10:03:00.084
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.08483 / 10:03:00.084
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.08546 / 10:03:00.085
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.08613 / 10:03:00.086
2021.08.13 10:03:00 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841780.38686 / 10:03:00.386
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.14439 / 10:03:02.144
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.20362 / 10:03:02.203
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.25029 / 10:03:02.250
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.25129 / 10:03:02.251
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.25213 / 10:03:02.252
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.26811 / 10:03:02.268
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.87388 / 10:03:02.873
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.8806 / 10:03:02.880
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.88145 / 10:03:02.881
2021.08.13 10:03:02 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841782.90281 / 10:03:02.902
2021.08.13 10:03:06 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841786.87535 / 10:03:06.875
2021.08.13 10:03:07 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841787.47841 / 10:03:07.478
2021.08.13 10:03:07 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841787.56407 / 10:03:07.564
2021.08.13 10:03:08 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841788.13561 / 10:03:08.135
2021.08.13 10:03:08 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841788.80042 / 10:03:08.800
2021.08.13 10:03:08 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841788.83219 / 10:03:08.832
2021.08.13 10:03:09 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841789.90685 / 10:03:09.906
2021.08.13 10:03:14 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841794.99468 / 10:03:14.994
2021.08.13 10:03:19 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841799.95643 / 10:03:19.956
2021.08.13 10:03:24 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841804.96171 / 10:03:24.961
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.08277 / 10:03:26.082
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.19755 / 10:03:26.197
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.19839 / 10:03:26.198
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.21996 / 10:03:26.219
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.22378 / 10:03:26.223
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.22764 / 10:03:26.227
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.23309 / 10:03:26.233
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.23643 / 10:03:26.236
2021.08.13 10:03:26 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841806.23836 / 10:03:26.238
2021.08.13 10:03:27 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841807.05889 / 10:03:27.058
2021.08.13 10:03:32 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841812.06377 / 10:03:32.063
2021.08.13 10:03:36 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841816.08706 / 10:03:36.087
2021.08.13 10:03:36 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841816.2618 / 10:03:36.261
2021.08.13 10:03:36 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841816.97341 / 10:03:36.973
2021.08.13 10:03:36 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841816.97703 / 10:03:36.977
2021.08.13 10:03:36 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841816.97843 / 10:03:36.978
2021.08.13 10:03:37 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841817.10338 / 10:03:37.103
2021.08.13 10:03:37 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841817.12826 / 10:03:37.128
2021.08.13 10:03:37 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841817.25548 / 10:03:37.255
2021.08.13 10:03:37 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841817.26159 / 10:03:37.261
2021.08.13 10:03:38 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841818.36377 / 10:03:38.363
2021.08.13 10:03:38 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841818.40567 / 10:03:38.405
2021.08.13 10:03:39 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841819.88758 / 10:03:39.887
2021.08.13 10:03:39 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841819.91061 / 10:03:39.910
2021.08.13 10:03:39 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841819.91113 / 10:03:39.911
2021.08.13 10:03:42 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841822.53991 / 10:03:42.539
2021.08.13 10:03:42 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841822.57436 / 10:03:42.574
2021.08.13 10:03:42 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841822.61048 / 10:03:42.610
2021.08.13 10:03:42 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841822.66387 / 10:03:42.663
2021.08.13 10:03:43 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841823.96964 / 10:03:43.969
2021.08.13 10:03:44 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841824.24591 / 10:03:44.245
2021.08.13 10:03:53 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841833.07712 / 10:03:53.077
2021.08.13 10:03:53 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841833.08303 / 10:03:53.083
2021.08.13 10:03:53 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841833.08384 / 10:03:53.083
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.08002 / 10:03:55.080
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.179 / 10:03:55.179
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.1799 / 10:03:55.179
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.19326 / 10:03:55.193
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.19605 / 10:03:55.196
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.20042 / 10:03:55.200
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.20479 / 10:03:55.204
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.61932 / 10:03:55.619
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.6234 / 10:03:55.623
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.62892 / 10:03:55.628
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.81403 / 10:03:55.814
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.81655 / 10:03:55.816
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.81869 / 10:03:55.818
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.88873 / 10:03:55.888
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.88963 / 10:03:55.889
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.90172 / 10:03:55.901
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.90544 / 10:03:55.905
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.90909 / 10:03:55.909
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.91275 / 10:03:55.912
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.91651 / 10:03:55.916
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.9201 / 10:03:55.920
2021.08.13 10:03:55 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841835.92646 / 10:03:55.926
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.08364 / 10:03:56.083
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.19757 / 10:03:56.197
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.19843 / 10:03:56.198
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.20982 / 10:03:56.209
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.21617 / 10:03:56.216
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.22029 / 10:03:56.220
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.22342 / 10:03:56.223
2021.08.13 10:03:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628841836.24713 / 10:03:56.247 and now is 1628841836.22785 / 10:03:56.227
2021.08.13 10:03:56 5: HttpUtils url=http://192.168.1.132:502/ NonBlocking via http
2021.08.13 10:03:56 4: IP: 192.168.1.132 -> 192.168.1.132
2021.08.13 10:03:56 3: 192.168.1.132:502 reappeared (BydBattery)
2021.08.13 10:03:56 4: BydBattery: UpdateTimer called from OpenCB with cmd start sets timer to call update function in 7.1 sec at 10:04:03.938, interval 90
2021.08.13 10:04:03 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:04:03 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 90.0 sec at 10:05:33.939, interval 90
2021.08.13 10:04:03 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:04:03 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:04:03 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:04:03 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:04:03 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:05:33 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:05:33 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 90.0 sec at 10:07:03.940, interval 90
2021.08.13 10:05:33 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:05:33 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:05:33 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:05:33 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:05:33 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:05:56 3: 192.168.1.132:502 disconnected, waiting to reappear (BydBattery)
2021.08.13 10:05:56 5: HttpUtils url=http://192.168.1.132:502/ NonBlocking via http
2021.08.13 10:05:56 4: IP: 192.168.1.132 -> 192.168.1.132
2021.08.13 10:05:56 4: HttpUtils: 192.168.1.132: Connection refused (111)
2021.08.13 10:05:56 5: BydBattery: Open callback: 192.168.1.132: Connection refused (111)
2021.08.13 10:05:56 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628842016.87727 / 10:06:56.877 and now is 1628841956.87761 / 10:05:56.877
2021.08.13 10:05:57 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628842016.87727 / 10:06:56.877 and now is 1628841957.06416 / 10:05:57.064
2021.08.13 10:05:59 5: BydBattery: open ignored because DevIo has set NEXT_OPEN to 1628842016.87727 / 10:06:56.877 and now is 1628841959.86412 / 10:05:59.864


Wie gesagt, der Abruf via get funktioniert gut, seltsam ist nur, dass die "disconnected, waiting to reappear"-Meldungen regelmäßig kommen.
Auffällig fand ich auch die leeren Stellen in den Meldungen, wie z.B. "...keys are now" oder "create requests for" - und dann kommt nichts mehr.

Hier noch das list des Devices:
Internals:
   DEF        1 90 192.168.1.132:502 TCP
   DeviceName 192.168.1.132:502
   EXPECT     idle
   FUUID      60fc847c-f33f-00f0-ae19-dbc3beb084dd5306
   IODev      BydBattery
   Interval   90
   LASTOPEN   1628842137.13427
   MODBUSID   1
   MODE       master
   MODULEVERSION Modbus 4.4.02 - 31.3.2021
   NAME       BydBattery
   NEXT_OPEN  1628842197.15125
   NOTIFYDEV  global
   NR         289
   NTFY_ORDER 50-BydBattery
   PARTIAL   
   PROTOCOL   TCP
   STATE      disconnected
   TCPConn    1
   TYPE       ModbusAttr
   devioLoglevel 3
   nextOpenDelay 60
   Helper:
     DBLOG:
       StateControlMode:
         logdb:
           TIME       1628752944.62973
           VALUE      2
       state:
         logdb:
           TIME       1628752944.62973
           VALUE      disabled
   OLDREADINGS:
   READ:
     BUFFER     
   READINGS:
     2021-08-13 09:33:30   Battery_Instantaneous_Power 0
     2021-08-13 09:49:01   Battery_SoE     20
     2021-08-13 09:45:35   Meter_Power     2487
     2021-08-13 09:45:45   Meter_Power_Scale 0
     2021-08-13 09:50:39   Power_Ac        29720
     2021-08-13 09:31:57   Power_Ac_Scale  -1
     2021-08-12 09:59:42   Rc_Cmd_Mode     7
     2021-08-12 09:46:23   Rc_Cmd_Timeout  3600
     2021-07-24 23:59:59   Storage_Charge-Discharge_Default_Mode 7
     2021-07-27 22:14:57   Storage_Control_Mode 2
     2021-08-13 10:08:57   state           disconnected
   REMEMBER:
     lid        1
     lname      BydBattery
     lrecv      1628841039.37937
     lsend      1628841039.33226
   RESPONSE:
   defptr:
     BydBattery 1
   gotReadings:
     Power_Ac   29720
   lastRead:
     h40083     1628841039.38013
     h40084     1628839917.26532
     h40206     1628840735.38044
     h40210     1628840745.34986
     h57355     1628754383.7584
     h57357     1628755182.3686
     h57716     1628840010.63044
     h57732     1628840941.87209
Attributes:
   DbLogExclude .*
   disable    0
   event-on-change-reading .*
   obj-h40083-reading Power_Ac
   obj-h40084-reading Power_Ac_Scale
   obj-h40084-unpack s
   obj-h40206-reading Meter_Power
   obj-h40210-reading Meter_Power_Scale
   obj-h57348-reading Storage_Control_Mode
   obj-h57348-set 1
   obj-h57354-reading Storage_Charge-Discharge_Default_Mode
   obj-h57354-set 1
   obj-h57355-len 2
   obj-h57355-reading Rc_Cmd_Timeout
   obj-h57355-revRegs 1
   obj-h57355-set 1
   obj-h57355-unpack l>
   obj-h57357-reading Rc_Cmd_Mode
   obj-h57357-set 1
   obj-h57716-len 2
   obj-h57716-reading Battery_Instantaneous_Power
   obj-h57716-revRegs 1
   obj-h57716-unpack f>
   obj-h57732-len 2
   obj-h57732-reading Battery_SoE
   obj-h57732-revRegs 1
   obj-h57732-unpack f>
   room       Haus
   verbose    5


Kann man da irgendetwas machen?
Titel: Antw:ModBusAttr: Werte werden nicht im Intervall abgerufen
Beitrag von: freetz am 13 August 2021, 10:18:42
Ergänzung: Ich habe jetzt openTimeout auf 10 Sekunden gesetzt, dadurch fallen die disconnect-Meldungen weg, aber die Werte werden weiterhin nicht aktualisiert. Hier das Log:
2021.08.13 10:16:31 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:16:31 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:17:01.098, interval 30
2021.08.13 10:16:31 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:16:31 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:16:31 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:16:31 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:16:31 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:17:01 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:17:01 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:17:31.099, interval 30
2021.08.13 10:17:01 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:17:01 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:17:01 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:17:01 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:17:01 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:17:31 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:17:31 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:18:01.102, interval 30
2021.08.13 10:17:31 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:17:31 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:17:31 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:17:31 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:17:31 4: BydBattery: GetUpdate will now create requests for
Titel: Antw:JsonMod: Werte werden nicht im Intervall abgerufen
Beitrag von: herrmannj am 13 August 2021, 10:20:42
Das ist doch modbus, nicht jsonmod ?
Titel: Antw:ModBusAttr: Werte werden nicht im Intervall abgerufen
Beitrag von: freetz am 13 August 2021, 10:23:11
Argh, sorry, arbeite bei dem Wechselrichter mit beiden Modulen und hab's da verwechselt, tut mir leid, versuche den Betreff zu ändern...
Titel: Antw:ModBusAttr: Werte werden nicht im Intervall abgerufen
Beitrag von: herrmannj am 13 August 2021, 10:25:50
Schau auch im Text, dann steigen die Chancen dass jemand draufschaut der sich damit auskennt. Vg
Titel: Antw:ModBusAttr: Werte werden nicht im Intervall abgerufen
Beitrag von: freetz am 13 August 2021, 10:27:00
Stimmt, übersehen, danke!
Titel: Antw:ModBusAttr: Werte werden nicht im Intervall abgerufen
Beitrag von: freetz am 13 August 2021, 10:30:25
Hier noch ein leicht verändertes Log nach dem Update auf die neueste ModBusAttr Version:
2021.08.13 10:25:45 3: BydBattery: attr disable removed
2021.08.13 10:25:45 5: BydBattery: open called from SetLDActive, busyOpenDev 0
2021.08.13 10:25:45 4: BydBattery: open trying to open connection to 192.168.1.132:502
2021.08.13 10:25:45 3: Opening BydBattery device 192.168.1.132:502
2021.08.13 10:25:45 5: HttpUtils url=http://192.168.1.132:502/ NonBlocking via http
2021.08.13 10:25:45 4: IP: 192.168.1.132 -> 192.168.1.132
2021.08.13 10:25:45 5: BydBattery: ResetExpect for DoOpen from undefined to idle
2021.08.13 10:25:45 4: BydBattery: UpdateTimer called from SetLDActive with cmd start sets timer to call update function in 0.0 sec at 10:25:45.907, interval 30
2021.08.13 10:25:45 5: BydBattery: SetState called from AttrLDFn with enabled sets state and STATE to active
2021.08.13 10:25:45 5: BydBattery: UpdateSetList: setList=reconnect:noArg saveAsModule createAttrsFromParseInfo interval reread:noArg stop:noArg start:noArg close:noArg scanStop:noArg scanModbusObjects inactive active Storage_Control_Mode Storage_Charge-Discharge_Default_Mode Rc_Cmd_Timeout Rc_Cmd_Mode
2021.08.13 10:25:45 5: BydBattery: UpdateSetList: getList=
2021.08.13 10:25:45 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:25:45 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:26:15.958, interval 30
2021.08.13 10:25:45 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:25:45 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:25:45 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:25:45 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:25:45 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:25:45 3: BydBattery device opened
2021.08.13 10:25:45 4: BydBattery: UpdateTimer called from OpenCB with cmd start sets timer to call update function in 30.0 sec at 10:26:15.958, interval 30
2021.08.13 10:26:15 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:26:15 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:26:45.961, interval 30
2021.08.13 10:26:15 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:26:15 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:26:15 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:26:15 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:26:15 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:26:36 3: Sausia: disconnecting
2021.08.13 10:26:36 2: Sausia: connecting
2021.08.13 10:26:36 3: Sausia: initialized
2021.08.13 10:26:45 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:26:45 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:27:15.962, interval 30
2021.08.13 10:26:45 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:26:45 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:26:45 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:26:45 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:26:45 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:27:15 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:27:15 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:27:45.968, interval 30
2021.08.13 10:27:15 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:27:15 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:27:15 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:27:15 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:27:15 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:27:25 3: Sausia: connection timeout
2021.08.13 10:27:36 3: Ist_Soll_an_Heizung: Ist: 22.9, Soll: 20, Diff: 0.00, Zimmer: 0
2021.08.13 10:27:45 3: THISION: Read callback: Error: http://192.168.1.50/4444/S710=20: empty answer received
2021.08.13 10:27:45 4: BydBattery: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.08.13 10:27:45 4: BydBattery: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 30.0 sec at 10:28:15.969, interval 30
2021.08.13 10:27:45 5: BydBattery: CreateUpdateList full object list: h40083 h40084 h40206 h40210 h57348 h57354 h57355 h57357 h57716 h57732
2021.08.13 10:27:45 4: BydBattery: CombineUpdateHash objHash keys before combine:
2021.08.13 10:27:45 5: BydBattery: CombineUpdateHash tries to combine read commands
2021.08.13 10:27:45 5: BydBattery: CombineUpdateHash keys are now
2021.08.13 10:27:45 4: BydBattery: GetUpdate will now create requests for
2021.08.13 10:27:46 3: 192.168.1.132:502 disconnected, waiting to reappear (BydBattery)
2021.08.13 10:27:46 5: HttpUtils url=http://192.168.1.132:502/ NonBlocking via http
2021.08.13 10:27:46 4: IP: 192.168.1.132 -> 192.168.1.132
2021.08.13 10:27:46 3: 192.168.1.132:502 reappeared (BydBattery)
2021.08.13 10:27:46 4: BydBattery: UpdateTimer called from OpenCB with cmd start sets timer to call update function in 29.9 sec at 10:28:15.969, interval 30
Titel: Antw:[Gelöst] ModBusAttr: Werte werden nicht im Intervall abgerufen
Beitrag von: freetz am 13 August 2021, 10:34:45
Wer lesen kann, ist klar im Vorteil: Das "poll" Attribut muss natürlich gesetzt werden :(
attr <DEVICE> dev-h-defPoll 1