Page 1 of 1
Why won't my events work without Internet connection?
Posted: Wednesday 10 August 2016 23:29
by markk
I've got no internet in my house at the moment. Engineer visit due tomorrow. I have Domoticz running on a raspberry pi and I know it's still running as all my timers are still working and switching lights on at dusk, off at dawn etc. However, no Events are working. Even those that I'd think wouldn't need an Internet connection. Ie if PIR triggered turn switch X on. It's got me really confused. Am I missing something?
Re: Why won't my events work without Internet connection?
Posted: Thursday 11 August 2016 11:01
by D'rMorris
The RPi does not have a RTC (real time clock). That means it needs internet to connect to a NTP to get the time from (based on your locale). To have the time accurate, you need a RTC, read also
here and buy something like
this.
Re: Why won't my events work without Internet connection?
Posted: Thursday 11 August 2016 13:34
by markk
Well that has confused me even more. I would have thought it would be the other way around. The event "if PIR1 = On set light1 = On", doesn't need to know what the time does it? but that isn't working. The timer on my blind switch to open them at sunrise and close them at sunset does need to know the time but the blinds are opening and closing!
Re: Why won't my events work without Internet connection?
Posted: Friday 12 August 2016 9:58
by D'rMorris
Perhaps Domoticz uses the last know time to do this? Are they opening / closing every day at the same time? Since sunrise / sunset are not on the same time every day, your blinds should open/close at different times. Perhaps you can check this?
I also have a Pi at home that is not connected to the internet and what I noticed is that when the Pi is off, the time is indeed not updated. So my Pi is now 3 months behind the actual date/time.
It is strange though that your PIR / lights do not work because of that though.
Re: Why won't my events work without Internet connection?
Posted: Friday 12 August 2016 10:26
by Egregius
How can you not connect your Pi to the net? How do you update Domoticz and the OS?
Re: Why won't my events work without Internet connection?
Posted: Friday 12 August 2016 11:50
by D'rMorris
I have a Pi that is used in a demo kit, for which no internet connection is needed. I only connect it once every few weeks to update the OS / Domoticz

Re: Why won't my events work without Internet connection?
Posted: Friday 12 August 2016 13:29
by markk
Thanks for your replies. My internet is now working again (new router needed) so this isn't an issue for me anymore. I am still baffled as to why events wouldn't work whilst I was "off air" and timers would though!