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