Please check your date, geolocation and transformation. You didn’t give much info to work with.
Another thing you can do to track down the problem is look at the log files for updates and errors. As you said you are new to openHAB(ian), here is what you might want to do (Zodiac is the item name I’m using, which is by all means not a good choice btw ):
[15:23:18] pi@openHABianPi:~$ grep "Zodiac" /var/log/openhab2/*
/var/log/openhab2/events.log.2:2017-01-19 02:13:59.494 [temChannelLinkRemovedEvent] - Link 'Zodiac => astro:sun:home:zodiac#sign' has been removed.
/var/log/openhab2/events.log.2:2017-01-19 02:14:00.486 [ItemRemovedEvent ] - Item 'Zodiac' has been removed.
/var/log/openhab2/events.log.2:2017-01-19 02:26:54.498 [ItemChannelLinkAddedEvent ] - Link 'Zodiac-astro:sun:home:zodiac#sign' has been added.
/var/log/openhab2/events.log.2:2017-01-19 02:29:51.522 [ItemStateChangedEvent ] - Zodiac changed from NULL to CAPRICORN
/var/log/openhab2/events.log.2:2017-01-20 00:00:00.212 [ItemStateChangedEvent ] - Zodiac changed from CAPRICORN to AQUARIUS
Side note: Looking at your sceenshot, I might want to upload my icons here…
well, I made a mistake as assumed: I tried { channel=“astro:moon:home:zodiac#sign” }, but obviously { channel=“astro:sun:home:zodiac#sign” } is the right syntax!
I know to less about the signs of zodiac (if based on ‘sun’ or ‘moon’…) Sorry for my inconvenience!
So, finally I’m happy and will go straigth forward with this marvelous project! I’m sure, it wasn’t the last time to request guidance. And I learned to provide code, etc. while asking for help - nobody knows the crystal ball Many thanks!
@ThomDietrich
I am working in the Astro binding with this example from you. Unfortunately i get errors on the astro.map file.
I think it is because of the icons in the file.
I tried to copy and past the contents of the astro.map direct from the webpage, and i also tried it with an other editor (Sc228.exe). Then i see some Java code included. But the icons remain question marks.
<code class="lang-java hljs"><span class="hljs-comment">//</span>
ARIES=? Ram
TAURUS=? Stier
GEMINI=? Tweeling
CANCER=? Kreeft
LEO=? Leeuw
VIRGO=? Maagd
LIBRA=? Weegschaal
SCORPIO=? Schorpioen
SAGITTARIUS=? Boogschutter
CAPRICORN=? Steenbok
AQUARIUS=? Waterman
PISCES=? Vissen
<span class="hljs-comment">//</span>
SPRING=Voorjaat
SUMMER=Zomer
AUTUMN=Herfst
WINTER=Winter
<span class="hljs-comment">//</span>
NEW=?? Nieuwe maand
WAXING_CRESCENT=????? wassende Halve maan
FIRST_QUARTER=?? eerste Kwartier
WAXING_GIBBOUS=????? wassende maan
FULL=?? Volle maan
WANING_GIBBOUS=????? abnehmender Mond
THIRD_QUARTER=?? laatste Kwartier
WANING_CRESCENT=????? afnemende Halve maan
<span class="hljs-comment">//</span>
NULL=unbekannt ?</code>
Can you advice me how to get the astro.map file correctly?
Hey @deltabert and @hakan,
I did not expect this to be a problem. The icons are Unicode symbols. Hence your files need to be in UTF8 encoding. Yours are probably ANSI.
Actually, my files are UTF-8, I created them with Emacs on Linux.
What I have discovered in the meantime is, the icons are shown nicely on the Android App, on the 3House App and the Paper UI. It’s just the Basic UI which fails to show the icons.
I will investigate this further and maybe open an issue on github,
Sorry, I was not fully clear on my message. The “AQUARIUS” icons are nice on my display too, but the “Mondphase” ones are broken. They show correctly on the Android App and Paper UI though. I have just verified with the “file” commando that all my files are correctly encoded as “UTF-8 Unicode text”.
If you look at your screenshots, you will notice that they show four <?> characters right next to “Mondphase” as well. Interestingly, your astro.map file displays them correctly.
Now that you point me to it, it is obvious. Yet another case of seeing only what I was looking for, but not the full text you have written
Would be nice as an experiment. Could you also add a pointer to where you got the “Moon” and Zodiac icons from? I only have broken images for those on my sitemap
Why experiment? We could just add dynamic icons to all Astro elements.
The problem is that I’m not sure where I got (or potentially stole) the icons from. So I’m a bit careful to post them publicly. But Hey, why don’t you check the URL of the map file I’ve posted above, maybe you’ll be lucky ;D