Sonos ist eingebunden (via Sonos.Thing und Sonos.Items, nicht via GUI, da ich da dort kein notification volume setzen kann) und ist online.
Thing:
Code: Alles auswählen
Thing sonos:CONNECTAMP:EZ_Sonos [udn="RINCON_000E58DA829401400", refresh=60, notificationVolume=50]
Code: Alles auswählen
Group EZ_Sonos (Sonos)
Player EZ_Sonos_Control "Control" <sonos_control> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX400:control"}
String EZ_Sonos_CurrentAlbum "Album [%s]" <sonos_album> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX00:currentalbum"}
String EZ_Sonos_CurrentArtist "Artist [%s]" <sonos_artist> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX400:currentartist"}
String EZ_Sonos_CurrentTitle "Title [%s]" <sonos_title> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX1400:currenttitle"}
String EZ_Sonos_CurrentTrack "Track [%s]" <sonos_track> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX400:currenttrack"}
Switch EZ_Sonos_Led "Led" <sonos_led> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX00:led"}
Switch EZ_Sonos_Mute "Mute" <sonos_mute> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX400:mute"}
String EZ_Sonos_NotificationSound "Notification Sound [%s]" <sonos_notification> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX400:notificationsound"}
Dimmer EZ_Sonos_Notificationsoundvolume "Notification Sound Volume" <soundvolume> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_0XX1400:notificationvolume"}
String EZ_Sonos_State "State [%s]" <sonos_state> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX00:state"}
Switch EZ_Sonos_Stop "Stop" <sonos_stop> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX00:stop", autoupdate="false"}
Dimmer EZ_Sonos_Volume "Volume" <soundvolume> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX400:volume"}
String EZ_Sonos_ZoneName "Zone Name [%s]" <sonos_zone> (EZ_Sonos) {channel="sonos:CONNECTAMP:RINCON_XX400:zonename"}
Code: Alles auswählen
sitemap Sonosvat label="Musik"
{
Frame label="Sonos Esszimmer" {
Default item=EZ_Sonos_Control
Slider item=EZ_Sonos_Volume
Switch item=EZ_Sonos_Mute
Switch item=EZ_Sonos_Led
Text item=EZ_Sonos_CurrentTrack
Text item=EZ_Sonos_State
}
}
Code: Alles auswählen
240 | Active | 80 | 2.2.0.201712061958 | PollyTSS Voice Service
241 | Active | 80 | 0.10.0.b1 | Sonos Binding
Say() in eine rule eingebunden (in dieser Rule klappt die Ausgabe an default spreaker, also ohne die beiden hinteren Argumente)
Code: Alles auswählen
say("Die Kinder haben den Eisschrank offengelassen", "pollytts:Marlene", "sonos:CONNECTAMP:EZ_Sonos")
Code: Alles auswählen
17:18:46.086 [DEBUG] [ice.pollytts.internal.PollyTTSService] - Synthesize 'Die Kinder haben den Eisschrank offengelassen' in format AudioFormat [codec=MP3, container=NONE, bitDepth=16, bitRate=64000, frequency=22050]
17:18:46.117 [DEBUG] [ice.pollytts.internal.PollyTTSService] - voice UID: 'pollytts:Marlene' voice Label: 'Marlene' voice Locale: de_DE
17:18:46.133 [DEBUG] [api.CachedPollyTTSCloudImplementation] - PollyTTS cache cleaner lastdelete 3378685
17:18:46.133 [DEBUG] [ice.pollytts.internal.PollyTTSService] - Audio Stream for 'Die Kinder haben den Eisschrank offengelassen' in format AudioFormat [codec=MP3, container=NONE, bitDepth=16, bitRate=64000, frequency=22050]