Page 1 of 1

Starting with domoticz

Posted: Friday 21 December 2018 18:34
by FreddyAdam
Hello

I am a newbie with domoticz installation
My new raspberry pi 3 B+ is running on Raspbian Stretch Lite .
Via Putty , I have contact with my pi and it is running fine .

[email protected]'s password:
Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Dec 21 17:34:48 2018 from 192.168.0.213

SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.


When I try the command to install domoticz" the easy way" I get the following response :


pi@raspberrypi:~ $ curl -L install.domoticz.com | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0bash: line 1: syntax error near unexpected token `newline'
bash: line 1: `<!DOCTYPE html>'
100 11546 100 11546 0 0 88637 0 --:--:-- --:--:-- --:--:-- 89503
pi@raspberrypi:~ $

Can someone help me

Many thanks

Re: Starting with domoticz

Posted: Friday 21 December 2018 19:20
by cogliostrio
can your Pi reach the internet?

Try pinging fx domotcz.com.

Code: Select all

ping -c 3 domoticz.com
You should get a reply like this

Code: Select all

64 bytes from srv20398.flexwebhosting.nl (185.27.142.198): icmp_seq=1 ttl=49 time=24.9 ms

Re: Starting with domoticz

Posted: Friday 21 December 2018 19:39
by FreddyAdam
The ping command gave this :

pi@raspberrypi:~ $ ping -c 3 domoticz.com
PING domoticz.com (185.27.142.198) 56(84) bytes of data.
64 bytes from srv20398.flexwebhosting.nl (185.27.142.198): icmp_seq=1 ttl=55 time=23.0 ms
64 bytes from srv20398.flexwebhosting.nl (185.27.142.198): icmp_seq=2 ttl=55 time=21.8 ms
64 bytes from srv20398.flexwebhosting.nl (185.27.142.198): icmp_seq=3 ttl=55 time=20.3 ms

--- domoticz.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 20.369/21.758/23.012/1.083 ms

Re: Starting with domoticz

Posted: Friday 21 December 2018 22:33
by Beschuitbus
The same here, I can reach domoticz site (ping works)
It looks like there is a bug in the installation file?

Re: Starting with domoticz

Posted: Saturday 22 December 2018 10:51
by altery
Same here. install.domoticz.com seems to return the Domoticz Website instead of the installer. Is the installation scribt available somewhere else? Couldnt find it on github.

Re: Starting with domoticz

Posted: Saturday 22 December 2018 11:16
by altery
Ok, it works when using HTTPS. So instead of the command given in Domoticz Wiki, do this (as root or using sudo):

Code: Select all

curl -L https://install.domoticz.com |bash

Re: Starting with domoticz

Posted: Sunday 23 December 2018 16:03
by FreddyAdam
It works !!!!!!

Many thanks .