-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all published messages retained? #231
Comments
Code wise it should work as expected. Please show the adapter settings as screenshot and also the object JSON from "system.adapter.mqtt.0" (in admin, objects, expert mode and then the pencil in the object told |
|
The JSON is not from "system.adapter.mqtt.0" :-) |
I'm not sure which object you mean? This?
|
also not:-)) Enable the export mode please ... then you shuld have a object with name system.adapter.mqtt.0 |
Ahhhh, i overlooked the prefix "system.", sorry.... :-/
|
Ok, verified that retain is really "off" ...then "code wise" there should be nothing setting it.
Then we might be able to see more when you send something |
There is nothing special to be found...
|
ioBroker simulates normal MQTT-Broker, but it is not the same. Why you have problems with retain flag? What is the usecase? |
My vacuum robot has a problem with retained messages. please read https://github.com/Hypfer/Valetudo/issues/991 |
Ok. Understand. Of course I can implement that the server sends messenges without retain.... but somehow the value must be cleared, else the robot will execute last command every time it connects to ioBroker. What about: values with ack=false will be sent to robot and values with ack=true, just overwrite the storage, so by next connection no command will be sent automatically |
That may help and sounds practicable for me. |
Please test 4.0.0 |
Describe the bug
all published messages seems to have the retained flag set, independent from adapter retain flag settings
To Reproduce
Steps to reproduce the behavior:
subscribe some topic with mosquitto_sub with -d option set
Expected behavior
r flag should be 0
Versions:
The text was updated successfully, but these errors were encountered: