We have moved at community.getvera.com

Author Topic: Sonos bridge and more generally device_description.xml file  (Read 25045 times)

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Sonos bridge and more generally device_description.xml file
« Reply #30 on: December 31, 2012, 10:52:36 am »
Alternatively it uses the :device:DigitalSecurityCamera1, xmls if that helps

Oups sorry, I see it now, I have even D_DigitalSecurityCamera1 and D_DigitalSecurityCamera2

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Sonos bridge and more generally device_description.xml file
« Reply #31 on: December 31, 2012, 11:13:41 am »
Ok, I don't know how MCV is managing IP Camera. Maybe they copy regurlary the snapshot in a certain file in the Vera (the file use as icon by the device) ?

At my knowloedge, there is no way to have a dynamic link as icon of a device.

But what I imagine for the IP camera gives me an interesting idea. I could automatically copy the image from the Sonos unit in the Vera, no need to have the images in the plugin. And with such a solution, we could probably have the album art as icon.
To be investiguated. We have to avoid to make to many file copy...

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
Re: Sonos bridge and more generally device_description.xml file
« Reply #32 on: January 11, 2013, 11:24:46 am »
just check my play 3:

<icon>
<id>0</id>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/img/icon-S3.png</url>
</icon>
« Last Edit: January 11, 2013, 11:26:32 am by wseverino »
My ZWave Network: Too friggin big to list.....

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
Re: Sonos bridge and more generally device_description.xml file
« Reply #33 on: January 11, 2013, 11:29:30 am »
Also the ZP100 in the current D_Sonos1 shows up as the sonos_0 icon.
My ZWave Network: Too friggin big to list.....

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Sonos bridge and more generally device_description.xml file
« Reply #34 on: January 14, 2013, 05:06:30 pm »
Also the ZP100 in the current D_Sonos1 shows up as the sonos_0 icon.
Could you check the value of the tag modelnumber?

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
Re: Sonos bridge and more generally device_description.xml file
« Reply #35 on: January 21, 2013, 04:33:04 pm »
Shows 0.
My ZWave Network: Too friggin big to list.....

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Sonos bridge and more generally device_description.xml file
« Reply #36 on: January 21, 2013, 04:37:10 pm »
Coud you copy the first part of the XML so that I can see what I can use ?

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
Re: Sonos bridge and more generally device_description.xml file
« Reply #37 on: January 21, 2013, 04:39:16 pm »
Code: [Select]
<device>
<deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>
<friendlyName>192.168.0.5 - Sonos ZP100</friendlyName>
<manufacturer>Sonos, Inc.</manufacturer>
<manufacturerURL>http://www.sonos.com</manufacturerURL>
<modelNumber>ZP100</modelNumber>
<modelDescription>Sonos ZP100</modelDescription>
<modelName>Sonos ZP100</modelName>
<modelURL>http://www.sonos.com/products/zoneplayers/ZP100</modelURL>
<softwareVersion>19.4-60120</softwareVersion>
<hardwareVersion>1.1.3.2-1</hardwareVersion>
<serialNum>00-0E-58-12-92-40:A</serialNum>
<UDN>uuid:RINCON_000E5812924001400</UDN>
<iconList>
<icon>
<id>0</id>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/img/icon-ZP100.png</url>
</icon>
</iconList>
<minCompatibleVersion>19.4-00000</minCompatibleVersion>
<displayVersion>3.8.4</displayVersion>
<extraVersion>m16: 1.0-12170 r8: 0.8-16</extraVersion>
<roomName>Bonus Room</roomName>
<displayName>ZP100</displayName>
<zoneType>2</zoneType>
<feature1>0x05010001</feature1>
<feature2>0x000061b2</feature2>
<feature3>0x00000031</feature3>
<internalSpeakerSize>-1</internalSpeakerSize>
My ZWave Network: Too friggin big to list.....

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Sonos bridge and more generally device_description.xml file
« Reply #38 on: January 22, 2013, 01:21:49 am »
OK. ZP100 is the string I needed. Can you provide the icon now ?

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
Re: Sonos bridge and more generally device_description.xml file
« Reply #39 on: January 23, 2013, 08:40:49 pm »
here ya go!
My ZWave Network: Too friggin big to list.....

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Sonos bridge and more generally device_description.xml file
« Reply #40 on: January 25, 2013, 05:57:49 pm »
It looks like the icon for ZP100 and ZP120 are the same...

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Sonos bridge and more generally device_description.xml file
« Reply #41 on: January 25, 2013, 06:14:01 pm »
Code committed to manage S3 and ZP100 icons.