Page 1 of 1

[Tutorial]Domoticz on Dietpi

Posted: Mon Jun 11, 2018 9:53 pm
by locutusweb
Sadly the great home automation package Domoticz is not available in the Dietpi software selection. They would make a great pair.

This is a mini tutorial how to manually install domoticz on dietpi:
First of all stop any instances of domoticz:

Code: Select all

sudo /etc/init.d/domoticz.sh stop
Open:

Code: Select all

sudo nano /etc/apt/sources.list
Add:

Code: Select all

deb http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
Issue:

Code: Select all

sudo apt-get update
Install libssl, libusb and libpython:

Code: Select all

sudo apt-get install libssl1.0.0 libusb-0.1-4 libpython3.4-dev
And if you haven't installed Domoticz before:

Code: Select all

sudo curl -L install.domoticz.com | sudo bash
and/or start Domoticz:

Code: Select all

sudo /etc/init.d/domoticz.sh start
Have fun!

Re: [Tutorial]Domoticz on Dietpi

Posted: Fri Jan 04, 2019 8:12 pm
by pakikje
tutorial doesn't work anymore.

errors


Hit:8 https://cdn-aws.deb.debian.org/debian stretch Release
Fetched 14.9 kB in 8s (1,837 B/s)
Reading package lists... Done
W: GPG error: http://archive.raspbian.org/raspbian jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
W: The repository 'http://archive.raspbian.org/raspbian jessie InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://archive.raspbian.org/raspbian jessie InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'contrib/binary-arm64/Packages' as repository 'http://archive.raspbian.org/raspbian jessie InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'non-free/binary-arm64/Packages' as repository 'http://archive.raspbian.org/raspbian jessie InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'rpi/binary-arm64/Packages' as repository 'http://archive.raspbian.org/raspbian jessie InRelease' doesn't support architecture 'arm64'

Re: [Tutorial]Domoticz on Dietpi

Posted: Sun Jan 06, 2019 8:41 pm
by locutusweb
A few weeks ago I installed a fresh setup on a raspi 3B+ with succes. I see you're on arm64 architecture; that's probably why this won't work.

Maybe this works (can't test this):

Code: Select all

wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u8_arm64.deb
and

Code: Select all

sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u8_arm64.deb

Please report back if this works to help others.

Re: [Tutorial]Domoticz on Dietpi

Posted: Sun Jan 13, 2019 5:12 pm
by pakikje
Worked! I executed your idea and then started the install all over.

Re: [Tutorial]Domoticz on Dietpi

Posted: Thu Jul 25, 2019 8:42 am
by locutusweb
Added

Code: Select all

sudo apt-get install libpython3.4-dev
to the tutorial to handle the error:
EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available