Multiple Hubs!
Harmony API 2.0
Harmony API now supports multiple Harmony hubs.
Breaking Changes
HTTP
endpoints and MQTT
topics have changed. They are now namespaced by your hub's name.
An example HTTP
endpoint is: /hubs/family-room/activities
. An example MQTT
state topic is harmony-api/hubs/family-room/activities/watch-tv/state
.
Anything you're integrating with Harmony API, needs to update the HTTP
endpoints it's using, or the MQTT
topics that it's using.
How to upgrade to 2.0
run script/upgrade
from the root of the project.
Change all of your HTTP
endpoints and MQTT
topics to use the new correct format.