Plugin Songs et sonos

Bonjour, j’utilise actuellement ce plugin pour un scénario de sonnette, j’ai uploader un mp3 d’un son de sonnette et dans mon scénario j’utilise la fonction Dire de mes Sonos avec comme message #sonnette#.

Le TTS du Sonos semble être correctement configuré car le mp3 est bien copié sur le share samba de mon NAS, par contre aucun de mes Sonos ne joue le son en question.

J’ai tenté avec une phrase bidon et la aussi un mp3 de cette phrase est bien créé dans le share samba mais aucun son ne sort des Sonos…

Avez vous une idée du problème ?

Merci.

Thomas.

Bonjour,
Ta question aurait plus ca place sur le plugin sonos je pense. Après la sans log il est impossible de dire quoique ce soit.

Donc faudrait poster les logs et aussi lancer l’application desktop sonos, lancer un tts et voir si ya un message d’erreur. Les cas comme toi vienne souvent d’une mauvais configuration du partage samba (exemple coté jeedom en ip et coté sonos en nom de machine)

Bonjour,

oui cela peut être déplacé dans le thread pour le plugin Sonos.

Voici les logs du plugin Sonos quand je lance mon scénario :

[2019-10-08 16:08:31][INFO] : creating speaker instances
[2019-10-08 16:08:31][NOTICE] : requesting xml from: http://192.168.1.50:1400/xml/device_description.xml
[2019-10-08 16:08:31][DEBUG] : 192.168.1.50 model: S12
[2019-10-08 16:08:31][INFO] : getting xml from cache: http://192.168.1.50:1400/xml/device_description.xml
[2019-10-08 16:08:31][INFO] : sending soap request to: http://192.168.1.50:1400/ZoneGroupTopology/Control
[2019-10-08 16:08:31][DEBUG] : REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:schemas-upnp-org:service:ZoneGroupTopology:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:GetZoneGroupAttributes><InstanceID xsi:type="xsd:string">0</InstanceID></ns1:GetZoneGroupAttributes></SOAP-ENV:Body></SOAP-ENV:Envelope>
[2019-10-08 16:08:31][DEBUG] : RESPONSE: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupAttributesResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><CurrentZoneGroupName>Cuisine</CurrentZoneGroupName><CurrentZoneGroupID>RINCON_347E5C938B7701400:3767555692</CurrentZoneGroupID><CurrentZonePlayerUUIDsInGroup>RINCON_949F3EF1EA1801400</CurrentZonePlayerUUIDsInGroup><CurrentMuseHouseholdId>Sonos_26REirr8DP9s715K8MTWQ0Haol.bNgqzl6X2rFMiErxjqrm</CurrentMuseHouseholdId></u:GetZoneGroupAttributesResponse></s:Body></s:Envelope>
[2019-10-08 16:08:31][NOTICE] : requesting xml from: http://192.168.1.56:1400/xml/device_description.xml
[2019-10-08 16:08:31][DEBUG] : 192.168.1.56 model: S12
[2019-10-08 16:08:31][INFO] : getting xml from cache: http://192.168.1.56:1400/xml/device_description.xml
[2019-10-08 16:08:31][INFO] : sending soap request to: http://192.168.1.56:1400/ZoneGroupTopology/Control
[2019-10-08 16:08:31][DEBUG] : REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:schemas-upnp-org:service:ZoneGroupTopology:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:GetZoneGroupAttributes><InstanceID xsi:type="xsd:string">0</InstanceID></ns1:GetZoneGroupAttributes></SOAP-ENV:Body></SOAP-ENV:Envelope>
[2019-10-08 16:08:31][DEBUG] : RESPONSE: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupAttributesResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><CurrentZoneGroupName>Dressing</CurrentZoneGroupName><CurrentZoneGroupID>RINCON_7828CAA4C2A801400:1323306064</CurrentZoneGroupID><CurrentZonePlayerUUIDsInGroup>RINCON_7828CAA4C2A801400</CurrentZonePlayerUUIDsInGroup><CurrentMuseHouseholdId>Sonos_26REirr8DP9s715K8MTWQ0Haol.bNgqzl6X2rFMiErxjqrm</CurrentMuseHouseholdId></u:GetZoneGroupAttributesResponse></s:Body></s:Envelope>
[2019-10-08 16:08:31][NOTICE] : requesting xml from: http://192.168.1.68:1400/xml/device_description.xml
[2019-10-08 16:08:31][DEBUG] : 192.168.1.68 model: S14
[2019-10-08 16:08:31][INFO] : getting xml from cache: http://192.168.1.68:1400/xml/device_description.xml
[2019-10-08 16:08:31][INFO] : sending soap request to: http://192.168.1.68:1400/ZoneGroupTopology/Control
[2019-10-08 16:08:31][DEBUG] : REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:schemas-upnp-org:service:ZoneGroupTopology:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:GetZoneGroupAttributes><InstanceID xsi:type="xsd:string">0</InstanceID></ns1:GetZoneGroupAttributes></SOAP-ENV:Body></SOAP-ENV:Envelope>
[2019-10-08 16:08:31][DEBUG] : RESPONSE: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupAttributesResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><CurrentZoneGroupName>Salon</CurrentZoneGroupName><CurrentZoneGroupID>RINCON_347E5C938B7701400:3767555693</CurrentZoneGroupID><CurrentZonePlayerUUIDsInGroup>RINCON_347E5C938B7701400</CurrentZonePlayerUUIDsInGroup><CurrentMuseHouseholdId>Sonos_26REirr8DP9s715K8MTWQ0Haol.bNgqzl6X2rFMiErxjqrm</CurrentMuseHouseholdId></u:GetZoneGroupAttributesResponse></s:Body></s:Envelope>
[2019-10-08 16:08:31][INFO] : sending soap request to: http://192.168.1.50:1400/MediaRenderer/AVTransport/Control
[2019-10-08 16:08:31][DEBUG] : REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:schemas-upnp-org:service:AVTransport:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:GetMediaInfo><InstanceID xsi:type="xsd:string">0</InstanceID></ns1:GetMediaInfo></SOAP-ENV:Body></SOAP-ENV:Envelope>
[2019-10-08 16:08:31][DEBUG] : RESPONSE: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetMediaInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><NrTracks>13</NrTracks><MediaDuration>NOT_IMPLEMENTED</MediaDuration><CurrentURI>x-rincon-queue:RINCON_949F3EF1EA1801400#0</CurrentURI><CurrentURIMetaData></CurrentURIMetaData><NextURI></NextURI><NextURIMetaData></NextURIMetaData><PlayMedium>NETWORK</PlayMedium><RecordMedium>NOT_IMPLEMENTED</RecordMedium><WriteStatus>NOT_IMPLEMENTED</WriteStatus></u:GetMediaInfoResponse></s:Body></s:Envelope>
[2019-10-08 16:08:32][DEBUG] : Invalid login
[2019-10-08 16:08:33][DEBUG] : Invalid login
[2019-10-08 16:08:34][DEBUG] : Invalid login
[2019-10-08 16:08:35][DEBUG] : Invalid login
[2019-10-08 16:08:35][DEBUG] : Invalid login
[2019-10-08 16:08:36][DEBUG] : Invalid login
[2019-10-08 16:08:37][DEBUG] : Invalid login
[2019-10-08 16:08:38][DEBUG] : Invalid login
[2019-10-08 16:08:39][DEBUG] : Invalid login
[2019-10-08 16:08:40][DEBUG] : Invalid login
[2019-10-08 16:08:41][DEBUG] : Invalid login
[2019-10-08 16:08:42][DEBUG] : Invalid login
[2019-10-08 16:08:43][DEBUG] : Invalid login
[2019-10-08 16:08:44][DEBUG] : Invalid login
[2019-10-08 16:08:45][DEBUG] : Invalid login
[2019-10-08 16:08:46][DEBUG] : Invalid login
[2019-10-08 16:08:47][DEBUG] : Invalid login
[2019-10-08 16:08:48][DEBUG] : Invalid login
[2019-10-08 16:08:49][DEBUG] : Invalid login
[2019-10-08 16:08:49][DEBUG] : Invalid login
[2019-10-08 16:08:50][DEBUG] : Invalid login
[2019-10-08 16:08:50][INFO] : sending soap request to: http://192.168.1.68:1400/MediaRenderer/AVTransport/Control
[2019-10-08 16:08:50][DEBUG] : REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:schemas-upnp-org:service:AVTransport:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:GetMediaInfo><InstanceID xsi:type="xsd:string">0</InstanceID></ns1:GetMediaInfo></SOAP-ENV:Body></SOAP-ENV:Envelope>
[2019-10-08 16:08:50][DEBUG] : RESPONSE: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetMediaInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><NrTracks>0</NrTracks><MediaDuration>NOT_IMPLEMENTED</MediaDuration><CurrentURI>x-sonosapi-radio:nr_80ppm4dNfINFyZzt3vw0mn6UtIQut6dWouabFKcpkuVzsrgJtnl366HFP2Xb9BByrenvQYL0p1_8J3WMlytxnPjULGsaD?sid=151&amp;flags=8300&amp;sn=1</CurrentURI><CurrentURIMetaData>&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;100c206cnr_80ppm4dNfINFyZzt3vw0mn6UtIQut6dWouabFKcpkuVzsrgJtnl366HFP2Xb9BByrenvQYL0p1_8J3WMlytxnPjULGsaD&quot; parentID=&quot;0&quot; restricted=&quot;true&quot;&gt;&lt;dc:title&gt;California hip-hop : 100% relax&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.audioItem.audioBroadcast&lt;/upnp:class&gt;&lt;upnp:albumArtURI&gt;http://lh3.googleusercontent.com/3hoReOgqHu1qWLP8Kb1OxIsx9AebvUcpK_fRKPumBQ-ONlL9kzgZbe23Cg=s512-p&lt;/upnp:albumArtURI&gt;&lt;r:description&gt;Calme&lt;/r:description&gt;&lt;desc id=&quot;cdudn&quot; nameSpace=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot;&gt;SA_RINCON38663_X_#Svc38663-0-Token&lt;/desc&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</CurrentURIMetaData><NextURI></NextURI><NextURIMetaData></NextURIMetaData><PlayMedium>NETWORK</PlayMedium><RecordMedium>NOT_IMPLEMENTED</RecordMedium><WriteStatus>NOT_IMPLEMENTED</WriteStatus></u:GetMediaInfoResponse></s:Body></s:Envelope>
[2019-10-08 16:08:50][INFO] : sending soap request to: http://192.168.1.68:1400/MediaRenderer/AVTransport/Control
[2019-10-08 16:08:50][DEBUG] : REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:schemas-upnp-org:service:AVTransport:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:SetAVTransportURI><CurrentURI xsi:type="xsd:string">x-rincon-queue:RINCON_347E5C938B7701400#0</CurrentURI><CurrentURIMetaData xsi:type="xsd:string"></CurrentURIMetaData><InstanceID xsi:type="xsd:string">0</InstanceID></ns1:SetAVTransportURI></SOAP-ENV:Body></SOAP-ENV:Envelope>
[2019-10-08 16:08:50][DEBUG] : RESPONSE: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SetAVTransportURIResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:SetAVTransportURIResponse></s:Body></s:Envelope>
[2019-10-08 16:08:51][DEBUG] : Invalid login
[2019-10-08 16:08:52][DEBUG] : Invalid login
[2019-10-08 16:08:53][DEBUG] : Invalid login
[2019-10-08 16:08:54][DEBUG] : Invalid login
[2019-10-08 16:08:55][DEBUG] : Invalid login
[2019-10-08 16:08:56][DEBUG] : Invalid login
[2019-10-08 16:08:57][DEBUG] : Invalid login
[2019-10-08 16:08:58][DEBUG] : Invalid login
[2019-10-08 16:08:58][DEBUG] : Invalid login
[2019-10-08 16:08:59][DEBUG] : Invalid login
[2019-10-08 16:09:00][DEBUG] : Invalid login
[2019-10-08 16:09:01][DEBUG] : Invalid login
[2019-10-08 16:09:02][DEBUG] : Invalid login
[2019-10-08 16:09:03][DEBUG] : Invalid login
[2019-10-08 16:09:04][DEBUG] : Invalid login
[2019-10-08 16:09:05][DEBUG] : Invalid login
[2019-10-08 16:09:06][DEBUG] : Invalid login
[2019-10-08 16:09:07][DEBUG] : Invalid login
[2019-10-08 16:09:08][DEBUG] : Invalid login
[2019-10-08 16:09:09][DEBUG] : Invalid login
[2019-10-08 16:09:10][DEBUG] : Invalid login
[2019-10-08 16:09:10][INFO] : sending soap request to: http://192.168.1.56:1400/MediaRenderer/AVTransport/Control
[2019-10-08 16:09:10][DEBUG] : REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:schemas-upnp-org:service:AVTransport:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:GetMediaInfo><InstanceID xsi:type="xsd:string">0</InstanceID></ns1:GetMediaInfo></SOAP-ENV:Body></SOAP-ENV:Envelope>
[2019-10-08 16:09:10][DEBUG] : RESPONSE: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetMediaInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><NrTracks>18</NrTracks><MediaDuration>NOT_IMPLEMENTED</MediaDuration><CurrentURI>x-rincon-queue:RINCON_7828CAA4C2A801400#0</CurrentURI><CurrentURIMetaData></CurrentURIMetaData><NextURI></NextURI><NextURIMetaData></NextURIMetaData><PlayMedium>NETWORK</PlayMedium><RecordMedium>NOT_IMPLEMENTED</RecordMedium><WriteStatus>NOT_IMPLEMENTED</WriteStatus></u:GetMediaInfoResponse></s:Body></s:Envelope>
[2019-10-08 16:09:10][DEBUG] : Invalid login
[2019-10-08 16:09:11][DEBUG] : Invalid login
[2019-10-08 16:09:12][DEBUG] : Invalid login
[2019-10-08 16:09:13][DEBUG] : Invalid login
[2019-10-08 16:09:14][DEBUG] : Invalid login
[2019-10-08 16:09:15][DEBUG] : Invalid login
[2019-10-08 16:09:16][DEBUG] : Invalid login
[2019-10-08 16:09:17][DEBUG] : Invalid login
[2019-10-08 16:09:18][DEBUG] : Invalid login
[2019-10-08 16:09:19][DEBUG] : Invalid login
[2019-10-08 16:09:19][DEBUG] : Invalid login
[2019-10-08 16:09:20][DEBUG] : Invalid login
[2019-10-08 16:09:21][DEBUG] : Invalid login
[2019-10-08 16:09:22][DEBUG] : Invalid login
[2019-10-08 16:09:23][DEBUG] : Invalid login
[2019-10-08 16:09:24][DEBUG] : Invalid login
[2019-10-08 16:09:25][DEBUG] : Invalid login
[2019-10-08 16:09:26][DEBUG] : Invalid login
[2019-10-08 16:09:27][DEBUG] : Invalid login
[2019-10-08 16:09:28][DEBUG] : Invalid login
[2019-10-08 16:09:29][DEBUG] : Invalid login

Je n’utilise pas l’application desktop de Sonos il faudrait ? Pour moi la configuration du partage est correcte car le fichier mp3 qui contient le son d’une sonnette est bien copié sur mon NAS et il y a du son.

Le fichier peut etre la et la configuration invalide, il faut bien avoir configuré les sonos et jeedom avec la meme chose (exactement). Si tu mets l’ip vers ton partage dans jeedom et que dans l’application sonos tu as mis le nom de la machine tu auras bien le fichier mp3 mais ca ne pourra pas le lire

Donc si je comprend bien il faut absolument passer par l’application desktop Sonos pour que tout fonctionne ?

Je vais tester de configurer cela en rentrant alors.

Merci.

Non pas du tout c’est possible de le faire par l’application android aussi il faut juste bien configurer le nas dans sonos pour qu’il puisse aller chercher le mp3

Ok je voit il faut ajouter une source qui sera le NAS avec la même configuration que sur Jeedom c’est cela ?

Oui c’est ca

C’est tout bon ça fonctionne comme il faut :grinning:

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.