Author Topic: Random Sonos system messages  (Read 343 times)

Offline dclloyd

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Random Sonos system messages
« on: July 23, 2017, 09:05:31 am »
App is installed and working great, TTS with Resposevoice.  However every few minutes it'll announce "Living Room faulted" and then "Living Room restored". It'll do the same with "Dining Room" which interestingly is a room I no longer have on my Sonos system.  Anyone know how to make this stop?

Offline dclloyd

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Re: Random Sonos system messages
« Reply #1 on: July 23, 2017, 09:31:35 am »
App is installed and working great, TTS with Resposevoice.  However every few minutes it'll announce "Living Room faulted" and then "Living Room restored". It'll do the same with "Dining Room" which interestingly is a room I no longer have on my Sonos system.  Anyone know how to make this stop?

Interestingly it's reading Vera system messages too: e.g. When I open a door??

Offline dclloyd

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Re: Random Sonos system messages
« Reply #2 on: July 23, 2017, 09:49:28 am »
Aaaaaaaand never mind ... I had a setting in my security app that was triggering!

Offline sebby

  • Full Member
  • ***
  • Posts: 207
  • Karma: +7/-3
Re: Random Sonos system messages
« Reply #3 on: July 23, 2017, 11:32:31 am »
what security app are you using?  trying to get sonos to tell me when doors open and close.

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2410
  • Karma: +112/-139
Re: Random Sonos system messages
« Reply #4 on: July 23, 2017, 03:10:07 pm »
That's easy. Put a door/window sensor on each door you want a Sonos Alert on.
Run a scene with below LUUP code when the sensor alerts open.

luup.call_action("urn:micasaverde-com:serviceId:Sonos1", "Say",{Text="Attention  The xxxxxxx door has been opened ", Language="en-US", GroupZones="ALL", Volume=75, SameVolumeForAll="true"}, SONOS_DEVICE_ID)

make sure to set SONOS_DEVICE_ID to the ID of the Sonos device that's your main one and replace xxxxxxx in teh text with the name of the door that opened.

A normal door lock device does not seem to alert for open. Only unlock. Hence the door/window sensor.
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 dclloyd

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Re: Random Sonos system messages
« Reply #5 on: July 24, 2017, 08:46:16 am »
That's easy. Put a door/window sensor on each door you want a Sonos Alert on.
Run a scene with below LUUP code when the sensor alerts open.

luup.call_action("urn:micasaverde-com:serviceId:Sonos1", "Say",{Text="Attention  The xxxxxxx door has been opened ", Language="en-US", GroupZones="ALL", Volume=75, SameVolumeForAll="true"}, SONOS_DEVICE_ID)

make sure to set SONOS_DEVICE_ID to the ID of the Sonos device that's your main one and replace xxxxxxx in teh text with the name of the door that opened.

A normal door lock device does not seem to alert for open. Only unlock. Hence the door/window sensor.

That's awesome, thanks.  I have a honeywell security system that I've linked using an Envisalink module, but announcements are 'all or nothing' ...

Offline sebby

  • Full Member
  • ***
  • Posts: 207
  • Karma: +7/-3
Re: Random Sonos system messages
« Reply #6 on: July 24, 2017, 09:15:58 am »
That's easy. Put a door/window sensor on each door you want a Sonos Alert on.
Run a scene with below LUUP code when the sensor alerts open.

luup.call_action("urn:micasaverde-com:serviceId:Sonos1", "Say",{Text="Attention  The xxxxxxx door has been opened ", Language="en-US", GroupZones="ALL", Volume=75, SameVolumeForAll="true"}, SONOS_DEVICE_ID)

make sure to set SONOS_DEVICE_ID to the ID of the Sonos device that's your main one and replace xxxxxxx in teh text with the name of the door that opened.

A normal door lock device does not seem to alert for open. Only unlock. Hence the door/window sensor.

thank you sir... i think i will just do a variable_watch function and call your code when the sensor is tripped. 

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2410
  • Karma: +112/-139
Re: Random Sonos system messages
« Reply #7 on: July 24, 2017, 09:30:20 am »
The reason I developed the code is one of my German Shedders figured out how to open the lever lock backdoor (I since added a deadbolt). So I needed some kind of notification as she leaves the door wide open and the A/C can't keep up with that.  It worked so well that I decided to use it on all outside doors.

In case you are wondering, she jumps up against the door and slaps the lever down. As in Florida building code is that outside door open outward (due to hurricanes) her weight on the door opens it for her when the lever disengages. Luckily the front door has an egg shaped knob. The door to the garage from teh house has a lever, but opens inwards. She hasn't figured that one out. Yet.
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