Display the daily bible verse from DailyPower.
- First release
uros76 last edited by
@oemel09 thanks for this module. Fits great on our mirror.
I have one question. Is there a way to limit the height of the picture? I would like to make the picture a bit smaller…
@oemel09 There’s nothing to download… no link.
@uros76 use css to control the picture size
uros76 last edited by uros76
Hi. This module worked fine but it stopped updating for me today.
Did something change at the source or maybe something else that broke it down?
I just tried direct fetch with web browser and I get positive response: https://dailypower.oemel09.de/api/v1/verses/2021-11-08?lang=web
Not sure what’s wrong. Ideas?
Edit: I tried this module on my second magicmirror install and it’s the same. The module keeps giving me “Loading …” and that’s it
The module keeps giving me “Loading …”
that is the message most modules put up until the data arrives. but if the data doesn’t arrive…
so, you can look in the developers window, console tab to see if there are any errors
or in the messages where u start mm… either npm start or using pm2, the pm2 logs command
uros76 last edited by
Thanks. I checked pm2 logs and found below repeating under errors.
Interestingly DailyPower module is not mentioned. MMM-News and currentweather modules still work despite being mentioned in errors.
The MMM-MarineWeather is another one that doesn’t work and it is mentioned in errors.
I have no clue why all a sudden two modules stopped working. Did something change on mm core?
0|MagicMir | [08.11.2021 18:00.25.067] [WARN] The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path 0|MagicMir | [08.11.2021 18:00.28.669] [ERROR] [NEWS] WARNING 0|MagicMir | [08.11.2021 18:00.28.670] [ERROR] [NEWS] MMM-News search a new owner ! 0|MagicMir | [08.11.2021 18:00.28.670] [ERROR] [NEWS] Contact @bugsounet in forum -- http://forum.bugsounet.fr -- 0|MagicMir | [08.11.2021 18:00.28.671] [ERROR] [NEWS] MMM-News is now in end of life ! 0|MagicMir | [08.11.2021 18:00.28.672] [ERROR] [NEWS] This module will going down at 2021-05-01 0|MagicMir | [08.11.2021 18:00.28.697] [ERROR] (node:7944) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 0|MagicMir | [08.11.2021 18:00.29.125] [ERROR] (node:7944) UnhandledPromiseRejectionWarning: FetchError: request to https://api.stormglass.io/v2/weather/point?lat=54.4075&lng=18.631389¶ms=airTemperature,waterTemperature,pressure,cloudCover,windSpeed,windDirection,waveHeight,waveDirection&source=sg&start=1636390828&end=1636390828 failed, reason: certificate has expired 0|MagicMir | at ClientRequest.<anonymous> (/home/pi/MagicMirror/modules/MMM-MarineWeather/node_modules/node-fetch/lib/index.js:1455:11) 0|MagicMir | at ClientRequest.emit (events.js:315:20) 0|MagicMir | at TLSSocket.socketErrorListener (_http_client.js:426:9) 0|MagicMir | at TLSSocket.emit (events.js:315:20) 0|MagicMir | at emitErrorNT (internal/streams/destroy.js:92:8) 0|MagicMir | at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) 0|MagicMir | at processTicksAndRejections (internal/process/task_queues.js:84:21) 0|MagicMir | [08.11.2021 18:00.29.126] [ERROR] (node:7944) UnhandledPromiseRejectionWarning: 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) 0|MagicMir | [08.11.2021 18:00.29.128] [ERROR] (node:7944) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
@uros76 what MM version are you on? there is a bug in releases prior to 2.17.1 in e;lectron handling expired certificates…
use my script to upgrade if on 2.16 or earlier