magic21nrw / MMM-COVID19-AMPEL

This is a COVID-19 Information Extension Module for the Magic Mirror. It shows the City of your choice with the 7 day incidence value per 100k people. In Germany this is used to control the degree of lockdown activities.
https://magicmirror.builders
MIT License
12 stars 2 forks source link

Display of cities, Bundesland and Germany at the same time #13

Closed spitzlbergerj closed 3 years ago

spitzlbergerj commented 3 years ago

Is it possible to display a line for the Bundesland and for Germany as a whole in addition to individual cities?

I briefly looked in the code, but did not find a quick way. Otherwise I would have started a pull request right away ;-) I'm sure you're better at the code, so maybe it's not so complicated.

It would be enough for me if one state (Bavaria) and Germany as a whole could be displayed additionally to three cities.

Thanks for this great module!

magic21nrw commented 3 years ago

Unfortunately it is not possible as the data source is not providing Bundesland and total Germany data. For this data you might need to add an additional module that gives more macro orientated data such as MMM-COVID.

magic21nrw commented 3 years ago

If you want to have the Bundesland only, please simply add the module twice and disable the headers. This should do the trick. But unfortunately the data source has no data point for Germany as a whole.

spitzlbergerj commented 3 years ago

Hi unfortunately this is not the solution. The module then shows my three cities in the first instance and Bavaria three times in the second, even if I specify only one city there. Nevertheless, thanks for the effort and for thinking.