Author Topic: Current Song Information from Onkyo Receiver  (Read 1185 times)

Offline m31356

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Current Song Information from Onkyo Receiver
« on: June 09, 2015, 11:08:16 am »
Is there anyway to pull the current song information from a connected Onkyo Receiver with AutoVera? The information is provided to the Vera through the Onkyo plugin. I would like to this information to be displayed on a wall mounted tablet that would be running a Tasker created app.

Offline m31356

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Current Song Information from Onkyo Receiver
« Reply #1 on: June 18, 2015, 09:39:22 pm »
If anyone is needing this information it can be done outside of AutoVera while on your local network. I am posting this here in the chance that someone finds it via search.

You will need the Onkyo plugin installed.

You can perform a Luup request using HTTP Get in Tasker. Once the response is received in XML you can split it into variables for the information you need. These variables can then be passed to scenes. Below is how to set up a Tasker task to retrieve the artist name, track name, and album name and store them in variables.

HTTP Get settings:
-Server:Port - <your vera ip address>:3480
-Path - data_request?id=status&output_format=xml&DeviceNum=<your Onkyo receiver device ID>

Variable Set:
-Name: %onkyoinfo
-To: %HTTPD

Variable Split:
Name: %onkyoinfo
Splitter: ArtistName" value="

Variable Split:
Name: %onkyoinfo2
Splitter: "

Variable Set:
Name: %artistname
To: %onkyoinfo21

Variable Split:
Name: %onkyoinfo
Splitter: AlbumName" value="

Variable Split:
Name: %onkyoinfo2
Splitter: "

Variable Set:
Name: %albumname
To: %onkyoinfo21

Variable Split:
Name: %onkyoinfo
Splitter: titleName" value="

Variable Split:
Name: %onkyoinfo2
Splitter: "

Variable Set:
Name: %titlename
To: %onkyoinfo21