Read the statement by Michael Teeuw here.
MMM-horoscope - daily horoscope
-
@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-horoscope
folder and rename it toMMM-horoscope2
Open theMMM-horoscope.js
file and change the lineModule.register("MMM-horoscope",{
toModule.register("MMM-horoscope2",{
Save it, and then rename
MMM-horoscope.js
toMMM-horoscope2.js
Then in your config change one of the module names from
MMM-horoscope
toMMM-horoscope2
Now 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" },
-
@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.
-
@Mykle1 Yes, I added it - the Problem is that all horoscopes (zodiacs) are shown. I want only see one of them. It`s a rss-feed (xml).