Page 1 of 2
Idiots guide to Raspberry Pi Installation
Posted: Saturday 02 January 2016 23:05
by TheBod
Hi all
I apologise if this has been asked a thousand times before.
I am trying to install Domoticz onto my Raspberry Pi2. Using my Windows desktop I have downloaded the Pi image file from the Sourceforge website (
http://sourceforge.net/projects/domotic ... p_redirect) and copied the image to a 8GB micro SD card. With the SD card inserted in the Pi2 I have booted up and get to the Pi and Raspberry login request. Following login I do CD Domoticz and then ./Domoticz.
At this point I receive the following error message;
"Error: Failed to start the web server: bind: Address already in use
Error: check if no other application is using port: 8080"
I have tried the Pi2 both connected to my LAN and without and always receive the same message. As far as I am aware there is nothing else running on the Pi and therefore nothing using 8080. An online suggestion was to run "./domoticz -www 8090 -sslwww 8091" but this still does not work.
Am I using the correct image file? I am planning on installing my RFXcom433 to the Pi to control my many 433 devices at home.
Could someone point me in the correct direction for an easy installation please.
Thanks in advance
TheBod
Re: Idiots guide to Raspberry Pi Installation
Posted: Saturday 02 January 2016 23:08
by jvdz
Are you sure that domoticz isn't already running?
Just check with: sudo ps x|grep domoticz
Jos
Re: Idiots guide to Raspberry Pi Installation
Posted: Saturday 02 January 2016 23:32
by TheBod
Hi Jos
Thanks for your reply. I have tried
sudo ps x|grep domoticz
and get the response shown in the attached (2032 ? Ssl 0:00 /home/pi/domoticz/domoticz -daemon -www 8080 -sslwww 443)
Any ideas?
Thanks
The Bod
Re: Idiots guide to Raspberry Pi Installation
Posted: Saturday 02 January 2016 23:51
by jvdz
So that means it is running already

Have you tried opening the Domoticz website from your PC's browser:
http://rapsberry.ip.address:8080 ?
Jos
Re: Idiots guide to Raspberry Pi Installation
Posted: Saturday 02 January 2016 23:55
by TheBod
Ah, I have just realised something that may be important. I am running Domoticz already on my windows PC (
http://127.0.0.1:8080/#/Dashboard). Is this causing the issue?
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:00
by jvdz
TheBod wrote:Ah, I have just realised something that may be important. I am running Domoticz already on my windows PC (
http://127.0.0.1:8080/#/Dashboard). Is this causing the issue?
That should be no issue. just try opening the Raspberry's domoticz website from your PC with the correct IP address you gave to the Raspberry.
Jos
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:02
by TheBod
Update: I have closed down Chrome on the pc, which was running Domoticz, and tried ./Domoticz on the Pi2 but still get the same message
"Error: Failed to start the web server: bind: Address already in use
Error: check if no other application is using port: 8080"
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:03
by TheBod
jvdz wrote:TheBod wrote:Ah, I have just realised something that may be important. I am running Domoticz already on my windows PC (
http://127.0.0.1:8080/#/Dashboard). Is this causing the issue?
That should be no issue. just try opening the Raspberry's domoticz website from your PC with the correct IP address you gave to the Raspberry.
Jos
Silly question, how do i find the raspberry's IP address?
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:04
by Westcott
Another idiot here...
I'm just about to get my first pi and use it rather than Windows.
My question is: where do you get your pi image files from?
I can't see any on
http://sourceforge.net/projects/domotic ... p_redirect, just Windows installers.
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:05
by jvdz
Seems you are a little confused here.

Domoticz starts automatically on your raspberry so trying to run it again will obviously fail!
Did you try connection to your raspberry from your windows pc with
http://192.168.x.x:8080 (and fill in the ip address you gave the raspberry!)
Jos
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:06
by TheBod
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:07
by jvdz
TheBod wrote:
Silly question, how do i find the raspberry's IP address?
Ah ... you haven't set that yet.
Just follow the Wiki:
http://www.domoticz.com/wiki/Domoticz_R ... i_SD_Image
Jos
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:13
by TheBod
Jos
This is what I get when i do ifconfig
Does this mean that the ip address is 192.168.1.255?
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:14
by jvdz
Nah, 192,168.1.129

Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:17
by TheBod
Success. On the windows pc it now loads up Domoticz.
How do I run this on the Pi2 so that I can connect the RFXcom433 and get started?
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:18
by Westcott
Thanks, but that also only has Windows setup files.
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:19
by TheBod
This is what I get
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:20
by jvdz
Not sure I understand that question. You are running Domoticz on the RPI when you connect from your windows pc to
http://192.168.1.129:8080 !
Just connect your RFXcom433 to one of the USB ports of the RPI and you should be in business (might have to restart Domoticz)
Jos
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:22
by jvdz
Westcott wrote:
Thanks, but that also only has Windows setup files.
Just follow the Wiki i linked in one of the previous posts, which also has the info for the RPI image.
Jos
Re: Idiots guide to Raspberry Pi Installation
Posted: Sunday 03 January 2016 0:25
by TheBod
Thank you very much Jos. Ever so sorry for being really stupid with this. Pi and Linux is new to me. Graet to have experts like you available.
