Github Boards Devices Community Docs Blog

Home_presence does not use MQTT defined prefix

I’m using a topic prefix OMG instead of home/and it’s working fine but expected home_presence releted stuff to be under this prefix.

Looks like it does not take into account the prefix and still publish do home/, but may be it’s by design?

image

Yes you are right, the presence detection root keyword should be OMG and not home, unless we want it to be configurable, and different than the other prefix, but I don’t think it is necessary.

Thanks, so this is a bug? Do I need to open an issue on github?

Yes feel free to open an issue or a PR.