Hello,
I recently got a Dreambox and I would like to control it using Indigo.
At the moment I use CURL to send a http-request. Now i would like to put the return answer from Dreambox in a variable in Indigo. I found one post with the same sort of question but sadly with no response.
Could someone help me with how to do this in Applescript or Python? I know there are some references to NOAA Weather Script as an example for how to do this. But it is to complex for me.
So for example:
Request:
http://dreambox/web/vol
Result:
<?xml version="1.0" encoding="utf-8"?>
<e2volume>
<e2result>True</e2result>
<e2resulttext>state</e2resulttext>
<e2current>5</e2current>
<e2ismuted>False</e2ismuted>
</e2volume>
Is there a simple scrip I can use?
Any help on this is appreciated.
Greetings,
Adrian