MMM-ApothekenNotdienst is a module for the MagicMirror² project. Since the data is only relevant for Germany, it is only available in German.
It shows the next pharmacies on duty in Germany. The data is provided by the website www.aponet.de.
Since there is no official API, the data is scraped from the website. That means that the module may stop working if the website changes anything.
There is also no guarantee that the data is correct. Please always double-check the information before you go to a pharmacy.
Emergency pharmacy services are an important part of the healthcare system. So why is this information not available as open data?
This would ensure that people can quickly find life-saving medicines in emergencies, improves public health, supports innovation in healthcare applications and strengthens transparency and trust in the healthcare system.
Just clone the module into your modules directory of your MagicMirror²:
cd ~/MagicMirror/modules
git clone https://github.com/KristjanESPERANTO/MMM-ApothekenNotdienst/
To use this module, add it to the config.js
file. Here is a minimal example:
{
module: "MMM-ApothekenNotdienst",
header: "Apotheken-Notdienste",
position: "top_left",
config: {
lat: 52.4974,
lon: 13.4596,
}
},
Option | Description | Type | Default |
---|---|---|---|
lat |
Required Latitude of your location |
Float | 52.4974 |
lon |
Required Longitude of your location |
Float | 13.4596 |
day |
Optional Show duties for today or tomorrow. Possible values: "today" and "tomorrow" |
String | "today" |
radius |
Optional Radius in km around your location |
Integer | 5 |
maxEntries |
Optional Maximum number of entries to show |
Integer | 3 |
updateInterval |
Optional Update interval in milliseconds |
Integer | 30 * 60 * 1000 (30 minutes) |
Go to the module’s directory and pull the latest version from GitHub:
cd ~/MagicMirror/modules/MMM-ApothekenNotdienst
git pull
- The great community of MagicMirror² that keeps this impressive project alive and permanently improves it.
- aponet.de for providing the data.
If you find any problems, bugs or have questions, please open a GitHub issue in this repository.
Pull requests are of course also very welcome 🙂
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
npm run lint
- Run linting and formatter checks.npm run lint:fix
- Fix linting and formatter issues.npm run test
- Run linting and formatter checks + run spelling check.npm run test:spelling
- Run spelling check.
This project is licensed under the ISC License - see the LICENSE file for details.
All notable changes to this project will be documented in the CHANGELOG.md file.