Open UrsusS opened 3 months ago
Do you observe this issue without rules or can you provide a minimal working example that shows that behavior? I'll try to reproduce this issue in the meantime.
I tried to reproduce that behavior but did not succeed so far. But I can say that I've seen it already several times.
Here is an example, what my rules do: the just publish sometimes some data to the main server. There are four rules which do similar things. ups.zip
There is one rule which sends data with a higher frequency, but that was deactivated when that problem occurred.
The configuration is nothing special:
mqtt:
connection:
identifier: HABApp_Zunge # ClientId that is used to uniquely identify this client on the mqtt broker.
host: '192.168.43.7' # Connect to this host. Empty string ("") disables the connection.
port: 1883
user: 'xxx'
password: 'xyz'
tls:
enabled: false # Enable TLS for the connection
ca cert: . # Path to a CA certificate that will be treated as trusted
insecure: true # Validate server hostname in server certificate
subscribe:
qos: 0 # Default QoS for subscribing
topics:
- - '#'
-
publish:
qos: 0 # Default QoS when publishing values
retain: false # Default retain flag when publishing values
general:
listen_only: false # If True HABApp does not publish any value to the broker
If the MQTT connection is lost, the CPU load increases a lot. Even if connection is restored, the high load remains. It needs to restart HABApp to drop the level again.
HABApp Version 24.02.0 OpenHAB version 4.1.1 (Release Build)
Please not that the data shown in the graph is transferred over that MQTT connection, so there is a gap while the connection is lost.![grafik](https://github.com/spacemanspiff2007/HABApp/assets/37875289/bd6f5465-8dcc-4e35-8f4e-2ee319f5befe)