Hello,
I´m running openhab on Raspberry PI 4 with openhabian 1.5 - fresh installation, 1 month old.
I configured several things and also an MQTT broker (using openhabian - so Mosquito directly on the Raspberry is used).
Here´s my mqtt.things configuration:
Bridge mqtt:broker:home “Mosquitto MQTT Broker @home” [
host=“localhost”,
secure=false,
port=1883,
qos=0,
retain=false,
clientid=“openhab”,
//certificate=“”,
//certificatepin=false,
//publickey=“”,
//publickeypin=false,
keep_alive_time=30000,
reconnect_time=60000,
//lastwill_message=“”,
//lastwill_qos=1,
//lastwill_topic=“”,
username=“openhabian”,
password=“password”
]//Steckdose Waschmaschine RECHTS
Thing mqtt:topic:steckdose_waschmaschine “Steckdose Waschmaschine” (mqtt:broker:home) {Type switch:channel1 “Steckdose Waschmaschine” [ stateTopic=“stat/steckdose_waschmaschine/POWER1”, commandTopic=“cmnd/steckdose_waschmaschine/POWER1”, on=“ON”, off=“OFF” ]
Type number:power “Steckdose Waschmaschine aktueller Verbrauch” [ stateTopic=“tele/steckdose_waschmaschine/SENSOR”, transformationPattern=“JSONPATH:$.ENERGY.Power”]
Everything is running fine, I can retrieve values and so on but in the LOG File I have the following INFO every MINUTE:
2020-07-05 17:15:49.579 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.1.199’. Next attempt in 60000ms
2020-07-05 17:15:49.587 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.1.199’ with clientid c0830b37-35a0-4ee4-849c-741e2944e7c7
2020-07-05 17:16:49.595 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.1.199’. Next attempt in 60000ms
2020-07-05 17:16:49.603 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.1.199’ with clientid c0830b37-35a0-4ee4-849c-741e2944e7c7
2020-07-05 17:17:49.606 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.1.199’. Next attempt in 60000ms
2020-07-05 17:17:49.613 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.1.199’ with clientid c0830b37-35a0-4ee4-849c-741e2944e7c7
2020-07-05 17:18:49.621 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.1.199’. Next attempt in 60000ms
192.168.1.199 is the IP address of my openhabian /raspberry.
Can anybody help me out how get rid of these information logs? Why is it loosing the connection and restoring it all the time?
My mqtt.items:
Switch Steckdose_Waschmaschine “Steckdose Waschmaschine” { channel=“mqtt:topic:steckdose_waschmaschine:channel1”}
Number Steckdose_Waschmaschine_Power “Aktueller Verbrauch [%.2f W]” { channel=“mqtt:topic:steckdose_waschmaschine:power”}
Number Steckdose_Waschmaschine_Status “Waschmaschinen Status”
Many thanks in advance!
Br,
Mario