Hi there,
I’ve got an old dumb doorbell with a 12V AC supply and a push-button. I bought a Shelly Uni and wired it in as follows:
I set it up in the Shelly iOS app, which now shows two devices. When I push the doorbell, the “power button” for the second turns on whilst the button is pressed. I haven’t changed much in the settings, so it’s still set to be a Toggle Switch. It was picked up automatically by HA and added without any trouble.
Feeling optimistic, I set up an automation with a Device trigger for the device, set to First button single clicked (which was the default trigger in the dropdown). However, I can’t get it to fire by pressing the doorbell. In fact, I can’t find anything in HA under any of the entity history / logs that shows activity. This is the automation config:
alias: Door bell
description: ''
trigger:
- platform: device
device_id: xxxx # I don't think this is sensitive? But I'm hiding it here in case.
domain: shelly
type: single
subtype: button1
condition: []
action:
- service: media_player.play_media
data:
media_content_id: /media/ding-dong.mp3
media_content_type: music
target:
entity_id: media_player.vlc_telnet
mode: single
Has anyone managed to get a similar setup working, with a Shelly Uni monitoring a button press? Is there something obvious that I’m doing wrong or can try? I’m new to both HA and setting up smart things like this, so please let me know if I’ve missed any key information.
Thanks in advance,
Phil