Hallo,
vielleicht übersehe ich etwas, aber mein JsonMod aktualisiert einfach nicht. Gegeben ist:
defmod RKIGermany JsonMod https://api.corona-zahlen.org/germany?
attr RKIGermany room Corona
attr RKIGermany stateFormat weekIncidence
attr RKIGermany update-on-start 1
attr RKIGermany webCmd reread
Seit gestern steht unter weekIncidence "386". Selbst wenn ich "reread" mache, ändert sich daran nix. Rufe ich die Adresse direkt im Browser auf, dann ist die Zahl korrekt, nämlich aktuell 399. Ein List des Devices sieht so aus, also meiner Meinung nach keine Fehler (HTTP 200)
Internals:
API_LAST_MSG 200
API_LAST_RES 1637664199.93816
DEF https://api.corona-zahlen.org/germany?
FUUID 619a9e42-f33f-4070-97a8-b71187963ba513a2
NAME RKIGermany
NEXT 2021-11-23 12:00:00
NR 1283
SOURCE https://api.corona-zahlen.org/germany? (200)
STATE 386.535842912499
SVN 24783 2021-07-21 22:37:12 UTC
TYPE JsonMod
CONFIG:
IN_REQUEST 0
SOURCE https://api.corona-zahlen.org/germany?
SECRET:
READINGS:
2021-11-22 07:10:17 cases 5385585
2021-11-22 07:10:17 casesPer100k 6476.55942789559
2021-11-22 07:10:17 casesPerWeek 321424
2021-11-22 07:10:17 deaths 99124
2021-11-22 07:10:17 delta.cases 30643
2021-11-22 07:10:17 delta.deaths 62
2021-11-22 07:10:17 delta.recovered 23035
2021-11-22 07:10:17 hospitalization.cases7Days 4390
2021-11-22 07:10:17 hospitalization.date 2021-11-22T00:00:00.000Z
2021-11-22 07:10:17 hospitalization.incidence7Days 5.28
2021-11-22 07:10:17 hospitalization.lastUpdate 2021-11-22T03:02:33.000Z
2021-11-22 07:10:17 meta.contact Marlon Lueckert (m.lueckert@me.com)
2021-11-22 07:10:17 meta.info https://github.com/marlon360/rki-covid-api
2021-11-22 07:10:17 meta.lastCheckedForUpdate 2021-11-22T05:09:18.785Z
2021-11-22 07:10:17 meta.lastUpdate 2021-11-22T00:00:00.000Z
2021-11-22 07:10:17 meta.source Robert Koch-Institut
2021-11-22 07:10:17 r.lastUpdate 2021-11-22T01:58:09.000Z
2021-11-22 07:10:17 r.rValue4Days.date 2021-11-18T00:00:00.000Z
2021-11-22 07:10:17 r.rValue4Days.value 1.12
2021-11-22 07:10:17 r.rValue7Days.date 2021-11-17T00:00:00.000Z
2021-11-22 07:10:17 r.rValue7Days.value 1.07
2021-11-22 07:10:17 r.value 1.12
2021-11-22 07:10:17 recovered 4649305
2021-11-22 07:10:17 weekIncidence 386.535842912499
Attributes:
room Corona
stateFormat weekIncidence
update-on-start 1
webCmd reread
Neustart schon versucht, es bleibt bei 386 und ich habe keine Ahnung, wieso. Loglevel 5 sagt auch nix, außer dass es Resultcode 200 gibt.
da hast Du was verbastelt. Da ist doch gar kein readinglist drin, oder übersehe ich das? Wenn es kein readinglist gibt welches definiert welche readings aktualisiert werden sollen, ... dann werden keine aktualisiert.
Och ich brauche ein readinglist? Dachte, ich rufe reread auf und alle Readings, die da sind, werden erstellt. Oh man ... DANKE! Das passiert, wenn man einfach nur Copy&Paste macht.