Roku Support

Thanks BK, but I’ve found that the only thing that works is to put very stripped-out items in the .items file

(e.g.)
Switch RokuPlayPause “Roku PlayPause”

then a corresponding rule in a .rules file

(e.g.)
rule “RokuPlay” when
Item RokuPlayPause changed
then
executeCommandLine(“curl -XPOST http://192.168.0.10:8060/keypress/play”)
end

and then it all seems to work OK.

Thanks also for posting your widget; just one thing, do you know how to make the “Play” button a toggle as once it sends “On” then Roku is paused and the actual button on the remote control is a toggle On/Off = Play/Pause??

Thanks again for your help; I only heard of openHAB on Monday so I’m on a very steep learning curve :slight_smile: