Why won't my events work without Internet connection?

Moderator: leecollings

Post Reply
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Why won't my events work without Internet connection?

Post 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?
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

Re: Why won't my events work without Internet connection?

Post 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.
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Why won't my events work without Internet connection?

Post 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!
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

Re: Why won't my events work without Internet connection?

Post 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.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Why won't my events work without Internet connection?

Post by Egregius »

How can you not connect your Pi to the net? How do you update Domoticz and the OS?
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

Re: Why won't my events work without Internet connection?

Post 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 :)
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Why won't my events work without Internet connection?

Post 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!
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest