Getting started with Raspberry Pi SD-card image

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
tonynelson
Starting Member
Starting Member
Posts: 4
Joined: Fri Mar 14, 2014 2:28 am

Getting started with Raspberry Pi SD-card image

Post by tonynelson »

Hi all,

I've downloaded and installed on an SD-card the Raspberry Pi image from the Downloads page here:
drive.google.com/uc?export=download& ... GZZRTZyNW8

I assumed that this image would have completed the "Installation" phases of the setup so I skipped the "Installation" instructions and went to "First Time Setup", as described here:
domotiga.nl/projects/domotiga/wiki/Domo ... Time_Setup

Unfortunately I hit problems from the first line, as my instruction to execute "./DomotiGa3.gambas" returned an error stating "Cannot connect to X server".

Can anyone tell me which point in the instructions I need to start with the SD-card image?

Any guidance much appreciated.

Tony.
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: Getting started with Raspberry Pi SD-card image

Post by wwolkers »

The SD-card image only runs the server part, no graphical user interface, so you will not be able to start DomotiGa3.gambas, but DomotiGaServer3.gambas will be started automatically.
You should be able to connect to the webinterface from any other PC.

You could install VNC if you want and connect that way, to be able to run the DomotiGa GUI, or you can run a full desktop on the Raspberry, whichever you prefer.
tonynelson
Starting Member
Starting Member
Posts: 4
Joined: Fri Mar 14, 2014 2:28 am

Re: Getting started with Raspberry Pi SD-card image

Post by tonynelson »

Thanks for that.

I'm going to follow these instructions and do the install manually so I can get both server and client.

domotiga.nl/projects/domotiga/wiki/Hard ... spberry-Pi

Any good reason why the SD card image doesn't include the client? Is it a question of the Pi lacking the necessary grunt?

Cheers,

Tony
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Getting started with Raspberry Pi SD-card image

Post by uAlex73 »

The image has everything onboard, but the GUI (X-windows) isn't enabled by default. To change it, follow the following steps:

1) ssh to the pi, "ssh pi@<ip>"
2) Execute then:
sudo /bin/bash
update-rc.d domotigaserver3 disable
3) Enable X:
raspi-config and enable "3 Enable Boot to Desktop/Scratch" - Choose "Desktop" - Click on "yes" when it asks to reboot

Now it will reboot with the Desktop and you can start DomotiGa, it is located in "/home/pi/domotiga".
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Getting started with Raspberry Pi SD-card image

Post by uAlex73 »

BTW: In the next Pi image, i will make this clearer :-)
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
tonynelson
Starting Member
Starting Member
Posts: 4
Joined: Fri Mar 14, 2014 2:28 am

Re: Getting started with Raspberry Pi SD-card image

Post by tonynelson »

Brilliant. Thanks.
joy123
Starting Member
Starting Member
Posts: 3
Joined: Sat Oct 20, 2012 11:02 pm

Re: Getting started with Raspberry Pi SD-card image

Post by joy123 »

@uAlex73 I did follow ur instruction. When I try to domotiga.gambas3 still getting same error. Can somebody tell me how to start web client plz
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: Getting started with Raspberry Pi SD-card image

Post by wwolkers »

huh?
So you are saying that you added the GUI, and you are starting DomotiGa3.gambas, and getting the error that it cannot connect to the X server?

You are trying this locally on the pi, from the GUI, right?
Post Reply

Return to “DomotiGa Forum”