Zodiac

Since using OH3 the Astro Binding, gives a Wrong zodiac.

Welcome @Tonysweb

it would be helpfull if you would give some more context to your question.

  • How your thing- / item-configuration looks like?
  • What is the expected and what is the current output of the astro zodiac channel?
  • Did you set-up your geo-location?

It works fine here.

Dear,

I see “Pisces” and it should be “Capricorn”

The geo-location is set see pictures:

Best regards,

Tony

Ok, I see - you can fix this by using the Astro Sun Data Thing Type instead of Astro Moon Data.

Even after reading a bit about the differences between the sun- and moon-sign, I don’t get it. But I don’t want to, to be honest. :smiley:

If you’re interested in this, you can find a calculator for your moon-sign here

Dear,

When I reassign the item to the zodiac thing (12:55:59) I get de correct zodiac, but only for 5 minutes until 13:00:30 then it goes back to the wrong zodiac and stay there.

Groetjes.

Tony

Dear,

I changed it several times between sun and moon, but the same result on both.

Groetjes.

Tony

Dear,

Same problem with the Moon_Age it switches every 5 minutes automatically.

2021-01-17 13:05:30.628 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 52.21384382481341 to 4

2021-01-17 13:05:30.633 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 4 to 52.25609238135474

2021-01-17 13:05:30.637 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Illum’ changed from 19.659581797286872 to 19.687262616851285

2021-01-17 13:05:58.341 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T13:04:58.324+0100 to 2021-01-17T13:05:58.327+0100

2021-01-17 13:06:58.343 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T13:05:58.327+0100 to 2021-01-17T13:06:58.330+0100

2021-01-17 13:07:58.347 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T13:06:58.330+0100 to 2021-01-17T13:07:58.333+0100

2021-01-17 13:08:58.350 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T13:07:58.333+0100 to 2021-01-17T13:08:58.336+0100

2021-01-17 13:09:58.352 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T13:08:58.336+0100 to 2021-01-17T13:09:58.339+0100

2021-01-17 13:10:30.594 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 52.25609238135474 to 4

2021-01-17 13:10:30.599 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 4 to 52.29833896634277

Groetjes.

Tony

It seems, you’ve used the UI to install and set-up the astro binding, right?

So you have 2 things in your Things overview, like this - one for the moon, and one for the sun-data?

Click on the Thing for the sun-data and switch to the Channels tab → scroll down to the zodiac group and open the channel zodiac#sign

Is your item linked there?

right I’ve used the UI to install and set-up the astro binding

the moon, and the sun-data are online like your picture

and my item is linked to the zodiac_sun

it stay’s right for 5 minutes and then it switches to pisces

2021-01-17 15:26:31.333 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Zodiac_Sign’ changed from PISCES to CAPRICORN

2021-01-17 15:26:58.968 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T15:25:58.946+0100 to 2021-01-17T15:26:58.949+0100

2021-01-17 15:27:58.971 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T15:26:58.949+0100 to 2021-01-17T15:27:58.952+0100

2021-01-17 15:28:58.974 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T15:27:58.952+0100 to 2021-01-17T15:28:58.955+0100

2021-01-17 15:29:58.977 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T15:28:58.955+0100 to 2021-01-17T15:29:58.958+0100

2021-01-17 15:30:58.979 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T15:29:58.958+0100 to 2021-01-17T15:30:58.960+0100

2021-01-17 15:31:13.570 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 53.445080411209695 to 4

2021-01-17 15:31:13.575 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 4 to 53.48732615124631

2021-01-17 15:31:13.579 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Illum’ changed from 20.471157167465925 to 20.49918058729942

2021-01-17 15:31:13.583 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Zodiac_Sign’ changed from CAPRICORN to PISCES

Best regards

Tony

Hmm, maybe this is some caching issue - maybe try to restart openhab and clear your browser cache.

1 Like

Directly on startup it changes to the wrong zodiac after startup and clear cache from my browser.

2021-01-17 16:02:08.110 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘darksky:weather-and-forecast:83eebd1078:09427cb8d1’ changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2021-01-17 16:02:08.273 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘darksky:weather-api:83eebd1078’ changed from UNINITIALIZED to INITIALIZING

2021-01-17 16:02:08.291 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Zodiac_Sign’ changed from NULL to CAPRICORN

2021-01-17 16:02:08.311 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Season_Name’ changed from NULL to WINTER

