Results 1 to 12 of 12
  • Topic Tools
  • Display
  • Bookmark and Share
  1. #1
    New Member
    Points: 535, Level: 5
    Level completed: 85%, Points required for next Level: 15
    Overall activity: 0%
    Achievements:
    New Achievement!3 months registered500 Experience Points

    Join Date
    Dec 2012
    Location
    Switzerland
    Posts
    6
    Points
    535
    Level
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Control AWx000 devices via http strings (URL calls)

    Hi,

    I am using the AW2000 an AW3000 streaming products, and I want to integrate these in my digitalSTROM system. digitalSTROM has been launched in the Netherlands recently (see www.digitalstrom.nl). It turned my home into a real Smart Home and offers a.o. the possibility to control IP devices via http strings (URL calls).

    For example, I can mute the sound of my IPTV receiver for a few seconds if the doorbell rings, or I can turn off my WiFi access points if I leave home, simply by sending the appropriate http strings to the devices.

    Is there a way to control my AWx000 devices in this way? Something like:
    http://<IP address of AWx000>/api/<command>?<parameter=value>

    There are lots of use cases that would make life much more convenient, like:
    Turn off the device automatically when I leave home and when I go to sleep.
    Turn off the device automatically when I turn on the TV. (digitalSTROM detects turning on/off the TV set by sensing a change in its power consumption)
    Turn on the device and select my favorite station when I wake up in the morning. (digitalSTROM supports sending commands like URL calls at predefined times, so I can use my AWx000 as an alarm clock this way)

    It would be great if someone could send me a document that describes how to control AWx000 in this way.

    Thanks in advance.

    Regards, Erik

  2. #2
    Silver Member
    Points: 2,070, Level: 12
    Level completed: 74%, Points required for next Level: 80
    Overall activity: 19.0%
    Achievements:
    1 year registered1000 Experience PointsNew Achievement!

    Join Date
    Sep 2011
    Posts
    95
    Points
    2,070
    Level
    12
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Rep Power
    4
    I've used Bubbleplayer on my Android phone.
    It gave me a link like ...

    http://192.168.178.32:8889/index

    ... after which you click you see the same as in the Airstudio APP. Saw you've to use Google Chrome or Safari browser. Normal IE won't work.

    Enjoy ...

    (... the IP above shown was the IP assigned to my unit ...)

  3. #3
    New Member
    Points: 535, Level: 5
    Level completed: 85%, Points required for next Level: 15
    Overall activity: 0%
    Achievements:
    New Achievement!3 months registered500 Experience Points

    Join Date
    Dec 2012
    Location
    Switzerland
    Posts
    6
    Points
    535
    Level
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks, but that's not what I'm looking for. I'm looking for a document that describes all possible http strings to control the AWx000 devices. For my dreambox (the sat-receiver I'm using) this document looks as follows:
    http://dream.reichholf.net/wiki/Enigma2:WebInterface

    Is such a document available for the AWx000 products?

    Thanks.

  4. #4
    Silver Member
    Points: 1,698, Level: 11
    Level completed: 50%, Points required for next Level: 152
    Overall activity: 14.0%
    Achievements:
    New Achievement!Tagger Second Class1 year registered1000 Experience Points

    Join Date
    Jan 2013
    Posts
    64
    Points
    1,698
    Level
    11
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    2
    I'm afraid that only parts of the speaker will be directly accesible through URLs. I've experimented a bit with the AW3000 and it seems like the speaker is stateful and some of the urls are relative to what you did last. But as Blechtrottel says, if you know the IP address of your device, you can go to http://{your ip}:8889/index in a browser on a pc. This will allow you to navigate the menus using the browser, and you can use this to dicsover the URLs you need - and whether they are based on the speakers state or not. For example http://{you ip}:8889/nowplay will take you to the Now Playing screen. http://{you ip}:8889/CTRL$STANDBY may set the speaker in standby. I cannot test it myself, since I'm having a problem with my speaker - it will only go in standby using the hardware button.

    Selecting specific music or radio channels seems to be more difficult since this is where the speaker's state kicks in, but try to do a bit of testing with a browser and see how far you can get.

  5. #5
    Silver Member
    Points: 1,698, Level: 11
    Level completed: 50%, Points required for next Level: 152
    Overall activity: 14.0%
    Achievements:
    New Achievement!Tagger Second Class1 year registered1000 Experience Points

    Join Date
    Jan 2013
    Posts
    64
    Points
    1,698
    Level
    11
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    2
    ...But if your automation system allows several sequential URLs as one command, then you should be able to do most things, since you will be able to build up the state.

  6. #6
    Silver Member
    Points: 1,698, Level: 11
    Level completed: 50%, Points required for next Level: 152
    Overall activity: 14.0%
    Achievements:
    New Achievement!Tagger Second Class1 year registered1000 Experience Points

    Join Date
    Jan 2013
    Posts
    64
    Points
    1,698
    Level
    11
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    2
    Thanks, but wrong thread I guess...

  7. #7
    Moderator
    Points: 10,193, Level: 30
    Level completed: 41%, Points required for next Level: 357
    Overall activity: 0%
    Achievements:
    New Achievement!OverdriveVeteran10000 Experience Points
    Philips - QK's Avatar
    Join Date
    Oct 2011
    Posts
    884
    Points
    10,193
    Level
    30
    Thanks
    11
    Thanked 34 Times in 30 Posts
    Rep Power
    10
    Yes, wrong thread. Now moving it back to the correct thread.
    Forum Mod

  8. #8
    New Member
    Points: 296, Level: 3
    Level completed: 46%, Points required for next Level: 54
    Overall activity: 7.0%
    Achievements:
    New Achievement!3 months registered250 Experience Points

    Join Date
    Jan 2013
    Posts
    3
    Points
    296
    Level
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    A RESTful API would be really great.
    So the Community could integrate the speakers in custom apps.

  9. #9
    New Member
    Points: 535, Level: 5
    Level completed: 85%, Points required for next Level: 15
    Overall activity: 0%
    Achievements:
    New Achievement!3 months registered500 Experience Points

    Join Date
    Dec 2012
    Location
    Switzerland
    Posts
    6
    Points
    535
    Level
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Playing around learned that the CTRL$STANDBY command toggles between on and off. The return value "playstate" then shows whether the new state is on or off.

    I need at least a command to turn the device off, regardless of it's current state.

    Reverse engineering is usually not the right way to find out how devices interact with their environment, and for sure it's very time consuming.

    @Philips: if you want the community to integrate your products in a system, a webinterface API document is really needed. Is Philips interested in integration of its products in smart homes?

  10. #10
    Silver Member
    Points: 2,070, Level: 12
    Level completed: 74%, Points required for next Level: 80
    Overall activity: 19.0%
    Achievements:
    1 year registered1000 Experience PointsNew Achievement!

    Join Date
    Sep 2011
    Posts
    95
    Points
    2,070
    Level
    12
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Rep Power
    4
    Hi.
    Why not use a sequence like ...

    <IP-ADDRESS>:8889/index (which turns the set on, no matter what)
    WAIT for 1500ms
    <IP-ADDRESS>:8889/CTRL$STANDBY

    ... for turning off the set ?

    You can mostly decode this by using Google Chrome / Inspect Element / Resources / ...

    As another post mentions above, there seems to be caching in the pages involved. Based on my quick testing, you've always to ask for <IP-ADDRESS>:8889/index to make a clean start.

  11. #11
    Silver Member
    Points: 1,698, Level: 11
    Level completed: 50%, Points required for next Level: 152
    Overall activity: 14.0%
    Achievements:
    New Achievement!Tagger Second Class1 year registered1000 Experience Points

    Join Date
    Jan 2013
    Posts
    64
    Points
    1,698
    Level
    11
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    2
    If the speaker was put in standby while playing, it will resume playing when taken out of standby by going to the index page. This might not be what you want.

  12. #12
    Silver Member
    Points: 2,070, Level: 12
    Level completed: 74%, Points required for next Level: 80
    Overall activity: 19.0%
    Achievements:
    1 year registered1000 Experience PointsNew Achievement!

    Join Date
    Sep 2011
    Posts
    95
    Points
    2,070
    Level
    12
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Rep Power
    4
    Indeed. The set is not defined to have an one by one unique command control protocol. It requires prior knowledge. If no active playback is wanted, dirty tricks have to be applied. Call MP3Link as a source (assuming nothing is hooked up) ...

    But in the end - no free lunch.

Similar Topics

  1. Replies: 5
    Last Post: 10-22-2013, 09:41 AM
  2. TV Video Calls 32PFL4007H/12
    By vucko in forum TV: Software 2012 models
    Replies: 2
    Last Post: 12-14-2012, 08:54 AM
  3. http://www.philips.com/streamium down
    By jagodd in forum Sound: Streamium NP Series (NP3900|NP3700|NP3500|NP3300|NP2900)
    Replies: 0
    Last Post: 09-24-2012, 09:55 PM
  4. HTTP Live Stream and uPnP
    By soussef24 in forum TV: Streaming & Network
    Replies: 4
    Last Post: 04-27-2012, 06:47 PM
  5. net tv webbrowser lacks HTTP authorisation
    By cmeyer in forum Smart TV: Apps
    Replies: 2
    Last Post: 07-20-2011, 10:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •