Getting started with Raspberry Pi SD-card image

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Getting started with Raspberry Pi SD-card image

Postby tonynelson » Fri Mar 14, 2014 3:43 am

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.
tonynelson
Starting Member
Starting Member
 
Posts: 4
Joined: March 2014

Re: Getting started with Raspberry Pi SD-card image

Postby wwolkers » Fri Mar 14, 2014 11:38 am

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.
wwolkers
Member
Member
 
Posts: 273
Joined: September 2008
Location: Netherlands

Re: Getting started with Raspberry Pi SD-card image

Postby tonynelson » Sat Mar 15, 2014 10:31 am

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
tonynelson
Starting Member
Starting Member
 
Posts: 4
Joined: March 2014

Re: Getting started with Raspberry Pi SD-card image

Postby uAlex73 » Sat Mar 15, 2014 5:05 pm

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: January 2012

Re: Getting started with Raspberry Pi SD-card image

Postby uAlex73 » Sat Mar 15, 2014 5:06 pm

BTW: In the next Pi image, i will make this clearer :-)
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
uAlex73
Member
Member
 
Posts: 218
Joined: January 2012

Re: Getting started with Raspberry Pi SD-card image

Postby tonynelson » Sat Mar 15, 2014 11:36 pm

Brilliant. Thanks.
tonynelson
Starting Member
Starting Member
 
Posts: 4
Joined: March 2014

Re: Getting started with Raspberry Pi SD-card image

Postby joy123 » Mon Aug 04, 2014 11:57 am

@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
joy123
Starting Member
Starting Member
 
Posts: 3
Joined: October 2012

Re: Getting started with Raspberry Pi SD-card image

Postby wwolkers » Mon Aug 04, 2014 1:01 pm

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?
wwolkers
Member
Member
 
Posts: 273
Joined: September 2008
Location: Netherlands


Return to DomotiGa Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron