Skip to content
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

Motion state MQTT message is retained message #74

Open
Goose66 opened this issue Jan 28, 2024 · 3 comments
Open

Motion state MQTT message is retained message #74

Goose66 opened this issue Jan 28, 2024 · 3 comments

Comments

@Goose66
Copy link

Goose66 commented Jan 28, 2024

Since motion state is intended to be an "event," i.e. only "detected" will be sent on motion and never "clear," can the retained message on the motionStatus message sent in sendMotionStatus() be sent with the retainedmessage flag set to "false" instead of "true?" That way, when a integration is restarted or forced to reconnect/resubscribe to the MQTT topics, it won't pickup the last motion "event" that probably occurred some time ago.

This was discussed as an alternative in another issue, but the issue got closed without having a chance to discuss or consider.

@sejgit
Copy link

sejgit commented Jan 29, 2024

upvote for this one please.

@graydavidw
Copy link

Yes that would be beneficial .

PaulWieland added a commit that referenced this issue Feb 29, 2024
@haffi78
Copy link

haffi78 commented Mar 3, 2024

Vote here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants