Each time this module tries to check the weather, I see the following using pm2 logs:
0|MagicMirror | [2024-10-26 10:13:25.994] [INFO] [MMM-DynamicWeather] Getting Weather API data
0|MagicMirror | [2024-10-26 10:13:26.195] [ERROR] [MMM-DynamicWeather] Failed getting api: 401
At the last restart I got these errors at startup - the gbm_wrapper errors before the MMM-DynamicWeather specific errors may or may not be connected, I have no idea.
0|MagicMir | [2505:1026/090323.361257:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
0|MagicMir | [2505:1026/090323.363120:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
0|MagicMir | [2505:1026/090323.363549:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
0|MagicMir | [2505:1026/090323.363873:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
0|MagicMir | [2024-10-26 09:03:28.184] [ERROR] [MMM-DynamicWeather] Failed getting api: AggregateError [ETIMEDOUT]:
0|MagicMir | at internalConnectMultiple (node:net:1117:18)
0|MagicMir | at internalConnectMultiple (node:net:1185:5)
0|MagicMir | at Timeout.internalConnectMultipleTimeout (node:net:1711:5)
0|MagicMir | at listOnTimeout (node:internal/timers:575:11)
0|MagicMir | at process.processTimers (node:internal/timers:514:7) {
0|MagicMir | code: 'ETIMEDOUT',
0|MagicMir | [errors]: [
0|MagicMir | Error: connect ETIMEDOUT 38.89.70.158:443
0|MagicMir | at createConnectionError (node:net:1647:14)
0|MagicMir | at Timeout.internalConnectMultipleTimeout (node:net:1706:38)
0|MagicMir | at listOnTimeout (node:internal/timers:575:11)
0|MagicMir | at process.processTimers (node:internal/timers:514:7) {
0|MagicMir | errno: -110,
0|MagicMir | code: 'ETIMEDOUT',
0|MagicMir | syscall: 'connect',
0|MagicMir | address: '38.89.70.158',
0|MagicMir | port: 443
0|MagicMir | },
0|MagicMir | Error: connect ENETUNREACH 2604:86c0:5001:b::2:443 - Local (:::0)
0|MagicMir | at internalConnectMultiple (node:net:1181:16)
0|MagicMir | at Timeout.internalConnectMultipleTimeout (node:net:1711:5)
0|MagicMir | at listOnTimeout (node:internal/timers:575:11)
0|MagicMir | at process.processTimers (node:internal/timers:514:7) {
0|MagicMir | errno: -101,
0|MagicMir | code: 'ENETUNREACH',
0|MagicMir | syscall: 'connect',
0|MagicMir | address: '2604:86c0:5001:b::2',
0|MagicMir | port: 443
0|MagicMir | }
0|MagicMir | ]
0|MagicMir | }
Config code for this module is:
{module: 'MMM-DynamicWeather', // https://github.com/scottcl88/MMM-DynamicWeather
disabled: false,
position: "fullscreen_above",
config: {
apiKey: "123456789xxx", // 19 Sep 2024 Ver 3
lat: "12.34567", lon: "-123.4567, // Hometown
weatherInterval: 600000, // 10 minutes
hideFlower: false, //display animation at the bottom of a flower growing if the current weather is >
realisticClouds: true,
}
},
Any ideas on troubleshooting this?