Hi there,
I’m trying to configure my harmony hub with a .things file e.g. harmony.things
I read the latest information on the bindings documentation page saying:
To manually configure a Harmony Hub thing you may specify its host name (“host”) as well as an optional search timeout value in seconds (“discoveryTimeout”) and optional heart beat interval (heartBeatInterval) in seconds.
In the thing file, this looks e.g. like
Bridge harmonyhub:hub:GreatRoom [ host="192.168.1.100"]
To manually configure a Harmony device thing you may specify its numeric id (“id”) or its name (“name”), but not both. Note that this is prefixed by the hub the device is controlled from.
In the thing file, this looks e.g. like
Bridge harmonyhub:hub:great [ name="Great Room"] {
device denon [ name="Denon AV Receiver"]
}
or
Bridge harmonyhub:hub:great [ name="Great Room"] {
device denon [ id=176254]
}
My approach:
In PaperUI I grabbed the hubs name and the id’s belonging to my auto-discovered devices and hub.
After removing the auto-discovered stuff in PaperUI I tried all 3 described ways to fill my harmony.things file with my auto-discovered data, but none of them worked… the log throws:
[INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'harmony.things'
[WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'harmony.things' is either empty or cannot be parsed correctly!
maybe the documentation entry is not up to date?
I even tried it some other ways like:
Bridge harmonyhub:hub:HarmonyHub [
host="192.168.xxx.xxx"
]
{
Thing device shieldtv [ id="654xxxxx" ] {
Channels:
String : buttonPress
Player : player
}
}
or am I getting something wrong??
the documentation looks very confusing to me …the “ip” is used in the first example but then the “name” is used in the other 2 examples ???
anyone managed textual configuration of harmony things and got it working like described in the documentation?? Or maybe any hints?
cheers Dan