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.

    Shelly-PM not working?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 395 Views 2 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.
    • S Offline
      sdetweil @chrisfr1976
      last edited by

      @chrisfr1976 see
      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        chrisfr1976 @sdetweil
        last edited by

        @sdetweil Hi, that fixed the startup problem. Many thanks!
        But there are still some errors. I`ll check and maybe reopen this topic.

        Regards, Chris.

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          chrisfr1976 @chrisfr1976
          last edited by

          Okay, maybe someone is successfully running this module and can help. I get this message:

          
          0|mm  | [2024-10-21 14:58:00.242] [ERROR] Whoops! There was an uncaught exception... 
          0|mm  | [2024-10-21 14:58:00.242] [ERROR] Error: undefined is not a valid uri or options object.
          0|mm  |     at request (/home/chris/MagicMirror/modules/node_modules/request/index.js:44:11)
          0|mm  |     at Class.socketNotificationReceived (/home/chris/MagicMirror/modules/MMM-Shelly-PM/node_helper.js:30:4)
          0|mm  |     at Socket.<anonymous> (/home/chris/MagicMirror/js/node_helper.js:91:10)
          0|mm  |     at Socket.onevent (/home/chris/MagicMirror/node_modules/socket.io/dist/socket.js:462:26)
          0|mm  |     at Socket._onpacket (/home/chris/MagicMirror/node_modules/socket.io/dist/socket.js:430:22)
          0|mm  |     at /home/chris/MagicMirror/node_modules/socket.io/dist/client.js:214:24
          0|mm  |     at process.processTicksAndRejections (node:internal/process/task_queues:77:11) 
          0|mm  | [2024-10-21 14:58:00.243] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 
          0|mm  | [2024-10-21 14:58:00.244] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
          
          

          I had a look in the index.js and the node_helper.js but I can‘t see whats not working.

          Cheers,
          Chris.

          Regards, Chris.

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

            @chrisfr1976 so, it is trying to use the config parm you should have set

            uri: self.config.uri

            do you have a uri : property in the module config?

            there is no default set by the module

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @chrisfr1976 the author posted a replay to
              https://github.com/stefanjacobs/MMM-Shelly-PM/issues/1
              about an hour ago

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • 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