drozmotix / iobroker.coronavirus-statistics Goto Github PK
View Code? Open in Web Editor NEWAdapter to show Global Corona Virus information and current reports
License: MIT License
Adapter to show Global Corona Virus information and current reports
License: MIT License
Gefühlt seit dem letzten Update werden History-Werte in sql.0 auch geschrieben, wenn diese nicht geändert wurden. Bei anderen Adaptern habe ich das Problem nicht.
Einstellung History:
Geschriebene Werte (ich habe den Aufruf auf 3 Stunden runter gesetzt:
Verhalten tritt erst nach letztem Update auf:
Danke für den Adapter!
Gruß, Ralf
Hi,
when selecting Berlin, districts are not resolved and are hence not in the list of objects. There is an error log per district: "Unknown Bezirk received containing {"attributes":...".
Hello,
i am running the coronavirus-statistics adapter on 2 different RPis. Currently i am having problems on one of them getting the objects updated (initially i could not select the countries, it just loaded and loaded). Now i am able to select the countries and it adds the corresponding new objects, but the 15min update of the objects is not working. Have tried reinstalling the adapter, that does an update for the moment, but that is about it. Sometimes i am also not able to remove the instance and objects created by the adapter.
On the second RPi everything seems to be running fine. Any ideas what might cause this?
Adrian
Hello,
I try to update the adapter from version 0.57 to 0.59 but it fails. Log details here:
*2020-04-26 14:09:21.883 - �[32minfo�[39m: host.server iobroker upgrade coronavirus-statistics
2020-04-26 14:09:23.001 - �[32minfo�[39m: host.server iobroker Update coronavirus-statistics from @0.5.7 to @0.5.9
2020-04-26 14:09:24.122 - �[32minfo�[39m: host.server iobroker NPM version: 6.14.4
2020-04-26 14:09:24.123 - �[32minfo�[39m: host.server iobroker npm install [email protected] --loglevel error --prefix "C:/iobroker" (System call)
2020-04-26 14:09:25.467 - �[32minfo�[39m: host.server iobroker npm
2020-04-26 14:09:25.468 - �[32minfo�[39m: host.server iobroker ERR! Cannot read property 'resolve' of undefined
2020-04-26 14:09:25.476 - �[32minfo�[39m: host.server iobroker
2020-04-26 14:09:25.477 - �[32minfo�[39m: host.server iobroker npm ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2020-04-26T12_09_25_467Z-debug.log
2020-04-26 14:09:25.501 - �[32minfo�[39m: host.server iobroker upload [4] coronavirus-statistics.admin C:/iobroker/node_modules/iobroker.coronavirus-statistics/admin/words.js words.js application/javascript
2020-04-26 14:09:25.639 - �[32minfo�[39m: host.server iobroker upload [3] coronavirus-statistics.admin C:/iobroker/node_modules/iobroker.coronavirus-statistics/admin/style.css style.css text/css
2020-04-26 14:09:25.711 - �[32minfo�[39m: host.server iobroker upload [2] coronavirus-statistics.admin C:/iobroker/node_modules/iobroker.coronavirus-statistics/admin/index_m.html index_m.html text/html
2020-04-26 14:09:25.779 - �[32minfo�[39m: host.server iobroker upload [1] coronavirus-statistics.admin C:/iobroker/node_modules/iobroker.coronavirus-statistics/admin/coronavirus-statistics.png coronavirus-statistics.png image/png
2020-04-26 14:09:25.843 - �[32minfo�[39m: host.server iobroker upload [0] coronavirus-statistics.admin C:/iobroker/node_modules/iobroker.coronavirus-statistics/admin/admin.d.ts admin.d.ts video/mp2t
2020-04-26 14:09:25.898 - �[32minfo�[39m: host.server iobroker Adapter "coronavirus-statistics" updated
2020-04-26 14:09:26.917 - �[32minfo�[39m: host.server iobroker exit 0
Ich würde gern für Deutschland spezielle Landkreise auswählen.
Leider sind alle Schalter in den erweiterten Einstellungen deaktiviert.
Ich habe den Adapter bereits mehrmals neu installiert (ohne Erfolg).
Der ioBroker läuft bei mir auf einem RPI 4 mit 4GB RAM und etlichen weiteren Adaptern.
!!! Before you start !!!
Describe the bug
A clear and concise description of what the bug is.
D:>npm install ioBroker.coronavirus-statistics
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.coronavirus-statistics - Not found
npm ERR! 404
npm ERR! 404 'ioBroker.coronavirus-statistics@latest' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because
npm ERR! 404 1. name can no longer contain capital letters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
To Reproduce
Steps to reproduce the behavior:
https://registry.npmjs.org/ioBroker.coronavirus-statistics => {"error":"Not found"}
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'ioBroker.coronavirus-statistics' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 16868aeef1422015
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 404 https://registry.npmjs.org/ioBroker.coronavirus-statistics 3857ms
8 http fetch GET 404 https://registry.npmjs.org/ioBroker.coronavirus-statistics 1073ms
9 silly fetchPackageMetaData error for ioBroker.coronavirus-statistics@latest 404 Not Found - GET https://registry.npmjs.org/ioBroker.coronavirus-statistics - Not found
10 timing stage:rollbackFailedOptional Completed in 1ms
11 timing stage:runTopLevelLifecycles Completed in 8912ms
12 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/ioBroker.coronavirus-statistics - Not found
12 verbose stack at res.buffer.catch.then.body (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-fetch\check-response.js:104:15)
12 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7)
13 verbose statusCode 404
14 verbose pkgid ioBroker.coronavirus-statistics@latest
15 verbose cwd D:
16 verbose Windows_NT 10.0.18362
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "ioBroker.coronavirus-statistics"
18 verbose node v10.16.0
19 verbose npm v6.9.0
20 error code E404
21 error 404 Not Found - GET https://registry.npmjs.org/ioBroker.coronavirus-statistics - Not found
22 error 404
23 error 404 'ioBroker.coronavirus-statistics@latest' is not in the npm registry.
24 error 404 Your package name is not valid, because
25 error 404 1. name can no longer contain capital letters
26 error 404 Note that you can also install from a
27 error 404 tarball, folder, http url, or git url.
28 verbose exit [ 1, true ]
Versions:
D:>node -v
v10.16.0
Windows 10
Additional context
Add any other context about the problem here.
Installed iobroker-1.5.14.b-windows-installer.exe
Expected behavior when not selected to receive information (get federal states and counties)
ToDo : Ensure in frontend tables are not loaded when not used
Germany is switched on by default, but it´s not possible to select other countries.
(Ik ben Nederlands maar geboren in Duitsland.
Ik kan Nederlands verstaan, maar ik kan het niet schrijven.
Ik heb tante Google nodig om te helpen :-) )
In den Datenpunkten "countryInfo" wird [object Object] ausgegeben.
In version 0.4.5 in the advanced settings, the county "München" is shown twice (and selecting one will save both but in the objects, there is obviously just one "München").
Since I couldn't find the county "Landkreis München" I assume that simply one of these two "Münchens" is supposed to be the LK but since they are called the same it is not possible to select it (or the city is not selectable and only the LK is, who knows).
Hallo, seit heute habe ich plötzlich folgende Fehler im Log. Scheinen ja alles Berliner Bezirke zu sein, ich nutze aber Berlin nicht. Muss ich mir Gedanken machen ?
`
coronavirus-statistics.0 | 2020-05-14 16:00:50.451 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":415,"GEN":"Berlin Tempelhof-Schöneberg","BEZ":"Bezirk","death_rate":3.24074074074074,"cases":648,"deaths":21,"cases_per_100k":184. |
---|---|---|---|
coronavirus-statistics.0 | 2020-05-14 16:00:50.451 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":414,"GEN":"Berlin Friedrichshain-Kreuzberg","BEZ":"Bezirk","death_rate":1.02459016393443,"cases":488,"deaths":5,"cases_per_100k":1 |
coronavirus-statistics.0 | 2020-05-14 16:00:50.450 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":413,"GEN":"Berlin Mitte","BEZ":"Bezirk","death_rate":1.19176598049837,"cases":923,"deaths":11,"cases_per_100k":240.256968232979,"c |
coronavirus-statistics.0 | 2020-05-14 16:00:50.450 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":412,"GEN":"Berlin Steglitz-Zehlendorf","BEZ":"Bezirk","death_rate":2.30326295585413,"cases":521,"deaths":12,"cases_per_100k":168.7 |
coronavirus-statistics.0 | 2020-05-14 16:00:50.449 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":411,"GEN":"Berlin Spandau","BEZ":"Bezirk","death_rate":2.29007633587786,"cases":262,"deaths":6,"cases_per_100k":107.387171741599," |
coronavirus-statistics.0 | 2020-05-14 16:00:50.446 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":410,"GEN":"Berlin Marzahn-Hellersdorf","BEZ":"Bezirk","death_rate":0.595238095238095,"cases":336,"deaths":2,"cases_per_100k":125.1 |
coronavirus-statistics.0 | 2020-05-14 16:00:50.445 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":409,"GEN":"Berlin Lichtenberg","BEZ":"Bezirk","death_rate":3.2967032967033,"cases":273,"deaths":9,"cases_per_100k":93.668940340090 |
coronavirus-statistics.0 | 2020-05-14 16:00:50.426 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":408,"GEN":"Berlin Neukölln","BEZ":"Bezirk","death_rate":4.29184549356223,"cases":699,"deaths":30,"cases_per_100k":212.016706552499 |
coronavirus-statistics.0 | 2020-05-14 16:00:50.426 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":407,"GEN":"Berlin Pankow","BEZ":"Bezirk","death_rate":3.81679389312977,"cases":655,"deaths":25,"cases_per_100k":160.631736416809," |
coronavirus-statistics.0 | 2020-05-14 16:00:50.425 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":406,"GEN":"Berlin Treptow-Köpenick","BEZ":"Bezirk","death_rate":2.6865671641791,"cases":335,"deaths":9,"cases_per_100k":123.546484 |
coronavirus-statistics.0 | 2020-05-14 16:00:50.425 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":405,"GEN":"Berlin Charlottenburg-Wilmersdorf","BEZ":"Bezirk","death_rate":3.05555555555556,"cases":720,"deaths":22,"cases_per_100k |
coronavirus-statistics.0 | 2020-05-14 16:00:50.411 | error | (24053) Unknown Bezirk received containing {"attributes":{"OBJECTID":404,"GEN":"Berlin Reinickendorf","BEZ":"Bezirk","death_rate":4.35684647302905,"cases":482,"deaths":21,"cases_per_100k":181.7324912 |
`
Hi,
today I discovered I am missing values, restart did not hep. So I checked the Log
`
coronavirus-statistics.0 | 2020-04-17 11:45:24.021 | info | (13670) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
---|---|---|---|
coronavirus-statistics.0 | 2020-04-17 11:45:24.020 | error | (13670) [loadCountries] error: 410 - "{"message":"This endpoint has been deprecated. Use /v2/countries instead.","docs":"http://corona.lmao.ninja/docs\"}", stack: StatusCodeError: 410 - "{"mes |
coronavirus-statistics.0 | 2020-04-17 11:45:23.859 | error | (13670) [loadAll] error: 410 - "{"message":"This endpoint has been deprecated. Use /v2/all instead.","docs":"http://corona.lmao.ninja/docs\"}", stack: StatusCodeError: 410 - "{"message":"Thi |
coronavirus-statistics.0 | 2020-04-17 11:45:14.521 | info | (13670) starting. Version 0.5.5 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v10.19.0 |
coronavirus-statistics.0 | 2020-04-17 11:39:06.652 | info | (13547) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
coronavirus-statistics.0 | 2020-04-17 11:39:06.651 | error | (13547) [loadCountries] error: 410 - "{"message":"This endpoint has been deprecated. Use /v2/countries instead.","docs":"http://corona.lmao.ninja/docs\"}", stack: StatusCodeError: 410 - "{"mes |
coronavirus-statistics.0 | 2020-04-17 11:39:06.513 | error | (13547) [loadAll] error: 410 - "{"message":"This endpoint has been deprecated. Use /v2/all instead.","docs":"http://corona.lmao.ninja/docs\"}", stack: StatusCodeError: 410 - "{"message":"Thi |
coronavirus-statistics.0 | 2020-04-17 11:39:03.619 | info | (13547) starting. Version 0.5.5 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v10.19.0 |
`
Hi,
i am using 4.2 combined with the covid-19 info widget. I´m not able to choose the federal states of germany in the dropdown. Is it possible at the moment?
Would be nice to display those values, aswell.
e: nvm changed to materialdesign
Please only update states if a change has also been made.
Hi
Thanks for this really great adapter! One nice to have enhancement is the 7 day incidence for all countries. This would ease the post processing a lot.
Thanks for listening
Daniel
Hi, I'd like to see the figures for Canadian provinces.
Any Chance ?
Txs
As soon as I enable the check box "wieder gesund" for country Netherlands the whole widget gets invisible. Both the edit view and the normal view don't show data.
Inspector in Firefox shows
TypeError: data[type] is null
Version: system.adapter.coronavirus-statistics : coronavirus-statistics - v0.5.9
Hi,
I've updated my iobroker adapter, but it does not create new objects. (upload or restart of adapter w/o improvements). Within a new instance, object is created properly.
BR
Describe the bug
If Federal states are enabled, the log will be spammed with
coronavirus-statistics.0 | 2020-03-24 19:09:57.649 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:57.503 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:57.314 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:57.125 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:56.997 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
coronavirus-statistics.0 | 2020-03-24 19:09:56.895 | warn | (2047) State attribute definition missing for + deathsPerOneMillion
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No warnings in the log file :D
Screenshots & Logfiles
see above.
Versions:
Additional context
Looks like this line is involved: https://github.com/iobroker-community-adapters/ioBroker.coronavirus-statistics/blob/147324ecba3f7ac85b34ec84c5f9872afc56dc12/main.js#L258
First: This is a very useful program and I would like to thank the programmer.
But:
I use a Raspberry 4, actually fast enough.
However, I have a rather slow internet connection.
It is around 9.7 Mbit / s.
If the instance is installed, the connection to the script page is interrupted every 15 minutes. So whenever the app updates.
In addition, ioBroker then does not respond to my voice instructions.
It would be great if the data that was needed were adjustable.
I personally only need "global", "Germany" and "Norway".
Thx !!
Can you add a category Top 10 countries of cases and death?
Seit dem letzten Update werden bei mir die Daten nicht mehr aktualisiert. Das letzte Update ist laut Anzeige vom Samstag 04.04.2020.
Neustart des Adapters hat keine Verbesserung gebracht.
That´s in my log by starting the adapter:
coronavirus-statistics.0 | 2020-03-23 16:43:00.881 | info | (31228) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
---|---|---|---|
coronavirus-statistics.0 | 2020-03-23 16:43:00.407 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:59.980 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:59.729 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:59.433 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:59.095 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:58.792 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:58.557 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:58.451 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:58.450 | warn | (31228) Turks_and_Caicos not found in lib! Must be added to the country name translator. |
coronavirus-statistics.0 | 2020-03-23 16:42:58.250 | warn | (31228) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-23 16:42:58.000 | warn | (31228) State attribute definition missing for + countryInfo |
Now USA is Top1 but still shown as Top 2.
Platform
Windows
Betriebssystem
win32
Architektur
x64
CPUs
16
Geschwindigkeit
2800 MHz
Modell
Intel(R) Xeon(R) CPU X5560 @ 2.80GHz
RAM
23.99 GB
System Betriebszeit
00:12:37
Node.js
v12.18.3
NPM
6.14.6
my location are not working in widget
Luxembourg
widget is empty but data exist in iobroker
coronavirus-statistics.0 2020-09-03 23:37:00.156 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.155 warn (6280) Object coronavirus-statistics.0.Luxembourg.criticalPerOneMillion is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, fi
coronavirus-statistics.0 2020-09-03 23:37:00.148 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.148 warn (6280) Object coronavirus-statistics.0.Luxembourg.recoveredPerOneMillion is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, f
coronavirus-statistics.0 2020-09-03 23:37:00.140 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.140 warn (6280) Object coronavirus-statistics.0.Luxembourg.activePerOneMillion is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, file
coronavirus-statistics.0 2020-09-03 23:37:00.134 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.133 warn (6280) Object coronavirus-statistics.0.Luxembourg.oneTestPerPeople is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, file, j
coronavirus-statistics.0 2020-09-03 23:37:00.126 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.126 warn (6280) Object coronavirus-statistics.0.Luxembourg.oneDeathPerPeople is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, file,
coronavirus-statistics.0 2020-09-03 23:37:00.120 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.119 warn (6280) Object coronavirus-statistics.0.Luxembourg.oneCasePerPeople is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, file, j
coronavirus-statistics.0 2020-09-03 23:37:00.107 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.106 warn (6280) Object coronavirus-statistics.0.Luxembourg.population is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, file, json
coronavirus-statistics.0 2020-09-03 23:37:00.061 warn (6280) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-09-03 23:37:00.061 warn (6280) Object coronavirus-statistics.0.Luxembourg.todayRecovered is invalid: obj.common.type has an invalid value (value) but has to be one of number, string, boolean, array, object, mixed, file, jso
coronavirus-statistics.0 2020-09-03 23:36:59.930 warn (3200) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
Hallo,
wäre es möglich auch die Zahlen für die 16 Bundesländer in Deutschland auszulesen?
Grüße
Brati
In der Berechnung der Cases per Million scheint ein Fehler zu sein.
Beispiel Amerika:
Active: 48380
casesPerOneMillion 2198
48380 Cases/2198 casesPerOne Million = 22,01 Mio (Einwohner)
Dies würde bedeuten, dass Amerika ca 22 Mio Einwohner hätte.
Laut Wikipedia hat Amerika jedoch 911 Mio Einwohner.
Die Berechnung der casesPerOneMillion muss also lauten:
48380 Cases/911 Mio = 53,1 casesPerOne Million
Das gleiche gilt für die anderen Kontinente.
The County UK does not display in the coronavirus-statistics widget,
For all other countries does it works fine, but not for county UK.
The data for the UK are available in the Iobroker
Aktuell kommt es zum folgenden Fehler...
coronavirus-statistics.0 | 2020-03-24 10:30:36.909 | warn | (18092) State attribute definition missing for + countryInfo |
---|---|---|---|
coronavirus-statistics.0 | 2020-03-24 10:30:36.777 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:36.657 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:36.536 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:36.367 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:36.248 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:36.075 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:35.890 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:35.883 | warn | (18092) Turks_and_Caicos not found in lib! Must be added to the country name translator. |
coronavirus-statistics.0 | 2020-03-24 10:30:34.089 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:33.930 | warn | (18092) State attribute definition missing for + countryInfo |
coronavirus-statistics.0 | 2020-03-24 10:30:28.217 | warn | (18092) Error getting API response, will retry at next shedule |
Describe the bug
Crash loop of adapter instance. Instance is constantly restarting ( Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Instance not crashing.
Versions:
Additional info:
Already tried the following to solve the problem:
Adapter configuration:
Diese Warnmeldung erscheint alle 15 Minuten im iobroker LOG -> (6519) Cabo_Verde not found in lib! Must be added to the country name translator.
Zuerst einmal DANKE und Respekt für die tolle Arbeit, auch wenn das Thema Corona selbst weniger angenehm ist.
Ich weiss nicht ob das Problem mit den gelieferten Werten oder der App selbst zusammenhängt.
Bei mir fehlen bei einigen Ländern seit zwei Tagen die "cases per million", d.h. es steht dort nur die Ziffer 1. Z.B. Italien und Spanien.
Habe auch schon eine neue Instanz angelegt, dabei ändert sich nichts.
!!! Before you start !!!!
Verify if there is not already an issue requesting the same Enhancement
Describe wanted Enhancement !
A clear description of the wanted functionality
Please give a step by step instruction. Your fine work is in vain if users cannot use it.
Why should we put effort in it ?
Please add some additional information why this Enhancement should be integrated
I spent quite some time to find my way and switched to https://github.com/ahmadawais/corona-cli to get going, but I do not get there what I want (see ahmadawais/corona-cli#94). I hope corona-virus-statistics
answers some of the questions I have.
Additional context
Add any other context about the problem here.
I am on windows (my linux box runs without a graphical interface), so I installed iobroker-1.5.14.b-windows-installer.exe
. At first run, it showed a lot (guess: 50-100) adapters. I managed to install corona-virus-statistics
, so I thought.
Next I had to reboot my machine. ioBroker had only 3 adapters then. No idea where all the others had gone. I installed corona-virus-statistics
again (alternative command ./iobroker url "https://github.com/iobroker-community-adapters/ioBroker.coronavirus-statistics/tarball/master" coronavirus-statistics
). It looked right and took some time, and when I looked again, I still had 3 adapters. No corona-virus-statistics
. I could not believe it and repeated the procedure, with the same result.
Now what?
Obviously, your pals know what to do. I dont't and run out of ideas.
First of all, thanks for the adapter!
I have just one idea for improvement. Even though it is quite sad, but the numbers are raising in most countries, and already reached thousands. To read it better, would it be possible to add a thousands sign (e.g. 1.200) to the widget? Or is this something which should be done via css?
Kind regards,
Jack
Could we get a possibility to pick certain Countrys in an option menu?
It reduces the load on the API and not everyone needs all the data from ever country.
Thanks :)
Ist es möglich, auch die Fälle der Letzten 7Tage/100.000 Einwohner mit anzugeben?
Nach dem neuen Beschluss der Bundes Republik Deutschland ist dieser Wert ja nicht unerheblich.
Is it possible to add yesterday's new cases (the last maximum von todays cases)?
Bei der Top5 wird nicht nach Cases sortiert. Dazu müsste im Moment USA vor China sein und nicht anders herum.
Du frägst nur per API https://corona.lmao.ninja/all ab. Da bleibt China an erster stelle. Für die Top5 müsstest du aber https://corona.lmao.ninja/countries?sort=cases abrufen, damit die Top5 dann auch in der richtigen Reihenfolge geschrieben werden.
Hi,
vielen Dank für den den Adapter.
In meiner ioBroker Instanz wird der Adapter nicht aktualisiert und steht auf Version 0.4.0. Des Weitern werden die Zahlen außer für Deutschland nicht mehr aktualisiert. Handelt es sich hierbei um ein lokales Problem?
Viele Grüße,
Bastian
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Versions:
Additional context
Add any other context about the problem here.
Wäre es möglich yesterdayCases und yesterdayDeaths zu implementieren?
Updated the js-controller to v3.
Log entry
coronavirus-statistics.0 2020-04-08 20:15:23.110 warn (8779) This object will not be created in future versions. Please report this to the developer.
coronavirus-statistics.0 2020-04-08 20:15:23.109 warn (8779) Object countryTranslator is invalid: obj.type has to exist
Describe the bug
See log. Looks like a bug to me. Happens after updating to 0.6.2
Expected behavior
A working adapter.
Versions:
Screenshots & Logfiles
2020-11-04 10:00:56.700 - error: coronavirus-statistics.0 (14707) [germanyFederalStates] error: values.features is not iterable, stack: TypeError: values.features is not iterable
--
at germanyBundersland (/opt/iobroker/node_modules/iobroker.coronavirus-statistics/main.js:302:35)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Covid19.onReady (/opt/iobroker/node_modules/iobroker.coronavirus-statistics/main.js:529:5)
2020-11-04 10:00:56.710 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2020-11-04 10:00:56.711 - error: coronavirus-statistics.0 (14707) unhandled promise rejection: Cannot read property 'captureException' of undefined
2020-11-04 10:00:56.712 - error: coronavirus-statistics.0 (14707) TypeError: Cannot read property 'captureException' of undefined
at Covid19.errorHandling (/opt/iobroker/node_modules/iobroker.coronavirus-statistics/main.js:686:37)
at germanyBundersland (/opt/iobroker/node_modules/iobroker.coronavirus-statistics/main.js:389:11)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Covid19.onReady (/opt/iobroker/node_modules/iobroker.coronavirus-statistics/main.js:529:5)
2020-11-04 10:00:57.263 - info: coronavirus-statistics.0 (14707) terminating
2020-11-04 10:00:57.266 - info: coronavirus-statistics.0 (14707) Terminated (NO_ERROR): Without reason
2020-11-04 10:00:57.802 - info: host.Casper instance system.adapter.coronavirus-statistics.0 terminated with code 0 (NO_ERROR)
The timestamp of last successful data refresh is only available for federal states but not for cities or counties.
In my opinion it would make sense to extend this for all types, because the data can be updated independently.
Thank you
Möglichkeit einbauen, die alten verweisten states zu entfernen, die aus früherer Version übrig geblieben sind. Siehe https://forum.iobroker.net/post/399321
Is it possible to add a Countdown for Quarantaine Time remaining?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Versions:
Additional context
Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.