So I’ve only had a quick chance to have a go…
Roku doesn’t appear to be working…
And Plex HT seems to crash I think at the point it polls… but not certain…
I also got a java.lang.ClassCastException immediately after the below, but I haven’t had it since…
Plex Windows 10 app does appear to work for home and play/pause… but not for navigation…
Also I think you have broken status reporting, possibly with the device name change in the list…
[index:17, mac:6036DD08DFE5, ip:C0A8190A, port:0BBD, headers:[x-plex-client-identifier:9a199a5c-6037-4cca-b2e5-xxxxxxxxxxxxxx, content-length:76, http/1.1 200 ok:null, access-control-allow-origin:*, content-type:text/xml, date:Tue, 17 Jan 2017 21:55:30 GMT], body:<?xml version="1.0" encoding="utf-8" ?>
<Response code="200" status="OK" />
, header:HTTP/1.1 200 OK
Content-Length: 76
X-Plex-Client-Identifier: 9a199a5c-6037-4cca-b2e5-xxxxxxxxxxx
Content-Type: text/xml
Access-Control-Allow-Origin: *
Date: Tue, 17 Jan 2017 21:55:30 GMT, status:200, data:, xml:]
Also seeing an error in the DTH:
def lastState = device.currentState(‘switch’).getValue();
I think should be:
def lastState = device.currentState(‘switch’).value;
Sorry for the rambling… but just got back and quite tired… I might take another look tomorrow… but have a feeling it’s going to take me a while to work out how all your new code works! and may just be easier for you to work it out… but I may have time over the next couple of days if so I’ll give it a go, you’ve definitely done a lot to get where you have though!!