MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-DailyPower

    Scheduled Pinned Locked Moved Education
    17 Posts 6 Posters 5.2k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cowboysdudeC Offline
      cowboysdude Module Developer @quark7
      last edited by

      @quark7 said in MMM-DailyPower:

      Tageslosung

      Just use google translate in the module to convert it to any language you want ;)

      1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer @oemel09
        last edited by

        @oemel09 There’s nothing to download… no link.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @uros76
          last edited by

          @uros76 use css to control the picture size

          see here to learn how
          https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1624533876114

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • uros76U Offline
            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 :(

            My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @uros76
              last edited by

              @uros76 said in MMM-DailyPower:

              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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              uros76U 1 Reply Last reply Reply Quote 0
              • uros76U Offline
                uros76 @sdetweil
                last edited by

                @sdetweil said in MMM-DailyPower:

                pm2 logs

                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&params=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
                
                

                My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                S mumblebajM 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @uros76
                  last edited by

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  uros76U 1 Reply Last reply Reply Quote 1
                  • uros76U Offline
                    uros76 @sdetweil
                    last edited by

                    @sdetweil I was on 2.15.0. Now applying your upgrade script from here .
                    Will report back how it goes

                    My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                    1 Reply Last reply Reply Quote 0
                    • uros76U Offline
                      uros76
                      last edited by

                      Hot damn, it works! Thanks @sdetweil for the suggestion to upgrade mm.
                      After upgrading to the latest version everything started to work as before.
                      Yor rock! :flexed_biceps:

                      My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @uros76
                        last edited by sdetweil

                        @uros76 would u be willing to share your installers/upgrade.log with me via email

                        same userid at gmail.

                        there is no user info in the file, I don’t echo or print any config info

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        uros76U 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy