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

Updated activity_monitor.c - metadata publishing wrong codes #1023

Merged
merged 1 commit into from
Jun 13, 2020
Merged

Updated activity_monitor.c - metadata publishing wrong codes #1023

merged 1 commit into from
Jun 13, 2020

Conversation

minix1234
Copy link

Found that MQTT activity_start: abeg and activity_end: aend topics where never being published.

background:
Immediately after a play session started a play_end: pend topic was sent. Also after the activity_timout a duplicate play_end was received.

Fix:
This commit fixes those bugs by correctly the metadata codes from "pend" to the correct "abeg" and "aend"

This was tested in my docker development setup on a RPI 3. it worked well

Found that MQTT activity_start: abeg and activity_end: aend topics where never being published. instead immediately after a play session started a play_end: pend topic was sent.  Also after the activity_timout a duplicate play_end was received.

This commit fixes those bugs.
@mikebrady mikebrady merged commit f326fa9 into mikebrady:development Jun 13, 2020
@mikebrady
Copy link
Owner

Many thanks for this!

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

Successfully merging this pull request may close these issues.

2 participants