ThomDietrich / miflora-mqtt-daemon

Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼πŸ₯€πŸ‘🌳
MIT License
606 stars 141 forks source link

openhab 2 log error (Session does not exist) #88

Open Kampfader opened 4 years ago

Kampfader commented 4 years ago

im using Openhab 2.4, with Flora care Sensor and you mqtt tool.

After every scan appear error messages into the file openhab.log.

can you solve this somehow? used here someone Openhab 2.5 or Nightlys, it was fixed by Openhab? Unfortunately I could not find anything on the internet.

1

Maybe this can be solved by loging.cfg file, but I have not made it yet, if anyone knows, then tell me, please.

sorry for my bad english.

kkirpichnikov commented 4 years ago
openhab-cli info
Version:     2.4.0 (Build)

Embedded MQTT Broker
misc-mqttbroker - 2.4.0

MQTT Binding
binding-mqtt - 2.4.0

Same is here

==> /var/log/openhab2/openhab.log <==
2019-12-28 18:25:35.796 [ERROR] [.moquette.spi.impl.ProtocolProcessor] - The MQTT client ID cannot be empty. Username=null
2019-12-28 18:25:35.820 [WARN ] [moquette.spi.impl.SessionsRepository] - Session does not exist. CId=7BcvRZm71N4CFIJ0Aoe5OV
2019-12-28 18:25:35.833 [WARN ] [moquette.spi.impl.SessionsRepository] - Session does not exist. CId=7BcvRZm71N4CFIJ0Aoe5OV

I believe that the first lane could be related to this issue. https://github.com/ThomDietrich/miflora-mqtt-daemon/issues/55

Here is how it looks like in the OpenHAB UI Ficus