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 23.3k 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.
    • morozgrafixM Offline
      morozgrafix Moderator
      last edited by morozgrafix

      Description:

      Horoscope Module for MagicMirror² v.0.1.0

      This is a module for MagicMirror² that adds daily horoscope pulled from the Yahoo Style Horoscopes. API endpoint used for this module is not officially supported and may break at any time.

      Initial request for it was by @YoungHomie and I thought that this would be a good opportunity to try creating my first module from scratch. (I’m pretty much clueless when it comes to horoscopes or anything related to astrology) Details are in the repo, feel free to file issues on github if you find bugs or have suggestions for features. It’s also easy get in touch with me through the forum.

      Screenshots:

      0_1484679661277_upload-d6cee937-2818-40c7-847c-45bacaf73ad0

      0_1484679621312_upload-00600749-1522-47a8-9e7d-d8749a2becec

      Download:

      [card:morozgrafix/MMM-horoscope]


      Version 0.1.0

      • Initial Work committed
      1 Reply Last reply Reply Quote 4
      • lolobyteL Offline
        lolobyte
        last edited by

        Hi, that’s only in English?

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

          @lolobyte At this point it is only in English, as I was only able to find one reliable API to pull data from. If you know of other API or possible RSS feeds in other languages I’m happy to look into integrating it as well.

          1 Reply Last reply Reply Quote 4
          • foxF Offline
            fox
            last edited by

            Thank you! Some german would be nice:-)

            Issues With MMM-WatchDog known?

            https://forum.magicmirror.builders/post/29827

            Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

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

              @fox If you know of a source for daily horoscope in German (preferably in API form, but RSS feed may also work) I’m happy to look into adding it to the module.

              I 1 Reply Last reply Reply Quote 0
              • P Offline
                pflnpi0305
                last edited by

                cant get mine to work, after i add this i get black screen. any help is appreciated

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

                  @pflnpi0305 are you getting any errors? Looks like you’ve posted your config in another thread, will help you there.

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

                                            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
                                            • 2
                                            • 1 / 2
                                            • 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