Skip to content

Retained MQTT messages are not cleared when MQTT is disabled, should they? #284

Closed

Description

@reef-actor

Describe the bug
When MQTT is enabled there are some retained messages created such as motion_image, sound_detection etc.
When MQTT is disabled these are left in the broker. Would it make sense (is it good practice?) for these to be cleared from the broker?

To Reproduce
Steps to reproduce the behaviour:

  1. Enable MQTT
  2. Allow some retained messages to be sent
  3. Disable MQTT
  4. Retained messages are retained

Expected behaviour
Retained messages are cleared.

Set Up Details (please complete the following information):

  • Firmware Version: 0.4.0
  • Device: Yi Outdoor
  • Model: 9CUS

Activity

  1. Repository owner locked and limited conversation to collaborators on Aug 14, 2023
  2. converted this issue into a discussion #285 on Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions