Arrows layout

For the moment I’m playing with the kodi (xbmc) binding.
And it start to works! :wink: Why do I wait so long to put these things in place? :blush:

I’ve create some items that I’ve put on sitemap to control the kodi machine (up, down, left, right, select, back…). Everything is working great, but you can image, the layout could be better.

Is there any solution (workaround) to get a more ‘arrow platform’?
I was thinking of something like

I tried to create a mapping based on an oknyo layout. But it seems that the commands are a bit different. :blush:

When I use following settings, it works, but everything is of course on 1 line.

items:
Switch  XBMClivingRoom_LEFT { xbmc=">[#livingRoom|Input.ExecuteAction.left]", autoupdate="false" }

sitemap:
Switch item=XBMClivingRoom_UP mappings=[ON="UP"]

I was trying to following the Onkyo example to get the same result. But I’m stuck. I guess it’s the way the commands are sent towards kodi (with ON instead of fe LEFT)?

items:
Switch XBMClivingRoomNav  { xbmc=">[#livingRoom|Input.ExecuteAction.%s]", autoupdate="false" }

sitemap:
Switch item=XBMClivingRoomNav mappings=[left="LEFT", select="SELECT", right="RIGHT"]

I’m getting following error:

[thome.io.rest.core.item.ItemResource] - Received HTTP POST request at 'items/XBMClivingRoomNav' with an invalid status value 'left'