My minimote had been working under the previous Z-Wave setup with the following action:
- alias: "Minimote Button 1 Radio 2"
trigger:
platform: event
event_type: zwave.scene_activated
event_data:
object_id: minimote_23
scene_id: 1
action:
service: script.turn_on
entity_id: script.play_all_speakers
data:
variables:
what: 'hls-radio://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/llnw/bbc_radio_two.m3u8'
I have updated all my Z-Wave object id’s as per the blog and everything is working apart from the minimote. The only thing I have changed is the name so it now looks like this:
- alias: "Minimote Button 1 Radio 2"
trigger:
platform: event
event_type: zwave.scene_activated
event_data:
object_id: aeon_minimote_dr
scene_id: 1
action:
service: script.turn_on
entity_id: script.play_all_speakers
data:
variables:
what: 'hls-radio://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/llnw/bbc_radio_two.m3u8'
But for some reason, the action doesn’t work. I have tried changing the action to a pushover notification which also failed to trigger so I know it is not the Sonos part.
My Z-Wave log captures:
Info, Node023, Received Scene Activation set from node 23: scene id=1 now. Sending event notification.
Detail, Node023, Notification: SceneEvent
So it looks like it is detecting the button press ok.