Please login or register.

Login with username, password and session length

Author Topic: Domoticz 2018-whatsup  (Read 5052 times)

tflemer

  • Jr. Member
  • **
  • Helpful Post Rating: 3
  • Posts: 16
Domoticz 2018-whatsup
« on: February 20, 2018, 02:56:11 PM »

Raspberry pi installs Domoticz via cURL

https://www.domoticz.com/wiki/Raspberry_Pi

Looks like boot log was mashed - troubleshooting.
Logged

tflemer

  • Jr. Member
  • **
  • Helpful Post Rating: 3
  • Posts: 16
Re: Domoticz 2018-whatsup
« Reply #1 on: February 20, 2018, 04:25:40 PM »

Looks like there is an unresolved issue.  below is a snippet of the thread 
www.domoticz.com/forum/viewtopic.php?t=18793

Re: Install Domoticz on new raspbian/debian stretch
Quote
 
Post
 by niclasc » Sunday 10 September 2017 14:39
sincze wrote: ↑
Sunday 10 September 2017 14:29
niclasc wrote: ↑
Sunday 10 September 2017 14:19
@sincze That worked. But only for HTTP. HTTPS is not working for me. Working for you?
As for the test I only use HTTP so had to look at the log after your post more carefully and it seems indeed https not working.
mmm more debugging to do. luckily for me I found your post first before updating the production machine 
I thought that the libssl packages that where causing trouble where for https. But apparently there is something else at fault.

[ME]
I have had this problem where packages work from the oringination point, but do not get pushed through to mirrors.  petera can get domoticz to work from his location, but we cannot from here (USA).  I was looking to see if there is a previous stable version that may work.  Ran out of gas.  Will pick up tomorrow.
Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: Domoticz 2018-whatsup
« Reply #2 on: February 21, 2018, 04:33:57 AM »

Looks like there is an unresolved issue. .......... Will pick up tomorrow.

I was more than willing to contribute the error to my own ineptness with Raspbian and Pi. Thank you for you efforts. I really believe this could be a huge help to hundreds or maybe even thousands of X10 users.
Logged
Home Automation is an always changing technology

tflemer

  • Jr. Member
  • **
  • Helpful Post Rating: 3
  • Posts: 16
Re: Domoticz 2018-whatsup
« Reply #3 on: February 21, 2018, 11:57:12 PM »

Installing Domoticz Version: 3.8153 on Raspberry Pi B 3 /w Raspbian Stretch

RASPBIAN STRETCH INSTALL
Install Raspbian Stretch on a clean SD Card.
Setup as you like it.  Remember, if you plan on accessing the RPi via laptop or PC, turn on SSH in preferences.

PRE DOMOTICZ INSTALL
In a terminal session or via SSH (PuTTY)

sudo apt-get update
sudo apt-get upgrade

Install missing library libssl-dev.  Current version does not work.  So, need to pull previous version.

wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb
sudo dpkg -i libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb

DOMOTICZ INSTALL
In a terminal session or via SSH (PuTTY)

curl -L install.domoticz.com | sudo bash
reboot now

domoticz will show up in top. To confirm the daemon is running:
In a terminal session or via SSH (PuTTY)

top

Now, open browser

http://127.0.0.1:8080 for local console
http://<IP Address>:8080 for remote (laptop or PC)

X10 CM15A INSTALL
Domoticz requires Mochad to communicate with the CM15A interface.  There are many setup steps.  Follow:
https://www.domoticz.com/wiki/X10_devices,_CM15_Pro

Logged

bkenobi

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 24
  • Posts: 2082
Re: Domoticz 2018-whatsup
« Reply #4 on: February 22, 2018, 04:39:08 AM »

Nice guide, thanks!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: Domoticz 2018-whatsup
« Reply #5 on: February 22, 2018, 05:38:31 AM »

...... DOMOTICZ INSTALL
In a terminal session or via SSH (PuTTY)

curl -L install.domoticz.com | sudo bash
reboot now

domoticz will show up in top. To confirm the daemon is running:
In a terminal session or via SSH (PuTTY)

top

Now, open browser

http://127.0.0.1:8080 for local console
http://<IP Address>:8080 for remote (laptop or PC)

I followed the instructions. And... I got the same error as before (I posted an image).

I need a class. There must be something here I am missing. I have spent hours now re-trying.... basically the same operations... over and over.

I've gotten pretty good at installing NOOBS on an SD card. And I can recreate a Raspbian setup in no time. But any additional DL or installs seem out of the question. 
Logged
Home Automation is an always changing technology

tflemer

  • Jr. Member
  • **
  • Helpful Post Rating: 3
  • Posts: 16
Re: Domoticz 2018-whatsup
« Reply #6 on: February 22, 2018, 12:19:09 PM »

I replicated your set up, well except maybe the chair.
Quick check list here:
Raspberry Pi B 3?
Raspberry Pi powered with 2amp or greater supply?
Screen - HDMI?
Keyboard and mouse - USB? Wireless? (wired would also be fine, Not sure about Bluetooth.)
This makes your system console.  All set up will be done from here.

Connected via network cable to eth0 on Raspberry Pi?
Installed NOOBS Raspbian Stretch (first option)?
Reboot?
See Raspbian Stretch PIXEL screen?

Main menu <Prefreneces><Raspbery Pi Configuration>Tab<Localization>
Changed localiztion settings (all to your local)?
Reboot yes/no  YES?

See Raspbian Stretch PIXEL screen?
Start Chromium browser.  OK?

http://forums.x10.com/index.php?topic=30205.msg172529#msg172529

Go to X10 Forum OK?


PRE DOMOTICZ INSTALL ( you can copy and paste these commands from here to the terminal session.
In a terminal session

sudo apt-get update.
No errors?  OK?

sudo apt-get upgrade.
No errors? OK?

Install missing library libssl-dev.  Current version does not work.  So, need to pull previous version.

wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb

sudo dpkg -i libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb

No errors?  OK?

DOMOTICZ INSTALL
In a terminal session

curl -L install.domoticz.com | sudo bash
No errors? OK?

sudo reboot now

CONFIRMATION
domoticz will show up in top. To confirm the daemon is running:
In a terminal session

top

See domonticz running?

Now, start Chromium

http://127.0.0.1:8080

What do you see?

These are the steps I followed to get Domoticz running.  Normally I do not use NOOBS.  However, wanted to double check that did not have a effect.  In this set up I eliminated any extra steps.  Like network.  You can make changes if you got this far.  On the network set up I disable ivp6, even if eth0 or wlan0 are set to auto detect (DHCP).  Also, on Chromium, there is an addin called blocked.  It has a little red shield, upper right corner.  You can tuern this off on a site ny site basis.  Have not seen a problem with the sires above X10 or domoticz tho.
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.