00_MQTT2_CLIENT: msgAfterConnect funktioniert nicht

Begonnen von PatrickR, 25 Mai 2019, 00:39:27

Vorheriges Thema - Nächstes Thema

PatrickR

Guten Abend!

Ich habe einen definierten MQTT2_CLIENT, dessen msgAfterConnect nie beim Broker gesetzt wird.

Logauszug:

2019.05.25 00:23:52.886 1: mqtt.prdom:8883 reappeared (MQTTBroker2)
2019.05.25 00:23:52.899 5: MQTTBroker2: received CONNACK (0)(0)
2019.05.25 00:23:52.899 5: MQTTBroker2: discarding PUBLISH 0$(0)(25)services/fhem/fhem/statusconnected
2019.05.25 00:23:52.899 5: MQTTBroker2: sending SUBSCRIBE (128)(6)(0)(21)(0)(1)#(0)
2019.05.25 00:23:52.901 5: MQTTBroker2: received SUBACK (0)(21)(0)


Definition des Clients:

defmod MQTTBroker2 MQTT2_CLIENT mqtt.prdom:8883
attr MQTTBroker2 SSL 1
attr MQTTBroker2 group MQTT
attr MQTTBroker2 icon icoBlitz.png
attr MQTTBroker2 lwt services/fhem/fhem/status disconnected
attr MQTTBroker2 msgAfterConnect services/fhem/fhem/status connected
attr MQTTBroker2 msgBeforeDisconnect services/fhem/fhem/status disconnected
attr MQTTBroker2 room System->IODevices
attr MQTTBroker2 username fhem


Patrick
lepresenced - Tracking von Bluetooth-LE-Tags (Gigaset G-Tag) mittels PRESENCE

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

rudolfkoenig