@herrmannj,
beim rumspielen mit JsonMod (um evtl. den eq3 Hm firmware check (https://forum.fhem.de/index.php/topic,78501.msg1019327.html#msg1019327) abzulösen; da die Quelle aber gar keinen sauberen JSON string liefert, funktioniert dies erstmal nicht) ist mir ein Fehler aufgefallen.
Nachdem ich das JsonMod-Test-Device wieder gelöscht hatte, pollt das Device weiter. Ich kann dies nur durch einen Neustart von FHEM unterbinden. Irgendwie scheint eine Device-Löschung nicht sauber zu funktionieren. Anbei ein Log-Auszug mit dem manuell hinzugefügten Kommentar der Löschung:
2020.04.14 12:10:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:10:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:12:15 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:12:15 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:20:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:20:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:22:15 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:22:15 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:25:24 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:25:24 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:30:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:30:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:30:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:30:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:32:15 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:32:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:35:24 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:35:24 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:40:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:40:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:40:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:40:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:42:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:42:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:45:25 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:45:25 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
*** AB HIER DEVICE GELÖSCHT ***
2020.04.14 12:50:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:50:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:50:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:50:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:52:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:52:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 12:55:25 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 12:55:25 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:00:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:00:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:00:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:00:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:02:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:02:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:05:25 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:05:25 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:10:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:10:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:10:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:10:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:12:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:12:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:15:25 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:15:25 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:20:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:20:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:20:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:20:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:22:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:22:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:25:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:25:26 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:30:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:30:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:30:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:30:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:32:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:32:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:35:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:35:26 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:40:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:40:00 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:42:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:42:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:45:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:45:26 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:50:00 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:50:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:52:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:52:16 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 13:55:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 13:55:26 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:00:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:00:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:02:16 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:02:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:05:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:05:26 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:10:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:10:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:12:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:12:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:15:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:15:26 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:20:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:20:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:22:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:22:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:25:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:25:26 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:30:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:30:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:32:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:32:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:35:26 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:35:27 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:40:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:40:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:42:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:42:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:45:27 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:45:27 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:50:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:50:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:52:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:52:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 14:55:27 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 14:55:27 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:00:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:00:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:02:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:02:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:05:27 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:05:27 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:10:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:10:01 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:12:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:12:17 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:15:27 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:15:27 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:20:01 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:20:02 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:22:17 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:22:18 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:25:27 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:25:28 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:30:02 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:30:02 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:32:18 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:32:18 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:35:28 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:35:28 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:40:02 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:40:02 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:42:18 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:42:18 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
2020.04.14 15:45:28 3: IP: update.homematic.com -> 81.14.202.206
2020.04.14 15:45:28 3: https://update.homematic.com/firmware/api/firmware/search/DEVICE: HTTP response code 200
*** AB HIER FHEM NEUSTART ***
Vor allem, muss das mit global verbose 3 mir den Log mit solchen Meldungen vollmüllen? ;)
Btw, in der MAINTAINER.txt (https://svn.fhem.de/trac/browser/trunk/fhem/MAINTAINER.txt) ist JsonMod nicht gelistet.
Hi
a) Danke! (wird beseitigt)
b) die log Meldungen kommen aus HttpUtils, stört mich eigentlich auch. Ich gebe das weiter.
c) die liefern ein JsonP zurück - nicht schön aber das kommt schon bisweilen vor. Ich baue Dir das ein damit das richtig verarbeitet wird - dann kannst Du ja noch mal schauen ob Dir das nützlich ist.
vg
Joerg
Zitat von: herrmannj am 14 April 2020, 16:45:38c) die liefern ein JsonP zurück - nicht schön aber das kommt schon bisweilen vor. Ich baue Dir das ein damit das richtig verarbeitet wird - dann kannst Du ja noch mal schauen ob Dir das nützlich ist.
JSONP, wieder was gelernt. 8)
Bedankt. :)
done
readingList am besten dem list entnehmen. Das interval ist im list auf 8:00 jeden 5ten Tag eingestellt - bei Bedarf einfach anpassen.
Internals:
API_LAST_RES 1586984235.78306
API__LAST_MSG 200
CHANGED
DEF https://update.homematic.com/firmware/api/firmware/search/DEVICE
FUUID 5e96dc6a-f33f-a6e8-d658-ff180c55de6b8fa2
NAME hmupdate
NEXT 2020-04-20 08:00:00
NOTIFYDEV global
NR 32
NTFY_ORDER 50-hmupdate
SOURCE https://update.homematic.com/firmware/api/firmware/search/DEVICE (200)
STATE ???
SVN 21696 2020-04-15 20:57:03 UTC
TYPE JsonMod
CONFIG:
IN_REQUEST 0
SOURCE https://update.homematic.com/firmware/api/firmware/search/DEVICE
SECRET:
READINGS:
2020-04-15 22:57:15 HM-CC-RT-DN 1.5.3
2020-04-15 22:57:15 HM-Dis-EP-WM55 1.2.0
2020-04-15 22:57:15 HM-ES-PMSw1-Pl-DN-R1 2.6.0
2020-04-15 22:57:15 HM-ES-PMSw1-Pl-DN-R2 2.6.0
2020-04-15 22:57:15 HM-ES-PMSw1-Pl-DN-R3 2.6.0
2020-04-15 22:57:15 HM-ES-PMSw1-Pl-DN-R4 2.6.0
2020-04-15 22:57:15 HM-ES-PMSw1-Pl-DN-R5 2.6.0
2020-04-15 22:57:15 HM-LC-Bl1PBU-FM 2.11.1
2020-04-15 22:57:15 HM-LC-Dim1L-Pl-3 2.9.7
2020-04-15 22:57:15 HM-LC-Dim1PWM-CV 2.9.5
2020-04-15 22:57:15 HM-LC-Dim1T-DR 1.1.0
2020-04-15 22:57:15 HM-LC-Dim1T-Pl-3 2.9.5
2020-04-15 22:57:15 HM-LC-Dim1TPBU-FM 2.9.5
2020-04-15 22:57:15 HM-LC-RGBW-WM 1.0.0
2020-04-15 22:57:15 HM-LC-Sw1-Pl-DN-R1 2.6.0
2020-04-15 22:57:15 HM-LC-Sw1-Pl-DN-R2 2.6.0
2020-04-15 22:57:15 HM-LC-Sw1-Pl-DN-R3 2.6.0
2020-04-15 22:57:15 HM-LC-Sw1-Pl-DN-R4 2.6.0
2020-04-15 22:57:15 HM-LC-Sw1-Pl-DN-R5 2.6.0
2020-04-15 22:57:15 HM-MOD-Re-8 1.2.0
2020-04-15 22:57:15 HM-OU-CFM-TW 1.3.0
2020-04-15 22:57:15 HM-Sen-MDIR-WM55 1.2.0
2020-04-15 22:57:15 HM-TC-IT-WM-W-EU 1.4.2
2020-04-15 22:57:15 HmIP-ASIR 1.4.2
2020-04-15 22:57:15 HmIP-BBL 1.8.10
2020-04-15 22:57:15 HmIP-BDT 1.4.8
2020-04-15 22:57:15 HmIP-BROLL 1.6.2
2020-04-15 22:57:15 HmIP-BSL 1.0.2
2020-04-15 22:57:15 HmIP-BSM 1.12.6
2020-04-15 22:57:15 HmIP-BWTH 1.2.4
2020-04-15 22:57:15 HmIP-BWTH24 1.2.4
2020-04-15 22:57:15 HmIP-FBL 1.8.12
2020-04-15 22:57:15 HmIP-FDT 1.4.8
2020-04-15 22:57:15 HmIP-FROLL 1.2.0
2020-04-15 22:57:15 HmIP-FSM 1.6.2
2020-04-15 22:57:15 HmIP-FSM16 1.6.2
2020-04-15 22:57:15 HmIP-KRCA 1.10.0
2020-04-15 22:57:15 HmIP-MIOB 1.6.4
2020-04-15 22:57:15 HmIP-MOD-OC8 1.8.12
2020-04-15 22:57:15 HmIP-PCBS 2.10.2
2020-04-15 22:57:15 HmIP-PCBS2 1.10.10
2020-04-15 22:57:15 HmIP-PDT 1.4.8
2020-04-15 22:57:15 HmIP-PDT-UK 1.4.8
2020-04-15 22:57:15 HmIP-PS 2.6.2
2020-04-15 22:57:15 HmIP-PSM 2.6.2
2020-04-15 22:57:15 HmIP-PSM-CH 2.6.2
2020-04-15 22:57:15 HmIP-PSM-IT 2.6.2
2020-04-15 22:57:15 HmIP-PSM-PE 2.6.2
2020-04-15 22:57:15 HmIP-PSM-UK 2.6.2
2020-04-15 22:57:15 HmIP-SMI 1.4.8
2020-04-15 22:57:15 HmIP-SMI55 1.0.12
2020-04-15 22:57:15 HmIP-SMO 1.2.8
2020-04-15 22:57:15 HmIP-SMO-A 1.2.8
2020-04-15 22:57:15 HmIP-SPI 1.4.0
2020-04-15 22:57:15 HmIP-SRH 1.2.10
2020-04-15 22:57:15 HmIP-STH 2.2.0
2020-04-15 22:57:15 HmIP-STHD 2.2.2
2020-04-15 22:57:15 HmIP-SWDO 1.16.8
2020-04-15 22:57:15 HmIP-SWDO-I 1.16.10
2020-04-15 22:57:15 HmIP-SWO-B 1.0.18
2020-04-15 22:57:15 HmIP-SWO-PL 1.0.18
2020-04-15 22:57:15 HmIP-SWO-PR 1.0.18
2020-04-15 22:57:15 HmIP-WHS2 1.4.0
2020-04-15 22:57:15 HmIP-WTH 2.2.0
2020-04-15 22:57:15 HmIP-WTH-2 2.6.0
2020-04-15 22:57:15 HmIP-eTRV 2.2.8
2020-04-15 22:57:15 HmIP-eTRV-2 2.2.8
2020-04-15 22:57:15 HmIP-eTRV-C 1.2.4
2020-04-15 22:57:15 HmIPW-DRD3 1.0.0
2020-04-15 22:57:15 HmIPW-STH 2.4.6
2020-04-15 22:57:15 HmIPW-STHD 2.4.8
2020-04-15 22:57:15 HmIPW-WTH 2.4.6
Attributes:
event-on-change-reading .*
interval 0 8 5/5 * *
readingList multi(jsonPath('$[*]'), property('type'), property('version'));
update-on-start 1
Scheint sich erledigt zu haben mit der letzten Version. Danke!