Dreambox

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Sat Mar 03, 2012 9:51 am
Vaillant offline
Posts: 105
Joined: Nov 06, 2011
Location: Belgium

Dreambox

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

Posted on
Sat Mar 03, 2012 12:45 pm
matt (support) offline
Site Admin
User avatar
Posts: 21421
Joined: Jan 27, 2003
Location: Texas

Re: Dreambox

Hi Adrian,

Take a look at the source for both the NOAA Weather and WeatherSnoop plugins. They both get XML from an IP and parse it.

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests