Hauptmenü

[Gelöst] MQTT Fehler

Begonnen von Qwz80, 16 Juni 2017, 15:16:00

Vorheriges Thema - Nächstes Thema

Qwz80

Hallo,

seit dem heutigen FHEM Update habe ich im Sekundentakt MQTT Brooker connect/disconnect

192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:36 1: 192.168.178.3:1883 reappeared (MyBroker)

In Endlosschleife.
Es flackert so schnell wechselt es von verbunden zu getrennt. MQTT an sich läuft, wurde nichts geändert am Pi 3



P.A.Trick

Hast Du schon mal den mosquitto Server durchgestartet?
Cubietruck,RPI,QNAP Ts-419p+, FS20, FRITZ!DECT200, 7 MAX! Thermostate, 3 MAX! Fensterkontakte, Kodi, CUL V3.3, EM1000S, LW12, LD382, HUE, HM-CFG-USB-2, 1x HM-LC-SW1-FM, 2x HM-LC-SW2-FM, 2x HM-LC-Sw1PBU-FM, 3xHM-LC-Bl1PBU-FM,HM-SEC-RHS, 2xHM-SEC-SD,HM-WDS30-T-O, 3x HM-LC-Dim1TPBU-FM, RPI+AddOn

Qwz80

Ja ujd geupdatet. Läuft und empfängt auch Daten. Ist erst seit dem Update heute und fiel mir wegen dem riesigen Logfile auf.

P.A.Trick

Also ich habe eben ein Update ausgeführt, Neustart und kein Problem feststellen können!?
Cubietruck,RPI,QNAP Ts-419p+, FS20, FRITZ!DECT200, 7 MAX! Thermostate, 3 MAX! Fensterkontakte, Kodi, CUL V3.3, EM1000S, LW12, LD382, HUE, HM-CFG-USB-2, 1x HM-LC-SW1-FM, 2x HM-LC-SW2-FM, 2x HM-LC-Sw1PBU-FM, 3xHM-LC-Bl1PBU-FM,HM-SEC-RHS, 2xHM-SEC-SD,HM-WDS30-T-O, 3x HM-LC-Dim1TPBU-FM, RPI+AddOn

Qwz80

#4
Hmm keine Ahnung, aber davon viel. Was könnte ich denn probieren wenn Raspbian das Problem ist.

Ich hab damals so MQTT aktiviert und das lief bis heute auch.


sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list

sudo apt-get -y install mosquitto mosquitto-clients python-mosquitto

sudo service mosquitto start

Hat sich der Port von alleine geändert. 1883 ist eingestellt

Gerade nochmals getestet. Also der Pi empfängt alle Daten vom ESP8266 per MQTT nur FHEM spinnt.

Qwz80

Irgendwas wurde wohl geändert

2017.06.16 15:06:36 1: PERL WARNING: Use of uninitialized value $_[0] in pack at FHEM/lib/Net/MQTT/Constants.pm line 130.
2017.06.16 15:06:36 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:36 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:36 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:36 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:36 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:37 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:39 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:40 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:40 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:40 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:40 1: 192.168.178.3:1883 reappeared (MyBroker)
2017.06.16 15:06:40 1: 192.168.178.3:1883 disconnected, waiting to reappear (MyBroker)
2017.06.16 15:06:40 1: 192.168.178.3:1883 reappeared (MyBroker)

P.A.Trick

Ok jetzt habe ich das Problem auch!
Cubietruck,RPI,QNAP Ts-419p+, FS20, FRITZ!DECT200, 7 MAX! Thermostate, 3 MAX! Fensterkontakte, Kodi, CUL V3.3, EM1000S, LW12, LD382, HUE, HM-CFG-USB-2, 1x HM-LC-SW1-FM, 2x HM-LC-SW2-FM, 2x HM-LC-Sw1PBU-FM, 3xHM-LC-Bl1PBU-FM,HM-SEC-RHS, 2xHM-SEC-SD,HM-WDS30-T-O, 3x HM-LC-Dim1TPBU-FM, RPI+AddOn

Qwz80

Liegt am FHEM Update. Hab ein backup eingespielt und es geht wieder!

CoolTux

Das Modul MQTT_Device ist das einzige was zeitlich passend ein Update bekommen hat.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zeile 86 ändern in


if(!defined($hash->{sets}->{$command}));
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Qwz80


KernSani

Können wir das dann als gelöst betrachten? Dann bitte noch [Gelöst] vor das Subject des ersten Posts.
RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...

fh168

Ihr seid klasse.

Gestern mal wieder ein Update gefahren und prompt die Fehlermeldung mit dem Disconnect / Connect gehabt.
Performance eingebrochen, Fhem schnarchig ohne Ende.
Neue Version installiert, läuft.
Das mit dem Device habe jetzt nicht getestet, aber ich bekomme keine Fehlermeldung mehr.

LG
/robin
Hue, Lacrosse, PCA301, MySensors, V 1.67 CUL 868 V3.4, Lacrosse-WLAN-Gateway, Tasmota RF-

andies

Ich habe ab und zu (also nicht im Sekundentakt) den Abbruch beim Broker:

2017.09.10 08:14:20 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:14:20 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:15:08 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:15:08 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:15:18 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:15:18 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:15:22 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:15:22 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:16:19 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:16:19 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:16:27 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:16:27 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:21:20 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:21:20 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:22:06 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:22:06 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:22:57 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:22:57 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:24:17 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:24:17 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:25:02 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:25:02 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:25:23 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:25:23 1: 192.168.2.7:1883 reappeared (Mosquitto)
2017.09.10 08:25:35 1: 192.168.2.7:1883 disconnected, waiting to reappear (Mosquitto)
2017.09.10 08:25:35 1: 192.168.2.7:1883 reappeared (Mosquitto)

Weiß jemand, woran das liegen kann? Der oben gelöste Fehler kann es ja nicht sein.
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann