-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Mqtt -> qos and retain not set right #2656
Copy link
Copy link
Closed
Labels
bugdependenciesPull requests that update a dependency filePull requests that update a dependency filenot_plannedno change plannedno change plannedstaleThis issue will be closed soon because of prolonged inactivityThis issue will be closed soon because of prolonged inactivity
Milestone
Metadata
Metadata
Assignees
Labels
bugdependenciesPull requests that update a dependency filePull requests that update a dependency filenot_plannedno change plannedno change plannedstaleThis issue will be closed soon because of prolonged inactivityThis issue will be closed soon because of prolonged inactivity
What happened?
hello,
im trying to creat an usermod which send out some mqtt parameters, but the qos and retain is not set right.
doing something like this:
and i receive in Home Assistant -> QoS: 0 - Retain: false
i searched a bit and found in mqtt.cpp from line 124 this:
which should get a result like this: QoS: 0 - Retain: true but it also is received as QoS: 0 - Retain: false
To Reproduce Bug
on home assistant, mqtt broker receives: QoS: 0 - Retain: false
Expected Behavior
QoS: 2 - Retain: true
Install Method
Self-Compiled
What version of WLED?
WLED 0.13.1
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct