{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/2761","labels_url":"https://api.github.com/repos/openhab/openhab/issues/2761/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/2761/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/2761/events","html_url":"https://github.com/openhab/openhab/issues/2761","id":89424524,"number":2761,"title":"Problem with astro binding - events not fired","user":{"login":"dtriphaus","id":3583268,"avatar_url":"https://avatars.githubusercontent.com/u/3583268?v=3","gravatar_id":"","url":"https://api.github.com/users/dtriphaus","html_url":"https://github.com/dtriphaus","followers_url":"https://api.github.com/users/dtriphaus/followers","following_url":"https://api.github.com/users/dtriphaus/following{/other_user}","gists_url":"https://api.github.com/users/dtriphaus/gists{/gist_id}","starred_url":"https://api.github.com/users/dtriphaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtriphaus/subscriptions","organizations_url":"https://api.github.com/users/dtriphaus/orgs","repos_url":"https://api.github.com/users/dtriphaus/repos","events_url":"https://api.github.com/users/dtriphaus/events{/privacy}","received_events_url":"https://api.github.com/users/dtriphaus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-06-18T23:37:59Z","updated_at":"2015-07-22T19:05:59Z","closed_at":"2015-07-22T19:05:59Z","body":"Hi,\r\ni am using the astro-binding to control my rollershutters. After a restart the binding works, but suddenly it stops to work, sometimes it takes some days, sometimes only one day till the events (sunrise, sunset) do not get executed anymore. I switched the binding loglevel to DEBUG and here is what it says (hint: restart was yesterday, first sunrise event this morning got fired, sunset this evening not fired...):\r\n\r\nOpenHAB startup yesterday \r\n**from openhab.log:**\r\n2015-06-17 23:52:19.032 DEBUG o.o.b.a.i.bus.AstroActivator[:32]- Astro binding has been started.\r\n...\r\n2015-06-17 23:52:19.158 DEBUG o.o.b.a.i.b.AstroGenericBindingProvider[:60]- Adding item Rollershutter_Down_Time with AstroBindingConfig[planet=sun,type=set,property=end,offset=30]\r\n2015-06-17 23:52:19.160 DEBUG o.o.b.a.i.b.AstroGenericBindingProvider[:60]- Adding item Rollershutter_Down_Event with AstroBindingConfig[planet=sun,type=set,property=end,offset=30]\r\n2015-06-17 23:52:19.162 DEBUG o.o.b.a.i.b.AstroGenericBindingProvider[:60]- Adding item Rollershutter_Up_Time with AstroBindingConfig[planet=sun,type=rise,property=start,offset=-10]\r\n2015-06-17 23:52:19.164 DEBUG o.o.b.a.i.b.AstroGenericBindingProvider[:60]- Adding item Rollershutter_Up_Event with AstroBindingConfig[planet=sun,type=rise,property=start,offset=-10]\r\n...\r\n2015-06-17 23:52:21.087 INFO  o.o.b.a.i.bus.AstroBinding[:70]- AstroConfig[latitude=XXXXXXX,longitude=XXXXXXX,interval=60,systemTimezone=Europe/Berlin (MEZ +0200),daylightSavings=true]\r\n2015-06-17 23:52:24.100 INFO  o.o.b.a.i.job.JobScheduler[:150]- Scheduled a daily job at midnight for astro calculation\r\n2015-06-17 23:52:24.112 INFO  o.o.b.a.i.job.JobScheduler[:169]- Scheduled astro job with interval of 60 seconds\r\n2015-06-17 23:52:24.128 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro DailyJob\r\n....\r\n2015-06-18 00:00:06.389 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro DailyJob\r\n...\r\n2015-06-18 05:01:00.173 DEBUG o.o.b.a.i.job.AbstractBaseJob[:38]- Starting Astro ItemJob for item Rollershutter_Up_Event\r\n...\r\n2015-06-18 16:55:24.112 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro IntervalJob\r\n2015-06-18 16:56:24.113 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro IntervalJob\r\n2015-06-18 16:57:24.112 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro IntervalJob\r\n2015-06-18 16:58:24.112 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro IntervalJob\r\n2015-06-18 16:59:24.112 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro IntervalJob\r\n2015-06-18 17:00:24.113 DEBUG o.o.b.a.i.job.AbstractBaseJob[:40]- Starting Astro IntervalJob\r\n\r\n**From 17:00:24 there are NO further log entries from asto-binding, so it seems it stopped working from here on!** \r\n\r\n**It's also what event.log says:**\r\n....\r\n2015-06-17 23:52:24 - Rollershutter_Down_Time state updated to 2015-06-17T22:24:00\r\n2015-06-17 23:52:24 - Rollershutter_Up_Time state updated to 2015-06-17T05:01:00\r\n2015-06-18 00:00:06 - Rollershutter_Down_Time state updated to 2015-06-18T22:24:00\r\n2015-06-18 00:00:06 - Rollershutter_Up_Time state updated to 2015-06-18T05:01:00\r\n...\r\n2015-06-18 05:01:00 - Rollershutter_Up_Event state updated to ON\r\n2015-06-18 05:01:00 - Rollershutter_Up_Event state updated to OFF\r\n...\r\n\r\nRollershutter_UP worked in the morning, Rollershutter_Down event was never fired (datetime was after 17:00:24, so it really seemed to stop working from then on!)\r\n\r\nSo, as you can see: \r\nThe binding starts up fine so i think no config error or am I missing something!? Maybe you can give me a hint what else I can do to figure out what causes the binding to stop work?\r\n\r\nHelp is very badly needed, this binding is essential for my setup :)\r\n\r\nThanks in advance!\r\nGreets \r\nDaniel"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/123829200","html_url":"https://github.com/openhab/openhab/issues/2761#issuecomment-123829200","issue_url":"https://api.github.com/repos/openhab/openhab/issues/2761","id":123829200,"user":{"login":"dtriphaus","id":3583268,"avatar_url":"https://avatars.githubusercontent.com/u/3583268?v=3","gravatar_id":"","url":"https://api.github.com/users/dtriphaus","html_url":"https://github.com/dtriphaus","followers_url":"https://api.github.com/users/dtriphaus/followers","following_url":"https://api.github.com/users/dtriphaus/following{/other_user}","gists_url":"https://api.github.com/users/dtriphaus/gists{/gist_id}","starred_url":"https://api.github.com/users/dtriphaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtriphaus/subscriptions","organizations_url":"https://api.github.com/users/dtriphaus/orgs","repos_url":"https://api.github.com/users/dtriphaus/repos","events_url":"https://api.github.com/users/dtriphaus/events{/privacy}","received_events_url":"https://api.github.com/users/dtriphaus/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T19:05:59Z","updated_at":"2015-07-22T19:05:59Z","body":"I think we can close this one then.\r\nThanks again for your help @gerrieg and @dominicdesu! "}}