Hey there.
Im not very good with mqtt but I have it running with owntracks for tracking.
Now I want it to get the camera setting from Dafang Hack Camera via mqtt-discovery.
I have a mqtt.yaml
broker: core-mosquitto
username: !secret mqtt_username
password: !secret mqtt_password
Github instructions tells me to add “discovery: true” & discovery_prefix: homeassistant to my mqtt.yaml. Well that I understand. But when it tells me to do the rest Im lost.
Github instructions then tells me to add ( MOSQUITTOOPTS="-V mqttv311" ) in mqtt.conf, but I dont know where it is. Cant find my mqtt.conf.
Need som help, plz!
My Config in Mosquito broker addon:
{
"logins": [
{
"username": "redacted",
"password": "redacted"
},
{
"username": "redacted",
"password": "redacted"
},
{
"username": "redacted",
"password": "redacted"
}
],
"anonymous": false,
"customize": {
"active": false,
"folder": "mosquitto"
},
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}