Read the statement by Michael Teeuw here.
MMM-horoscope - daily horoscope
-
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:


Download:
[card:morozgrafix/MMM-horoscope]
Version 0.1.0
- Initial Work committed
-
Hi, that’s only in English?
-
@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.
-
Thank you! Some german would be nice:-)
-
@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.
-
cant get mine to work, after i add this i get black screen. any help is appreciated
-
@pflnpi0305 are you getting any errors? Looks like you’ve posted your config in another thread, will help you there.
-
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.
-
@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... -
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 -
@istepgueu no problem. Let me know if you find something that can be used.
-
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.
-
@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. -
@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?)
-
@Maxzovirax A quick fix might be to
Copy the
MMM-horoscopefolder and rename it toMMM-horoscope2
Open theMMM-horoscope.jsfile and change the lineModule.register("MMM-horoscope",{
toModule.register("MMM-horoscope2",{Save it, and then rename
MMM-horoscope.jstoMMM-horoscope2.jsThen in your config change one of the module names from
MMM-horoscopetoMMM-horoscope2Now reboot the MM2
If it doesn’t work, delete the copied folder, change your config back and wait for morozgrafix
-
@broberg Good idea, should have thought of that myself :-) , will give it a go and tell
-
@broberg That does it … but would still be nicer in a single module… Thanks :-) my girls will be happy
-
@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 !
-
@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?
-
@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" },
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