ik wil niet spammen maar kom er niet uit.
Zojuist weer een nieuwe install gedaan om shelly en domoticz te laten werken.
Weer komt de shelly er wel bij, als ik schakel komt dit wel in logfile te staan maar hij schakelt niet. Echter als ik met homebridge schakel verander de status van de schakelaar direct. Ik doe iets fout maar kom er maar niet achter. Wellicht dat iemand een blik kan werpen op de stappen die ik genomen heb.
------- Logfile-----
2020-01-26 10:24:28.069 Status: EventSystem: Queue thread started...
2020-01-26 10:24:28.162 Status: PluginSystem: Entering work loop.
2020-01-26 10:24:28.993 Status: MQTT: Connecting to localhost:1883
2020-01-26 10:24:29.194 Status: MQTT: connected to: localhost:1883
2020-01-26 10:24:29.395 Status: MQTT: Subscribed
2020-01-26 10:25:58.967 Status: (Shelly) Started.
2020-01-26 10:25:59.355 (Shelly) Connected to MQTT Server: 127.0.0.1:1883
2020-01-26 10:25:59.295 Status: (Shelly) Entering work loop.
2020-01-26 10:25:59.296 Status: (Shelly) Initialized version 0.4.0
2020-01-26 10:26:32.232 Status: New sensors allowed for 5 minutes...
2020-01-26 10:29:04.170 Status: User: Admin initiated a switch command (1/Shelly - reserve 7A339C-0/Off)
2020-01-26 10:29:48.756 Status: EventSystem: reset all device statuses...
2020-01-26 10:29:57.583 Status: User: Admin initiated a switch command (1/Shelly - reserve 7A339C-0/Off)
2020-01-26 10:30:18.577 Status: User: Admin initiated a switch command (1/Shelly - reserve 7A339C-0/On)
2020-01-26 10:31:28.590 Status: User: Admin initiated a switch command (1/Shelly - reserve 7A339C-0/On)
--------INSTALL------
Node.js
curl -sL
https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium" | sudo bash -
sudo apt-get install -y nodejs
Kontrole
Node -v
Npm -v
Install Domoticz
https://www.domoticz.com/wiki/Raspberry_Pi
curl -L
https://install.domoticz.com | bash
Update naar laatste beta
MQTT
https://www.domoticz.com/wiki/MQTT
sudo npm install -g mqtt url request
Installing Mosquitto
http://mosquitto.org/blog...quitto-debian-repository/
wget
http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget
http://repo.mosquitto.org/debian/mosquitto-buster.list
sudo apt-get update
sudo apt-get install mosquitto
Installing Node-RED
https://nodered.org/docs/getting-started/raspberrypi
bash <(curl -sL
https://raw.githubusercon...update-nodejs-and-nodered)
Als service starten
sudo systemctl enable nodered.service
Stoppen als service
sudo systemctl disable nodered.service
Aanvulling Python (blijkbaar nodig als je beta draait)
sudo apt install python3-dev
MQTT server installeren onder hardware
Localhost en poort 1883
ShellyMQTT - Domoticz Python Plugin
https://github.com/enesbcs/Shelly_MQTT
cd domoticz/plugins
git clone
https://github.com/enesbcs/Shelly_MQTT.git