@time, @Troon thanks for the pictures and comments
I have updated the picture in the OP to make the connection to the transformer more clear.
I also noticed the same issue that the automation was not triggered on a very short press when the trigger in the automation is set on the entity for the shelly switch. This is solved by using MQTT, I use the automation below.
It will only trigger if the previous trigger was more than 5 seconds ago.
alias: Doorbell push notifcation
description: ''
trigger:
- platform: mqtt
topic: shellies/doorbell/input/0
payload: '1'
condition:
- condition: template
value_template: >-
{{ (as_timestamp(now()) -
as_timestamp(states.automation.doorbell_notification.attributes.last_triggered
| default(0)) | int > 5)}}
action:
- choose:
- conditions:
- condition: state
entity_id: switch.doorbell_chime
state: 'off'
sequence:
- service: notify.notify
data:
message: Someone at the door (chime off)
title: Doorbell
data:
ttl: 0
priority: high
color: red
default:
- service: notify.notify
data:
message: Someone at the door (chime on)
title: Doorbell
data:
ttl: 0
priority: high
color: green
Hey guys! I have an Bticino Linea 2000 + Bticino Pivot Video.
I have found this two guides on how to install them:
Sadly, I canāt figure out how to install a shelly on them.
Iāve came up with the following, but have no idea if this is okayā¦ My transfo is 12v, so I think thatās okay to power the shelly?
Thanks for sharing this. If you have MQTT enabled than this is an easier solution than the one I use with an external PHP page which calls the HA API. So I have switched to the MQTT solution I have added your post to the OP.
The connection is bad. Take a look at the pictures I inserted above.
1 - transformer 230V AC / 12V AC will not work (Shelly 12V DC or 24-60V DC)
You must use a 230V AC / 12V DC power supply for Shelly
2 - Shelly (0 - I)is only a switch and in your connection you have brought one transformer wire to the bell and the same wire to the bell via the Shelly contact
Thanks for your answer! With your comment in mind and reading more, I have come to this setup:
Do not attempt to connect without electrical knowledge as this can never work.
You are trying to connect an intercom and this thread is about connecting a normal doorbell that rings when voltage is applied.
What do you want your home phone to do?
Thank you for inspiring me to do thisā¦ I had on my hand 14V AC powered doorbell, that made it more easy for me.
Here is my outtake:
Hi,
How exactly do i silent the chime at a certain time? Or in my case, when my kids bedroom door is closed.
I canāt figure it out in automationsā¦
Thanks
See first post
switch:
- platform: rest
name: shelly_doorbell_chime_status
resource: http://192.168.1.187/settings/relay/0
body_on: 'btn_type=toggle'
body_off: 'btn_type=detached'
is_on_template: '{{ value_json.btn_type == "toggle" }}'
And then switch.turn_off or on this switch
I donāt see this āswitchā in my entities after adding it to my config.yaml
Restarted HA? Error in the log? IP adjusted to yours? Shelly PW protected?
Got it working, my Shelly interface was protected with a password.
switch:
- platform: rest
name: shelly_doorbell_chime_status
resource: http://192.168.1.187/settings/relay/0
body_on: 'btn_type=toggle'
body_off: 'btn_type=detached'
is_on_template: '{{ value_json.btn_type == "toggle" }}'
username:
password:
Okay. I Sorted it out. I was using the standard Shelly integration. I have now changed all the ātime essentialā shellies over to MQTT, and there is now very little latency. Iām a happy man!
Hi all,
Iāve been trying to replicate this with my home doorbell but Iām not having much luck.
A couple of questions:
Iām using a 12v DC light supply I got from Screwfix The shelly seems to come up fine with and I can access the web UI, but I donāt seem to be receiving any power at the button when I test with my multi meter.
Iām wondering if this is an issue with the power supply or my existing door bell button?
My current doorbell button is an old style illuminated one with a bulb the shape of a fuse (something like this with a bulb similar to this).
Would you expect this button/bulb combo to work with 12v DC?
Finally, I can ring the chime from the shelly web ui but I need to turn it on for the ding then off for the dong - is that to be expected?
Below is how Iāve got it wired
Many thanks!
Got it sorted in the end. The problem was the bulb in the switch. After removing it, everything works as expected!
That can be set in the webpage of the Shelly device.
Thanks for your reply. Iām hosting a PHP server externally which uses https, that might be the issue. In the meantime tried a different approach and installed HA on my raspberry. There I created an automation setup that makes HA send me a push notification when the doorbell is triggered.
Hi all,
Thanks for this great article!
Installed shelly1 successfully in HA 5.3.3. I am struggling making the doorbell mutable. I get the following error: āNo route to resource/endpoint: http://MY_IP/settings/relay/0ā. The switch button / entitiy is not visible in HA.
My switch button:
switch:
- platform: rest
name: doorbell_muteable
resource: http://MY_IP/settings/relay/0
body_on: ābtn_type=toggleā
body_off: ābtn_type=detachedā
is_on_template: ā{{value_json.btn_type==ātoggleā}}ā
username: āMY_USERNAMEā
password: āMY_PASSWORDā
Could someone please assist? Thanks a lot!