@spacerx OH man - ich könnt mich Ohrfeigen. Danke! So einfach kann es manchmal sein.
Lösung: MQTT Abschalten - und es läuft..
@spacerx OH man - ich könnt mich Ohrfeigen. Danke! So einfach kann es manchmal sein.
Lösung: MQTT Abschalten - und es läuft..
Systemdata | |
---|---|
Hardwaresystem: | Pi4, 2gb |
Arbeitsspeicher: | 2GB |
Festplattenart: | SD-Karte |
Betriebssystem: | Raspbian |
Node-Version: | v16.17.0 |
NPM-Version: | 8.17.0 |
Shelly Adapter: | 6.0.0 |
MQTT Broker/Client: | 3.0.6 |
Ich bekomme seit 3 Stunden meinen Shelly Adapter nicht zum laufen.
Ich habe 2 Shelly Plug S installiert, MQTT aktiviert, kann mich per MQTT Explorer verbinden. MQTT Adapter zeigt die beiden Shellys und den Explorer als verbunden an. Soweit so gut.
Der Shelly Adapter bleibt aber beharrlich auf Rot, bei "Verbunden mit Gerät oder Dienst" - Objekte werden entsprechend im Shelly Adapter auch nich angezeigt - nur im MQTT Adapter.
Folgende Adapter sind installiert:
Das folgende Problem habe ich mit dem manuellen Einfügen des Objects type:string in mqtt.0.shellies.relay.0 gelöst. Seitdem keine Fehlermeldungen :
mqtt.0
2022-08-20 22:29:01.177 warn Object of state "mqtt.0.shellies.shellyplug-s-EF43BD.relay.0" is missing the required property "common.type"
mqtt.0
2022-08-20 22:28:31.171 warn Object of state "mqtt.0.shellies.shellyplug-s-EF43BD.relay.0" is missing the required property "common.type"
Der Shelly Adapter liefert im Log keine Fehler:
shelly.0
2022-08-20 22:49:42.829 info Starting in MQTT mode. Listening on 192.168.1.61:1883
shelly.0
2022-08-20 22:49:42.669 info starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.shelly, node: v16.17.0, js-controller: 4.0.23
host.SimonPi
2022-08-20 22:49:40.158 info instance system.adapter.shelly.0 started with pid 19912
host.SimonPi
2022-08-20 22:49:37.615 info instance system.adapter.shelly.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
Der MQTT Adapter liefer keine Fehler - ausser der Variablen string statt boolean (nicht klar wie ich das fixe..)
mqtt.0
2022-08-20 22:53:41.982 info Client [shellyplug-s-EF43BD] publishOnSubscribe
mqtt.0
2022-08-20 22:53:41.803 info State value to set for "mqtt.0.shellies.shellyplug-s-EF43BD.online" has to be type "string" but received type "boolean"
mqtt.0
2022-08-20 22:53:41.802 info Client [shellyplug-s-EF43BD] subscribes on topic "shellies/shellyplug-s-EF43BD/relay/0/command"
mqtt.0
2022-08-20 22:53:41.800 info Client [shellyplug-s-EF43BD] subscribes on topic "shellies/shellyplug-s-EF43BD/command"
mqtt.0
2022-08-20 22:53:41.781 info Client [shellyplug-s-EF43BD] subscribes on "mqtt.0.shellies.command"
mqtt.0
2022-08-20 22:53:41.660 info Client [shellyplug-s-EF43BD] connected with secret 1661028821649_5485
mqtt.0
2022-08-20 22:53:41.376 info State value to set for "mqtt.0.shellies.shellyplug-s-BB9E53.online" has to be type "string" but received type "boolean"
mqtt.0
2022-08-20 22:53:41.375 info Client [shellyplug-s-BB9E53] subscribes on topic "shellies/shellyplug-s-BB9E53/relay/0/command"
mqtt.0
2022-08-20 22:53:41.374 info Client [shellyplug-s-BB9E53] subscribes on topic "shellies/shellyplug-s-BB9E53/command"
mqtt.0
2022-08-20 22:53:41.372 info Client [shellyplug-s-BB9E53] subscribes on topic "shellies/command"
mqtt.0
2022-08-20 22:53:41.155 info Client [shellyplug-s-BB9E53] connected with secret 1661028821139_7739
mqtt.0
2022-08-20 22:53:39.533 info Starting MQTT authenticated server on 192.168.1.61:1883
mqtt.0
2022-08-20 22:53:39.280 info starting. Version 3.0.6 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.17.0, js-controller: 4.0.23
host.SimonPi
2022-08-20 22:53:37.200 info instance system.adapter.mqtt.0 started with pid 20166
host.SimonPi
2022-08-20 22:53:35.191 info instance system.adapter.mqtt.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
Hat jemand ne Idee woran das liegen könnte?
Danke fürs mitdenken!