castalla wrote:
> So, using the LMS dropdown for Roberts upnp player .. On/off has no
> effect
I've been investifating the Fontier Silicon API, which I -think- these
players use. Are you familiar with commandline tools? e.g. curl or wget?
Would you mind experimenting? If so here are some simple tests:
Most API calls need a session, which I believe is created by calling:
Code:
--------------------
curl http://192.168.1.1/fsapi/CREATE_SESSION?pin=1234
--------------------
Replace -192.168.1.1- with the IP address of your S1. -1234- seems to be
the default PIN. But this can be set in a menu? If you have not set one,
try 1234.
If the above command fails, it could be the port number that is wrong,
so try:
Code:
--------------------
curl http://192.168.1.1:2244/fsapi/CREATE_SESSION?pin=1234
--------------------
If that (or the previous) succeeds, then somewhere in the response
should be the session ID. You then need to use that in all other calls.
The following should return the power state. (Again, replace
-192.168.1.1- with S1's IP, and you might need -:2244- as well'
Code:
--------------------
curl http://192.168.1.1/fsapi/GET/netRemote.sys.power?pin=1234&sid=150145723
--------------------
Did that return anything?
The following should be able to set the power state. I've used
-value=off-, but it migh tbe -value=0- or someother value. I'm guessing
that the response to the power query above would help determine what
value to use here.
Code:
--------------------
curl
http://192.168.1.1/fsapi/SET/netRemote.sys.power?pin=1234&sid=150145723&value=off
--------------------
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins