• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-SunnyPortal not loading

Scheduled Pinned Locked Moved Requests
3 Posts 2 Posters 612 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
    SkyFocusNL
    last edited by Nov 12, 2020, 3:55 PM

    Hi,

    I found this tread describing exact the same issue I am experiencing with this module. Strange thing is that I got this module working for a few weeks, looking very good … but after a week of disabeling it I wanted it enabled again but to my disappointment it shows the Solar Panels title with beneath 4 times “Loading …” and that does not end.
    I tried reinstalling the SunnyPortal module, MagicMirror and even started from scratch with a complete new raspberrypi install but still no luck. I tried the fix from this ( MMM-SunnyPortal Solar Module](/topic/12184/mmm-sunnyportal-solar-module) thread but also no luck, after altering the node_helper.js file MagicMirror is not starting at all. Changed that back to the original version again.

    What I notice in de logging when starting MagicMirror is the following lines as soon as I activate the SunnyPortal Module:
    0|mm | [2020-11-12 16:38:52.747] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    0|mm | [2020-11-12 16:38:52.814] [ERROR] Whoops! There was an uncaught exception…
    0|mm | [2020-11-12 16:38:52.816] [ERROR] TypeError: Cannot read property ‘1’ of null
    0|mm | at Request._callback (/home/pi/MagicMirror/modules/MMM-SunnyPortal/node_helper.js:134:121)
    0|mm | at Request.self.callback (/home/pi/MagicMirror/modules/MMM-SunnyPortal/node_modules/request/request.js:185:22)
    0|mm | at Request.emit (events.js:200:13)
    0|mm | at Request. (/home/pi/MagicMirror/modules/MMM-SunnyPortal/node_modules/request/request.js:1154:10)
    0|mm | at Request.emit (events.js:200:13)
    0|mm | at IncomingMessage. (/home/pi/MagicMirror/modules/MMM-SunnyPortal/node_modules/request/request.js:1076:12)
    0|mm | at Object.onceWrapper (events.js:288:20)
    0|mm | at IncomingMessage.emit (events.js:205:15)
    0|mm | at endReadableNT (_stream_readable.js:1154:12)
    0|mm | at processTicksAndRejections (internal/process/task_queues.js:84:9)
    0|mm | [2020-11-12 16:38:52.818] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    0|mm | [2020-11-12 16:38:52.819] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

    Any idea what is going wrong here, above logging says it has got something to do with the node_helper.js file …

    help would be appriciated …

    Regards,

    Arjan

    1 Reply Last reply Reply Quote 0
    • L Offline
      linuxtuxie
      last edited by Nov 14, 2020, 8:28 PM

      Hi Arjan,

      I also encountered the same problem and noticed that I was forced to create a more complex password on the portal, but even after changing the password, the problem remained…

      I got it working again by making use of the user-agent of the latest Firefox browser version, being:

      ‘User-Agent’: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0’

      So it seems that we have hit the same browser user-agent issue again as mentioned in post https://forum.magicmirror.builders/post/77179

      You can fetch the latest release from
      https://github.com/linuxtuxie/MMM-SunnyPortal

      Can you confirm its working again?

      Regards,
      Linuxtuxie

      S 1 Reply Last reply Nov 17, 2020, 2:29 PM Reply Quote 0
      • S Offline
        SkyFocusNL @linuxtuxie
        last edited by Nov 17, 2020, 2:29 PM

        @linuxtuxie

        Hi linuxtuxie,

        I have reinstalled it and it worked … for 1 day, I now have the same problem again …
        I’ve reinstalled it again, and it keeps on saying “Loading…”

        I’ve tried using some other user-agent strings from chrome and edge. With the Edge string I’ve got it working agian

        ‘User-Agent’: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36 Edg/86.0.622.69’,

        But it feels buggy, I will report back when it it fails again …

        regards,

        Arjan

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