[Tutorial]Domoticz on Dietpi

Guides and tutorials for various stuff. Posted by DietPi users.
Post Reply
locutusweb
Posts: 22
Joined: Sun Jan 17, 2016 3:02 pm

[Tutorial]Domoticz on Dietpi

Post by locutusweb » Mon Jun 11, 2018 8:53 pm

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!
Last edited by locutusweb on Thu Jul 25, 2019 7:39 am, edited 2 times in total.

pakikje
Posts: 102
Joined: Fri Nov 11, 2016 2:04 pm

Re: [Tutorial]Domoticz on Dietpi

Post by pakikje » Fri Jan 04, 2019 7:12 pm

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'

locutusweb
Posts: 22
Joined: Sun Jan 17, 2016 3:02 pm

Re: [Tutorial]Domoticz on Dietpi

Post by locutusweb » Sun Jan 06, 2019 7:41 pm

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.

pakikje
Posts: 102
Joined: Fri Nov 11, 2016 2:04 pm

Re: [Tutorial]Domoticz on Dietpi

Post by pakikje » Sun Jan 13, 2019 4:12 pm

Worked! I executed your idea and then started the install all over.

locutusweb
Posts: 22
Joined: Sun Jan 17, 2016 3:02 pm

Re: [Tutorial]Domoticz on Dietpi

Post by locutusweb » Thu Jul 25, 2019 7:42 am

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

Post Reply