Read the statement by Michael Teeuw here.
Fetching Calendar and Newsfeed fails
-
Hi Folks,
i spent now some time into that awsome project and i like it. But yesterday i faced also some problems.
I created the config file and also setup the google calendar and newsfeed which worked pretty fine and was easy to do. Then i played around with additional moduls such as PIR, Button & Podcast. In addition i’ve installed FHEM on the Pi2 to get knowledge of the PIR status within my house automation.
In the evening i’ve noticed that the Newsfeed and Calendar just shows “loading” after a reboot. All the day long there was no problem and after it worked i never touched the config. So which information do you need to help me with this?
Best regards
Dirk -
Here is some output after i’ve started the MM
cat nohup.out > magicmirror@2.0.0 start /home/pi/MagicMirror > electron js/electron.js Loading config ... Loading module helpers ... Initializing new module helper ... No helper found for module: alert. No helper found for module: clock. Initializing new module helper ... No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: MMM-PIR-Sensor Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application. Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20) Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20) Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20) Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20) Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20) Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20) Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20) Missing error handler on `socket`. Error: wiringPiISR: IsInt32(arguments['pin']) === false at Error (native) at Class.module.exports.NodeHelper.create.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:56:12) at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10) at emitTwo (events.js:106:13) at Socket.emit (events.js:191:7) at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8) at Socket.socket.onevent (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:91:13) at Socket.onpacket (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:295:12) at Client.ondecoded (/home/pi/MagicMirror/node_modules/socket.io/lib/client.js:193:14) at Decoder.Emitter.emit (/home/pi/MagicMirror/node_modules/component-emitter/index.js:134:20)
It seems i also have some problems with the PIR Module
-
OK i fixed it due to the log ;)
I had a mistake within the config of the MMM-PIR Module.
Now i fixed it and the calendar and newsfeed started to show up again!