MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
2
That’s an excellent suggestion.

I’ve added my vote.
But in fairness it was incredibly easy to add openHAB2 to DietPi on the ODroid C2 units, either manually or using the openhabian script.
- The following is now outdated, Node-RED installs perfectly.
The only minor issue I had was with user privileges for NodeRed, but Michal gave excellent advice to quickly resolve that.
The exact instructions are ;
mkdir -p $G_FP_DIETPI_USERDATA/node-red
usercmd='useradd -rMU'
getent passwd nodered &> /dev/null && usercmd='usermod'
$usercmd -d $G_FP_DIETPI_USERDATA/node-red -s $(command -v nologin) nodered
getent group gpio &> /dev/null && usermod -aG gpio nodered
echo 'nodered ALL=NOPASSWD: ALL' > /etc/sudoers.d/nodered
chown -R nodered:nodered $G_FP_DIETPI_USERDATA/node-red
I’ve also added all the information to get NodeRed onto the openHAB2 dashboard in that thread.
Update April 2020
I’ve created a video that shows setting up an ODroid C2 from scratch with DietPi and adding openHAB2
2 Likes