Help Install Domoticz on Odorid HC1

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
SavioThecnic
Posts: 13
Joined: Thursday 27 August 2020 9:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Italy
Contact:

Help Install Domoticz on Odorid HC1

Post by SavioThecnic »

Good morning
Sorry for my English but I'm Italian and I use google translate

I want to install Domoticz on an odroid HC1

i downloaded image ubuntu-20.04.1-5.4-mate-odroid-xu4-20200818.img
but it seems that on Odroid I have to start perforza from SD
and I cannot start from the SSD connected to it
shame because I wanted to speed up and avoid using SD
seen its RW limit

However now I have mesos this image on SD
and starting with SD with image ubuntu-20.04.1-5.4-mate-odroid-xu4-20200818.img now from pc win I am in ssh inside odroid

I downloaded the compressed file domoticz_linux_aarch64.tgz
and copied with WinSCP on the SD of the odoid but beyond this I stop :(

Now someone can tell me the sequence of commands to install domoticz on odroid
As ubuntu operating system - 20.04.1-5.4
All the guides and commands I see around are for raspian raspberry but I see that these commands on Ubuntu do not need to help me

Thank you
SavioThecnic
Posts: 13
Joined: Thursday 27 August 2020 9:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Italy
Contact:

Re: Help Install Domoticz on Odorid HC1

Post by SavioThecnic »

nobody can help me :(

So for now I've done this

mkdir ~/domoticz
cd ~/domoticz
wget http://releases.domoticz.com/releases/r ... arch64.tgz
tar xzvf domoticz_linux_aarch64.tgz
rm domoticz_linux_aarch64.tgz

then I try to run the script but he gives me permission denied and I state that I started with a sudo su

./domoticz.sh

So I write it so it is also useful to others doing

./updaterelease

and then

./domoticz

Now it seems that it is installed but when I restart it does not start automatically how do you fix this?

sudo crontab -e

Added the line at the end of course instead of savio put your user where you have installed domoticz

@reboot / home / savio / domoticz / domoticz

you have to modify the premises of the domoticz script from inside the domoticz folder type

chmod + x domoticz

and it is also advisable to disable the firewall command

sudo systemctl disable ufw

No it seemed that it was working but it doesn't work if I turn it off and restart the service does not start automatically

I tried this one too but it's not very clear to me what and how to change :(

sudo nano /etc/init.d/domoticz.sh

The lines you usually need to change are USERNAME, DAEMON and DAEMON_ARGS

USERNAME = yourusername
DAEMON = / home / $ USERNAME / domoticz / $ NAME
DAEMON_ARGS = "- daemon -www 8080"
User avatar
Abhor
Posts: 3
Joined: Wednesday 11 March 2015 0:06
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.2284
Contact:

Re: Help Install Domoticz on Odorid HC1

Post by Abhor »

Hello Savio and others,

I found this link and you probably got it already working at this moment...
...so I add this reply for future people who wanna install Domoticz on a ODROID too

This worked for me and my ODROID N2+

** It just happend to be a energy crisis so I replaced my Domoticz running on a desktop 24/7,
** so I step over to ODROID because due a chip shortage there are almost no Raspberry 4 to buy


But anyhow .. I find a easyer way (or in the meantime the developers made this script later then your message here)
I downloaded the link from where you described and typed the following commands as root :
First I made a new user :

Code: Select all

adduser domo

Code: Select all

usermod -a -G sudo domo

Code: Select all

usermod -a -G dialout domo

Code: Select all

wget https://releases.domoticz.com/releases/release/domoticz_linux_aarch64.tgz
(atm of this writing, but you always can upgrade Domoticz after this)

Code: Select all

tar xzvf domoticz_linux_aarch64.tgz

Code: Select all

cd domoticz/scripts

Code: Select all

chmod +x install.sh

Code: Select all

./install
... and the script does the rest (with thanks to the one who wrote the script)

Have fun and I hope someone was helped with this !
May the sensors be with you ...
User avatar
gizmocuz
Posts: 2481
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Help Install Domoticz on Odorid HC1

Post by gizmocuz »

Could you not use the default installation command line ?

sudo bash -c "$(curl -sSfL https://install.domoticz.com)"

This worked on my C2, but these days I use docker-compose
Quality outlives Quantity!
Deali
Posts: 3
Joined: Thursday 25 June 2020 3:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Help Install Domoticz on Odorid HC1

Post by Deali »

sudo bash -c "$(curl -sSfL https://install.domoticz.com)"

That is on the download page.

I made an upgrade with it.

Worked fine
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests