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-Astro [formly MMM-Astrology]

    Scheduled Pinned Locked Moved Entertainment
    13 Posts 5 Posters 6.4k Views 5 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.
    • justjim1220J Offline
      justjim1220 Module Developer @cowboysdude
      last edited by

      @cowboysdude

      Great Improvement!!!

      But, of course, you seem to always strive for excellence! :winking_face:

      "Life's Too Short To Dance With Ugly People"
      Jim Hallock - 1995

      Mykle1M 1 Reply Last reply Reply Quote 2
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @justjim1220
        last edited by

        @justjim1220 said in MMM-Astro [formly MMM-Astrology]:

        But, of course, you seem to always strive for excellence!

        Doesn’t he just make you sick? :-)

        Create a working config
        How to add modules

        justjim1220J 1 Reply Last reply Reply Quote 0
        • justjim1220J Offline
          justjim1220 Module Developer @Mykle1
          last edited by

          @mykle1

          Yes Sir! :slightly_smiling_face:

          I sure wish I could do the things he does! :upside-down_face:

          "Life's Too Short To Dance With Ugly People"
          Jim Hallock - 1995

          1 Reply Last reply Reply Quote 0
          • WasupDudeW Offline
            WasupDude Banned
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • WasupDudeW Offline
              WasupDude Banned
              last edited by

              wow, that’s interesting, it’s king of numerology

              1 Reply Last reply Reply Quote 0
              • J Offline
                julien-vancouver
                last edited by

                Hey Thanks for another great module ( I know this one has been around for a while.)

                Quick question.

                Is it possible to have it display more than one star sign?

                I remember reading somewhere, someone had a module where you could put the signs into an array and it would cycle through those signs.
                sign: [“pisces”,“scorpio”]

                Just wondering if there is similar capability here, as I didn’t see it in the doco on your github.

                Mykle1M 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @julien-vancouver
                  last edited by

                  @julien-vancouver

                  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
                   		             }
                          },
                  

                  Create a working config
                  How to add modules

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    julien-vancouver @Mykle1
                    last edited by julien-vancouver

                    @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.

                    Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @julien-vancouver
                      last edited by

                      @julien-vancouver

                      You know what? You’re right. I didn’t notice that when I tried it. My bad

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • cowboysdudeC Offline
                        cowboysdude Module Developer @julien-vancouver
                        last edited by

                        @julien-vancouver Let me look at it.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          julien-vancouver
                          last edited by

                          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)

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            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