I have just done implementing Kodi Binding into my Openhab …
For the control of an film e.g. I use the following part:
Player myKodi_control “Control” (gkodi) {channel = “kodi: kodi: 9e794614-c279-cc63-1a57-44d77855023a: control”} → this works perfectly
BUT how can I move in the UI? Like up, right, left, down and make a selection (Okay), etc.
… in the documentation of the binding I read something from:
input
inputText
inputaction
however I do … nothing works with moving in the UI …
Now you have to put it into a Sitemap - I would suggest to use a Selection Element with a mapping for the relevant Commands - or use a rule to send Commands to it …
My OH2 Version is: openHAB 2.4.0-1 (Release Build)
And my Sitemap looks so:
sitemap Home label="Home" {
Frame label="Keller" icon="cellar" {
Group item=C_Boiler
Group item=C_Corridor
Group item=C_Holzlager
Group item=C_Technik
}
Frame label="Erdgeschoss" icon="groundfloor" {
Group item=GF_Corridor
Group item=GF_Office
Group item=GF_LaundryRoom
Group item=GF_Dining
Group item=GF_Kitchen
Group item=GF_Gasteklo
Group item=GF_Wardrobe
Group item=GF_LivingRoom
}
Frame label="Zweiter Stock" icon="attic" {
Group item=F2_Bedroom
Group item=F2_Bathroom
Group item=F2_Corridor
Group item=F2_Jan
Group item=F2_Mark
Group item=F2_Lukas
Group item=F2_StorageRoom
}
Frame label="Draußen" icon="garden" {
Group item=OU_FrontYard
}
Frame label="Dachgeschoss" icon="attic" {
Group item=AT_Dachgeschoss
}
Frame label="Einliegerwohnung" icon="none" {
Group item=E_Bathroom
Group item=E_Kitchen
Group item=E_LivingRoom
Group item=E_Bedroom
Group item=E_Windfang
}
Frame label="Garage" icon="none" {
Group item=G_Garage
}
}