Closed adamcodemaker closed 1 year ago
I ran mosquitto_sub and subscribed to thermostat/office-biuro/target_temperature/set
and it received every single message that I send so network is not an issue.
Problem was in my setup. I had two raspbery pi in one network with single mqtt broker. Both had the same client-id.
I changed client-id and added topic_prefix in each raspberry pi and everything works as expected now.
I have a config with one thermostat. Sometimes the manager does not receive mqtt messages. When I send message to mqtt broker to set temperature to some value there is no debug message at all.
Just like it was ignored or something. There should be loge like this.
2022-09-17 21:42:17,028 DEBUG bt-mqtt-gw.workers_manager workers_manager.py:193:_on_command_wrapper - Received command for thermostat on thermostat/office-biuro/target_temperature/set: b'17'
Sometimes message is received but sometimes not. I don't know why. Manager should receive every message from mqtt broker. I use my mqtt broker (Eclipse Mosquitto) for years without any problems so the broker is ok. Even with messages with retain flag are missing.To Reproduce Steps to reproduce the behavior:
Expected behavior Every message from mqtt broker should be received by manager and handled properly.
Config
Server (please complete the following information):