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-horoscope - daily horoscope

    Scheduled Pinned Locked Moved Entertainment
    25 Posts 11 Posters 20.9k Views 9 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.
    • M Offline
      Maxzovirax
      last edited by

      Hello, I am trying to have 2 horoscopes run on the mirror, one foe my wife and one for my daughter, unfortunately if I repeat the module twice in the config.jf file it will only display the text of the first loaded horoscope. That is twice the Leo sign. Is there a way to have two. My plan is to use the the scheduler ot the profile switcher on a later date. I hope it is possible. that would be the last touch to my mirror.

      morozgrafixM 1 Reply Last reply Reply Quote 0
      • morozgrafixM Offline
        morozgrafix Moderator @Maxzovirax
        last edited by

        @Maxzovirax Good point. It will not work with 2 modules running simultaneously because they both will pick up same broadcast message from node_helper.js. I wonder if modification of the module to allow display of multiple horoscope predictions in the same module would be sufficient. It will take a bit of time to do that modification and I’m going on a small vacation tomorrow. I will think on how it can be addressed. Thanks for bringing it up.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Maxzovirax @morozgrafix
          last edited by

          @morozgrafix Thank you for you quick reply… Verry nice of you to have a look at it, will look forward to a solution… have a nice holiday (going skiing?)

          brobergB 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor @Maxzovirax
            last edited by

            @Maxzovirax A quick fix might be to

            Copy the MMM-horoscope folder and rename it to MMM-horoscope2
            Open the MMM-horoscope.js file and change the lineModule.register("MMM-horoscope",{
            to Module.register("MMM-horoscope2",{

            Save it, and then rename MMM-horoscope.js to MMM-horoscope2.js

            Then in your config change one of the module names from MMM-horoscope to MMM-horoscope2

            Now reboot the MM2

            If it doesn’t work, delete the copied folder, change your config back and wait for morozgrafix

            M 3 Replies Last reply Reply Quote 0
            • M Offline
              Maxzovirax @broberg
              last edited by

              @broberg Good idea, should have thought of that myself :-) , will give it a go and tell

              1 Reply Last reply Reply Quote 0
              • M Offline
                Maxzovirax @broberg
                last edited by

                @broberg That does it … but would still be nicer in a single module… Thanks :-) my girls will be happy

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Maxzovirax @broberg
                  last edited by

                  @broberg also you need to change the css file to the same module name ref. otherwize the format of the second horoscope will not look nice !

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    Iseknutz @morozgrafix
                    last edited by

                    @morozgrafix I found this thread while I’m searching for some possibilities to show a German horoscope. I tried to reuse the newsfeed module, but javascript is not my friend ;) I found a source to a German rss feed at t-online. Now I cant post the link, the forum marks it as spam. Are you interested, can I send you the link via PM?

                    Mykle1M morozgrafixM 2 Replies Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @Iseknutz
                      last edited by Mykle1

                      @Iseknutz said in MMM-horoscope - daily horoscope:

                      I found a source to a German rss feed

                      Did you try adding it to the config entry of the newsfeed module? If the link is to an .ics file then there is a strong possibility that it will work, assuming the ics link is valid.

                      Try adding this to your config entry for calendar, above or below the default

                      {
                      symbol: "calendar-check-o ",
                      url: "webcal://www.YOUR-LINK.com/blahblah/ical/The-ICS-FILE-NAME.ics"
                      },
                      

                      Create a working config
                      How to add modules

                      I 1 Reply Last reply Reply Quote 1
                      • morozgrafixM Offline
                        morozgrafix Moderator @Iseknutz
                        last edited by

                        @Iseknutz I haven’t touched that code in about 9 months. I can certainly look at the URL and see if that can be implemented.

                        I 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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