Hi,
I’d like to step in here.
(Openhab 2.4, Raspberry 3B, tested with node 10.15 and 8.12)
When I try to start the landroid-bridge, it shows contradicting log messages:
[2019-04-14T11:26:54.011] [INFO] LandroidS - Initializing Landroid Cloud Service...
[2019-04-14T11:26:54.034] [INFO] Mqtt - Successfully connected to MQTT Broker!
Mqtt url: undefined
[2019-04-14T11:26:55.096] [INFO] IoBrokerAdapter - mower 0 selected
I also noticed in the logfile of my mosquitto service:
1555231112: New connection from 127.0.0.1 on port 1883.
1555231112: New client connected from 127.0.0.1 as mqttjs_2512311c (c1, k60, u'openhabian').
1555231138: Socket error on client mqttjs_2512311c, disconnecting.
My config.json:
"mqtt": {
"enable": true,
"url": "mqtt://<user>:<pw>@openhabianpi",
"topic": "landroid"
},
Due to build errors I changed
import * as LandroidCloud from "iobroker.landroid-s/lib/landroid-cloud-2";
to
import * as LandroidCloud from "iobroker.landroid-s/lib/mqttCloud";
in LandroidS.ts, which helped.
I also tried different hosts in the config.json (127.0.0.1, localhost, 192.168.x.x) but no change at all.
Other clients, such as my ESPs around the network are working with the same MQTT credentials flawlessly.
Has someone also experienced this error?
I also builded and started the landroid-bridge on my windows pc - the same error.
Maybe it’s some changed method in the new mqttCloud library?