Read the statement by Michael Teeuw here.
MMM-Astro [formly MMM-Astrology]
-
I tried putting multiple signs into an array. That does not work.
However, I tried adding a second config entry with different signs and that worked.
{ disabled: false, module: 'MMM-Astro', position: 'top_right', config: { sign: "pisces", iconset: "1", extend: false } }, { disabled: false, module: 'MMM-Astro', position: 'bottom_right', config: { sign: "taurus", iconset: "1", extend: false } },
-
@mykle1
I tried putting two signs in seperate modules like you.
I got updated star sign labels for both, but the text in the horoscope was the same in both. -
You know what? You’re right. I didn’t notice that when I tried it. My bad
-
@julien-vancouver Let me look at it.
-
Just recently something else changed…
I remove this following module from config.js and everything works fine - no errors.
I put the following in, and error.This was copied from your github, with only sign & iconset changed.
config.js
…
{
disabled: false,
module: ‘MMM-Astro’,
position: ‘top_right’,
config: {
sign: “aquarius”,
iconset: “2”,
extend: true
}
},
…/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMirror | [04.04.2021 09:40.04.879] [ERROR]
0|MagicMirror | Whoops! There was an uncaught exception…
0|MagicMirror | [04.04.2021 09:40.04.974] [ERROR]
0|MagicMirror | SyntaxError: Unexpected token t in JSON at position 1311
0|MagicMirror | at JSON.parse ()
0|MagicMirror | at Class.start (/home/pi/MagicMirror/modules/MMM-Astro/node_helper.js:27:29)
0|MagicMirror | at /home/pi/MagicMirror/js/app.js:232:18
0|MagicMirror | at new Server (/home/pi/MagicMirror/js/server.js:93:3)
0|MagicMirror | at /home/pi/MagicMirror/js/app.js:226:20
0|MagicMirror | at loadNextModule (/home/pi/MagicMirror/js/app.js:171:5)
0|MagicMirror | at /home/pi/MagicMirror/js/app.js:166:6
0|MagicMirror | at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
0|MagicMirror | at loadModule (/home/pi/MagicMirror/js/app.js:143:6)
0|MagicMirror | at loadNextModule (/home/pi/MagicMirror/js/app.js:164:5)