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:
sudo /etc/init.d/domoticz.sh stop
Open:
sudo nano /etc/apt/sources.list
Add:
deb http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
Issue:
sudo apt-get update
Install libssl, libusb and libpython:
sudo apt-get install libssl1.0.0 libusb-0.1-4 libpython3.4-dev
And if you haven’t installed Domoticz before:
sudo curl -L install.domoticz.com | sudo bash
and/or start Domoticz:
sudo /etc/init.d/domoticz.sh start
Have fun!
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’
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):
wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u8_arm64.deb
and
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u8_arm64.deb
Please report back if this works to help others.
Worked! I executed your idea and then started the install all over.
Added
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