Iobroker/Vis unter Linux Ubuntu installieren

Inzwischen haben sich in meinem Haushalt mehrere Automatisierung-Systeme etabliert. Homatic, Loxone, Shelly und und. Damit einhergehen natürlich unterschiedliche Apps zur Konfiguration und Überwachung. Meine Hoffnung besteht darin alles zusammenzufassen und zu virtualisieren.

Vorbereitung:

Es sind zwei System Vorgesehen ein Test und ein Produktion -System.

Intel i5 16GB Ram 1TB SSD Ubuntu 22.04 LTS

Install Anydesk. Install Node js 16,x NVM

Als erstes sicherstellen das das System Aktuell ist ->

sudo apt update
sudo apt upgrade
sudo apt install -y curl
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install -y nodejs
node --version

Installieren von NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash  

Überprüfen der Installierten Version

nvm –version  

Installation von Iobroker

curl -sLf https://iobroker.net/install.sh | bash –

Öffne den Iobroker mit http://xxx.168.178.xx:8081 Vis mit :8082

MySql / MariaDB Datenbank installieren

System Update

sudo apt-get update && sudo apt-get upgrade

sudo apt-get install mariadb-server mariadb-client

MySQL konfigurieren

sudo mysql -u root -p

Dann das Datenbank Root-Passwort vergeben, zum Beispiel: 12345678

GRANT ALL PRIVILEGES ON *.* TO ‚root’@’%‘ IDENTIFIED BY ‚12345678‘;

GRANT USAGE ON *.* TO ‚root’@’%‘ WITH GRANT OPTION;

MySQL Datenbank für ioBroker erstellen:

CREATE DATABASE `iobroker`;

MySQL Benutzername und Datenbank Passwort erstellen, zum Beispiel: 87654321:

CREATE USER 'iobroker'@'%' IDENTIFIED BY '87654321';

MySQL Benutzer zur Sicherheit nur eingeschränkten Zugriff erlauben:

GRANT ALL PRIVILEGES ON `iobroker`.* TO 'iobroker'@'%';

Abschließen der Konfiguration:

FLUSH PRIVILEGES;

exit

Neustarten von MySQL:

sudo service mysql restart

Testen von MariaDB

sudo systemctl status mariadb

sudo mysqladmin version

mysqladmin -u root -p status

Installation Grafana für Iobroker

https://computingforgeeks.com/how-to-install-grafana-on-ubuntu-linux-2/?utm_content=cmp-true

Arbeiten mit iObroker und Vis

https://www.smarthome-tricks.de/software-iobroker/

IoBroker und Shelly

Firewall überprüfen

sudo ufw status verbose

Port öffnen

sudo ufw allow 1882/tcp

sudo ufw allow 5683/tcp

npm install coap –save

node /opt/iobroker/node_modules/iobroker.shelly/coaptest.js

sudo ln -s /usr/bin/node /usr/bin/nodejs

uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

iob stop
sudo apt update
sudo apt full-upgrade
sudo apt install – -re

install nodejs
sudo reboot

node coaptest.js | grep

find -iname Reime.txt Dateiname

find -name Office Ordner

node node_modules/iobroker.shelly/shelly.js –force –logs

Homatic CCU3 Integration im Iobroker

Firewall

sudo ufw allow 2001/tcp

sudo ufw allow 2010/tcp

https://www.iobroker.net/#de/adapters/adapterref/iobroker.hm-rpc/README.md

Node.js updaten

node -v

Firewall status

sudo ufw status verbose

WLAN Wetterstation froggit WH3000SE Pro einbinden

Port 45000 öffnen

sudo ufw allow 45000/tcp

Dieser Beitrag wurde unter Installation abgelegt und mit , , , , , verschlagwortet. Setze ein Lesezeichen auf den Permalink.