volkszaehler / mbmd

ModBus Measurement Daemon - simple reading of data from ModBus meters and grid inverters
BSD 3-Clause "New" or "Revised" License
224 stars 81 forks source link

disable homie via yaml-config #339

Open astrakid opened 5 months ago

astrakid commented 5 months ago

hi, i am trying to disable homie-export via mqtt. in yaml-file i tried [...] homie: [...] but that doesn't stop data being sent with topic "homie". i tried to comment out that line as well without success. how would i disable exporting data to homie-topic?

regards, andre

Caibuk commented 5 months ago

That's something I tried as well with no succes. I don't need the homie topic in my eco system.

SchumacherFM commented 4 months ago

Set any occurence of mqtt.homie in yaml or --mqtt-homie to an empty string and it will be disabled. for the cli it looks like --mqtt-homie=

andig commented 4 months ago

Happy to take a PR that makes Homie opt-in or even removes it.

Caibuk commented 3 months ago

Thanks to @SchumacherFM's hint I got finally rid of the homie topic defining this in my mbmd.yaml:

mqtt:
  homie: ''