Page 1 of 1

Using domoticz without internet connection

Posted: Saturday 13 June 2020 11:20
by Paul92
Hi all,

At home I'm running a Pi3+ with Domoticz for quite a while, added different hardware, scripts, etc.
For this setup everything is connected to the internet, accessible by phone, as 'usual'.

For another project I purchased a Pi4B with the raspberry 7"touch screen.
Goal is to implement and run Domoticz where no internet connection available. Therefore I decided to purchase the touch screen so I have a local control. Via the GPUI pins of the raspberry I want to switch relay contacts for devices(also purchased a relay board for this compatible with Pi).

Can you help /advise me how to set up the pi for this application?
Ofcourse I have an internet connection available during setup and programming. But not during final use.

Best regards and thanks in advance
Paul

Re: Using domoticz without internet connection

Posted: Saturday 13 June 2020 11:45
by waaren
Paul92 wrote: Saturday 13 June 2020 11:20 Can you help /advise me how to set up the pi for this application?
Ofcourse I have an internet connection available during setup and programming. But not during final use.
domoticz does not need an active internet connection to run once it is installed. No special settings should be needed to achieve that.

Re: Using domoticz without internet connection

Posted: Saturday 13 June 2020 12:11
by Paul92
waaren wrote: Saturday 13 June 2020 11:45
Paul92 wrote: Saturday 13 June 2020 11:20 Can you help /advise me how to set up the pi for this application?
Ofcourse I have an internet connection available during setup and programming. But not during final use.
domoticz does not need an active internet connection to run once it is installed. No special settings should be needed to achieve that.
If all the automation is inside it can function without internet.
Maybe my explanation was not completely correct...
But what I also would like is that I can visualize the domoticz interface on the touch screen, so I can do some manual actions and control switches.
If there is no internet connection available it shows domoticz offline when entering the IP.

Re: Using domoticz without internet connection

Posted: Saturday 13 June 2020 12:18
by foxmulder06
Hi,

Both Domoticz Server equipment AND your equipment with a touch screen should be connected on the SAME LAN.

Even without any internet connection, one equipment could see and connect to another local LAN equipement, by using it LOCAL IP adresse like http://192.168.1.xxx for example

Regards

Re: Using domoticz without internet connection

Posted: Saturday 13 June 2020 14:03
by Paul92
But I have no Wifi or LAN connection available (complete stand alone system: raspberry, raspberry touch screen end relay modules).
Then the raspberry doesn't receive an IP adress. Correct?
What I need is a stand alone system with domoticz dashboard visualized.

Re: Using domoticz without internet connection

Posted: Saturday 13 June 2020 15:15
by waaren
Paul92 wrote: Saturday 13 June 2020 14:03 But I have no Wifi or LAN connection available (complete stand alone system: raspberry, raspberry touch screen end relay modules).
Then the raspberry doesn't receive an IP adress. Correct?
What I need is a stand alone system with domoticz dashboard visualized.
It will not receive an external IP address but will still have 127.0.0.1 (localhost)

Re: Using domoticz without internet connection

Posted: Saturday 13 June 2020 16:22
by FireWizard
Hi,

Perhaps you should look at https://www.domoticz.com/forum/viewtopic.php?t=8678

Regards

Re: Using domoticz without internet connection

Posted: Sunday 14 June 2020 23:45
by Paul92
waaren wrote: Saturday 13 June 2020 15:15
Paul92 wrote: Saturday 13 June 2020 14:03 But I have no Wifi or LAN connection available (complete stand alone system: raspberry, raspberry touch screen end relay modules).
Then the raspberry doesn't receive an IP adress. Correct?
What I need is a stand alone system with domoticz dashboard visualized.
It will not receive an external IP address but will still have 127.0.0.1 (localhost)
That's it! Didn't know this. Thanks

Re: Using domoticz without internet connection

Posted: Sunday 14 June 2020 23:46
by Paul92
FireWizard wrote: Saturday 13 June 2020 16:22 Hi,

Perhaps you should look at https://www.domoticz.com/forum/viewtopic.php?t=8678

Regards
Thanks! This is also usefull!

Re: Using domoticz without internet connection

Posted: Friday 19 June 2020 21:21
by solarboy
You'll need a real-time-clock such as the Adafruit, as Rpi gets it's time from the internet. I have fitted this and it works well.

Re: Using domoticz without internet connection

Posted: Friday 19 June 2020 21:41
by waaren
solarboy wrote: Friday 19 June 2020 21:21 You'll need a real-time-clock such as the Adafruit, as Rpi gets it's time from the internet. I have fitted this and it works well.
although handy it's not required. You can set the data/time manually after reboot.

Re: Using domoticz without internet connection

Posted: Friday 26 June 2020 1:22
by solarboy
Kind of defeats "automation" though no?