Action doorbell, blocky script and camera Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Hanss
Posts: 35
Joined: Friday 01 May 2015 12:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Action doorbell, blocky script and camera

Post by Hanss »

Dear Domoticz users,

To keep my question as short as possible :-)

Target state: If someone pushes the doorbell, I like to receive a mail with an attachment (i.e. camera snapshot)

I have a question about the following setup:
1. Bought and installed a doorbell from Action (433mhz)
2. Installed a camera at the front door
3. Installed Domoticz on my Synology (last stable update)

This works like a charm! :-)

I took the next steps for a doorbell trigger including a camera snapshot:
1. Install the doorbell in Domoticz.
The doorbell is recognized immediately, but I get a doorbell icon with a fire alarm/rotating beacon pictogram Is this normal?
2. Created a virtual doorbell switch
3. Setup the camera (string) gi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=, etc (this works as a charm)
4. Combined/added the virtual doorbell switch to the camera (step 3)
5. Added the virtual doorbell switch to the real doorbell device/switch as a Sub Slave device
6. Create a blockly script

I don’t know if I am missing a step or making a mistake in setting up the configuration, but my blockly script does’nt recognize the ‘alarm/normal’ status of the doorbell.
Based on the status 'alarm/normal' I have to trigger the virtual doorbell switch and then send an e-mail with attachment or am I wrong?

Thank you in advance for your help.

Best regards,

Hans
Attachments
Blockly.jpg
Blockly.jpg (78.58 KiB) Viewed 710 times
Domoticz_question.jpg
Domoticz_question.jpg (97.94 KiB) Viewed 710 times
Hanss
Posts: 35
Joined: Friday 01 May 2015 12:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Action doorbell, blocky script and camera

Post by Hanss »

Nobody? Am I the only one with this problem? :roll: :(
James83
Posts: 16
Joined: Thursday 28 November 2019 0:35
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Action doorbell, blocky script and camera

Post by James83 »

Hi,

I don't use the sub/slave devices option, but i think your problem might have to do something with it.
It's not because you have set the doorbell as a slave device, it will just do what you want it to do (send a snapshot)
I don't know Blockly that well, but i don't think the option for snapshots is possible.

Use DzVents for it, it's a very simple script.
Trigger by doorbell,
Get the snapshot: snapshot(cameraID or camera Name2.4.15,subject)
Send e-mail: email(subject, message, mailTo)

Easily find in the wiki.
RPI4, Philips Hue, Tradfri, Sonoff, MQTT, Zigbee2Mqtt, RFXCom 433, Octoprint,...
Hanss
Posts: 35
Joined: Friday 01 May 2015 12:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Action doorbell, blocky script and camera

Post by Hanss »

Hello James83,

Thank you for your help.
I am not very fond of scripting, but I will look in to that. :-)
Again thank you for your reply.

Best regards,


Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest