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

template update configuration needed #43

Open
tednv opened this issue Jul 30, 2019 · 1 comment
Open

template update configuration needed #43

tednv opened this issue Jul 30, 2019 · 1 comment

Comments

@tednv
Copy link

tednv commented Jul 30, 2019

configuration.yaml has:

# Change MQTT_TOPIC_PREFIX to what you've set in addon options

and addon configuration template is:

"mqtt": {
    "broker_url": "mqtt://localhost",
},
"devices": [
  {
    "hvac_host": "192.168.0.255",
    "mqtt_topic_prefix": "/home/hvac01"
  },
  {
    "hvac_host": "192.168.0.254",
    "mqtt_topic_prefix": "/home/hvac02"
  }
]

so if there are multiple devices, topic prefix is different for each device, so what should the global configuration prefix be?

@arthurkrupa
Copy link
Owner

If you provide the prefix at the device level, you can skip the global option. I've only kept it for backward compatibility.

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

No branches or pull requests

2 participants