Idiots guide to Raspberry Pi Installation
Moderator: leecollings
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Idiots guide to Raspberry Pi Installation
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
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
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
Are you sure that domoticz isn't already running?
Just check with: sudo ps x|grep domoticz
Jos
Just check with: sudo ps x|grep domoticz
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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
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
- Attachments
-
- Screenshot of Pi2 response
- IMG_8286.JPG (138.15 KiB) Viewed 4408 times
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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

Have you tried opening the Domoticz website from your PC's browser: http://rapsberry.ip.address:8080 ?
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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?
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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.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?
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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"
"Error: Failed to start the web server: bind: Address already in use
Error: check if no other application is using port: 8080"
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
Silly question, how do i find the raspberry's IP address?jvdz wrote: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.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?
Jos
- Westcott
- Posts: 423
- Joined: Tuesday 09 December 2014 17:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: UK - Glos
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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.
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.
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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

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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
Ah ... you haven't set that yet.TheBod wrote: Silly question, how do i find the raspberry's IP address?

Just follow the Wiki: http://www.domoticz.com/wiki/Domoticz_R ... i_SD_Image
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
Jos
This is what I get when i do ifconfig
Does this mean that the ip address is 192.168.1.255?
This is what I get when i do ifconfig
Does this mean that the ip address is 192.168.1.255?
- Attachments
-
- IMG_8287.JPG (120.56 KiB) Viewed 4367 times
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
Nah, 192,168.1.129 

New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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?
How do I run this on the Pi2 so that I can connect the RFXcom433 and get started?
- Westcott
- Posts: 423
- Joined: Tuesday 09 December 2014 17:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: UK - Glos
- Contact:
Re: Idiots guide to Raspberry Pi Installation
Thanks, but that also only has Windows setup files.
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
This is what I get
- Attachments
-
- Capture.PNG (148.44 KiB) Viewed 4364 times
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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
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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- jvdz
- Posts: 2311
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idiots guide to Raspberry Pi Installation
Just follow the Wiki i linked in one of the previous posts, which also has the info for the RPI image.Westcott wrote: Thanks, but that also only has Windows setup files.
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idiots guide to Raspberry Pi Installation
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. 

Who is online
Users browsing this forum: No registered users and 0 guests