2021-01-17 16:02:08.396 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘darksky:weather-api:83eebd1078’ changed from INITIALIZING to UNKNOWN

2021-01-17 16:02:08.814 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘astro:moon:local’ changed from UNINITIALIZED to INITIALIZING

2021-01-17 16:02:08.823 [INFO ] [openhab.event.InboxAddedEvent ] - Discovery Result with UID ‘darksky:weather-and-forecast:83eebd1078:local’ has been added.

2021-01-17 16:02:08.878 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘astro:moon:local’ changed from INITIALIZING to ONLINE

==> /var/log/openhab/openhab.log <==

2021-01-17 16:02:09.274 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:moon:local every 300 seconds

==> /var/log/openhab/events.log <==

2021-01-17 16:02:09.091 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moonrise_Time’ changed from NULL to 2021-01-17T11:04:00.000+0100

2021-01-17 16:02:09.108 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moonset_Time’ changed from NULL to 2021-01-17T22:03:00.000+0100

2021-01-17 16:02:09.320 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 53.69856400506971 to 4

2021-01-17 16:02:09.325 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 4 to 53.74862864385298

2021-01-17 16:02:09.330 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Illum’ changed from 20.639477607107885 to 20.672771057607097

2021-01-17 16:02:09.335 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Phase_Name’ changed from NULL to WAXING_CRESCENT

2021-01-17 16:02:09.340 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Zodiac_Sign’ changed from CAPRICORN to PISCES

2021-01-17 16:02:09.485 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 53.74862864385298 to 4

2021-01-17 16:02:09.556 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 4 to 53.74867075059851

2021-01-17 16:02:09.571 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘darksky:weather-and-forecast:83eebd1078:09427cb8d1’ changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2021-01-17 16:02:09.576 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Illum’ changed from 20.672771057607097 to 20.672799063216445

2021-01-17 16:02:11.615 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘darksky:weather-and-forecast:83eebd1078:09427cb8d1’ changed from INITIALIZING to UNKNOWN

Groetjes.

Tony

I changed the zodiac item to text in the etc/openHAB/items/default.items file with the following parameters:

String Zodiac_Sign “Sterrenbeeld [MAP(zodiac.map):%s]” { channel=“astro:sun:local:zodiac#sign” }

The result is the same:

==> /var/log/openhab/events.log <==

2021-01-17 16:39:55.998 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Zodiac_Sign’ changed from NULL to CAPRICORN

2021-01-17 16:40:06.674 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T16:39:06.646+0100 to 2021-01-17T16:40:06.650+0100

2021-01-17 16:41:06.676 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T16:40:06.650+0100 to 2021-01-17T16:41:06.654+0100

2021-01-17 16:42:06.678 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T16:41:06.654+0100 to 2021-01-17T16:42:06.658+0100

2021-01-17 16:42:09.414 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 54.04440233769891 to 4

2021-01-17 16:42:09.447 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Age’ changed from 4 to 54.08664976763836

2021-01-17 16:42:09.452 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Moon_Illum’ changed from 20.869791391431153 to 20.897978794203105

2021-01-17 16:42:09.457 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Zodiac_Sign’ changed from CAPRICORN to PISCES

2021-01-17 16:43:06.684 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘NTPServer_Date’ changed from 2021-01-17T16:42:06.658+0100 to 2021-01-17T16:43:06.665+0100

The only deference I can see with your parameters is:

My things are “astro:sun:local” yours are “astro:sun:lhome”

Groetjes.

Tony

This sounds contradictory to me - did you used the UI AND the textual definition to set up your files? This shouldn’t be done, at least not for the same binding, as it could confuse the system and might produce doubled values which could lead to the behaviour you describe.

Maybe it would be a good idea to wipe the current configuration and start from scratch with this binding with only one approch - either the user-interface OR textual-definitions.

After that, I’m out of ideas, what could be wrong in your setup.

No I just made 1 item in the items file for testing, before everything was configured in the UI.

Thanks for your time, I will try to find out what’s wrong.

Groetjes.

Tony

Dear,

Complete new installation of openhabian 3, problem solved.

So we will never find a reason.

Best Regards

Tony

1 Like

Hello, I habe the same Problem. Since using OH3 the Astro Binding, gives a Wrong zodiac. I can not solve the Problem .

I solved the problem with a complete new installation of openhabian.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.