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.
    • istepgueuI Offline
      istepgueu @morozgrafix
      last edited by

      Hi @morozgrafix
      Can you integrate this RSS (it’s French daily horoscope) in your module ?
      https://www.horoscope.fr/rss/horoscope/jour
      Thanks à lot !

      Stephane.

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

        @istepgueu I will look into it. may need some help with translations.

        Just quickly glanced at it and it seems that RSS feed doesn’t have complete text of the horoscopes only partial information. I’m not sure how useful it would be when displayed on the MM

        For example here is the text from RSS feed

        Amour : 31 01 2017 Vous aimeriez bien vous changer les idées auprès de votre...<br>Travail : 31 01 2017 Une bonne stratégie vous évitera de perdre du temps dans des...<br>Vitalité : 31 01 2017 Avec Mars dans votre secteur d'ombre, vous ne serez pas à l'abri d'un...<br>Humeur : 31 01 2017 Vous ferez de votre mieux pour ne pas prendre les choses qui n'en valent...<br /><a href="https://www.horoscope.fr/horoscopes/horoscope_taureau.html" title="Horoscope du taureau">Horoscope du taureau</a> ou visitez ce site : <a href="http://www.voyanceprivee.org" title="voyanceprivee.org" rel="nofollow">voyanceprivee.org</a>
        

        It would look like this (after some formatting):

        Amour : 31 01 2017 Vous aimeriez bien vous changer les idées auprès de votre...
        Travail : 31 01 2017 Une bonne stratégie vous évitera de perdre du temps dans des...
        Vitalité : 31 01 2017 Avec Mars dans votre secteur d'ombre, vous ne serez pas à l'abri d'un...
        Humeur : 31 01 2017 Vous ferez de votre mieux pour ne pas prendre les choses qui n'en valent...
        
        1 Reply Last reply Reply Quote 0
        • istepgueuI Offline
          istepgueu
          last edited by

          Hummm yes, the sentences are truncated.
          I will try to find another stream more clear and comprehensive.
          Thank you very much for the quick response

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

            @istepgueu no problem. Let me know if you find something that can be used.

            1 Reply Last reply Reply Quote 0
            • 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
                        • 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