Author Topic: BLUESOUND app to Vera  (Read 776 times)

Offline pln8421

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
BLUESOUND app to Vera
« on: December 10, 2014, 06:36:27 am »
This highend multiroom HiFi wireless system is an upcomming Brand in parallel to Sonos.
Here I can find downloads to Andreois, IOS Kindle, Windows  Mac OS:
http://www.bluesound.com/downloads/

Is someone working on an App to Vera?


Offline perla8421

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: BLUESOUND app to Vera
« Reply #1 on: May 11, 2017, 04:11:44 am »
Hi again. I found this API. Can someaone skilled in LUUP create an simple APP to Vera
https://helpdesk.bluesound.com/discussions/viewtopic.php?f=4&t=2293

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2341
  • Karma: +107/-136
Re: BLUESOUND app to Vera
« Reply #2 on: May 11, 2017, 09:09:47 am »
You could use LUUP code in scenes to send the http commands in the API example to your speakers.

Example (based on you API link)
 
Code: [Select]
luup.inet.wget("http://192.168.1.38:11000/Play?id=0", 5, "", "")

This will play 1st song from playlist. The "5" is a 5 second delay to allow the http request to be processed by the target.

You can add a variable to parse the result of the http call and determine if it was succesful or not.

Code: [Select]
mysuccess = luup.inet.wget("http://192.168.1.38:11000/Play?id=0", 5, "", "")

mysuccess will hold the return value. As I'm not familiar with bluesound I'm not sure what values it returns and what they indicate.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline perla8421

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: BLUESOUND app to Vera
« Reply #3 on: May 11, 2017, 03:11:30 pm »
Thanks BOFH
Works perfect