My configuration

Yes, I have a doorbell in HA. I hope someone can help with a sample automation script how to execute the .sh file with shell_command. What I want is to receive a notification with screenshot via Telegram.

So I guess you have a sensor that changes it state when the door bell rings, right?
If so you could do an automation similar to this:

- alias: 'Notify when door bell rings'
  trigger:
platform: state
entity_id: binary_sensor.doorbell
state: 'on'
  action:
    - service: shell_command.notify_door_bell

The shell command configuration would be:

notify_door_bell: sudo your_shell_command.sh

thanks @hokus15! Your GIT helped me a lot with cleaning and securing my installation.
Also I found some nice ideas to automate.
Next step would be to attache HA to my Active Directory. Thoughts on that?

Got it working… Thanks

Nice, I will look at it, and maybe I will get some ideas, especially the printer toners is a nice add :slight_smile:

Hi,

I have WVC54GCA camera, May I ask you to indicate the mqtt procedure, especially mosquitto command for this device?

Thanks in advance!