Send camera snapshot by email when frontdoor is opened
Moderator: leecollings
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Send camera snapshot by email when frontdoor is opened
Hi,
First let me explain the current situation:
- I have 2 Elro C903IP cams beside the frontdoor.
- I have a Kaku AMST-606 magnet contact connected to the frontdoor.
- I already added the Elro cams to Domoticz and I can see the camerapictures (With a timed refresh) in Dashticz.
What I want:
- Send an email with a snapshot of the cams attached when the frontdoor is opened. (Seperate mails are okay)
Where I'm stuck:
- Within Domoticz the camera's don't seem to be present at all. In the Camera-menu I can add the Kaku AMST-606 magnet contact. In the notications tab of the AMST-606 I can let send an email notification. But where can I set the camera snapshots to be an email attachment?
Txs.
Tom
First let me explain the current situation:
- I have 2 Elro C903IP cams beside the frontdoor.
- I have a Kaku AMST-606 magnet contact connected to the frontdoor.
- I already added the Elro cams to Domoticz and I can see the camerapictures (With a timed refresh) in Dashticz.
What I want:
- Send an email with a snapshot of the cams attached when the frontdoor is opened. (Seperate mails are okay)
Where I'm stuck:
- Within Domoticz the camera's don't seem to be present at all. In the Camera-menu I can add the Kaku AMST-606 magnet contact. In the notications tab of the AMST-606 I can let send an email notification. But where can I set the camera snapshots to be an email attachment?
Txs.
Tom
- Moppersmurf
- Posts: 27
- Joined: Tuesday 29 September 2015 17:39
- Target OS: NAS (Synology & others)
- Domoticz version: Lat.Beta
- Location: Nederland
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Hi Tom,
I have the following settings. I have made a smart mailbox with a doorsensor.
I've the sensor is triggered Domoticz sends an e-mail with a screenshot. My doorbell works the same way but still have to install it.
In settings tab e-mail you have to add your settings tick both boxes at the bottom
Since I have my camera above the door i've put a delay on the screenshot. It sends a screenshot 2 seconds later. I usually see the peron who dropped the mail in the screenshot. You can do this here (add the settings to the camera you want to use): Lastly I also made a blockly which sends me a e-mail. Like: But the blockly isn't really necessary. Because you now get 2 mails. One that says mailbox on and the screenshot. I wish I could change the name of this e-mail but have not had time to check this out.
I have the following settings. I have made a smart mailbox with a doorsensor.
I've the sensor is triggered Domoticz sends an e-mail with a screenshot. My doorbell works the same way but still have to install it.
In settings tab e-mail you have to add your settings tick both boxes at the bottom
Since I have my camera above the door i've put a delay on the screenshot. It sends a screenshot 2 seconds later. I usually see the peron who dropped the mail in the screenshot. You can do this here (add the settings to the camera you want to use): Lastly I also made a blockly which sends me a e-mail. Like: But the blockly isn't really necessary. Because you now get 2 mails. One that says mailbox on and the screenshot. I wish I could change the name of this e-mail but have not had time to check this out.
-
- Posts: 26
- Joined: Tuesday 18 March 2014 21:19
- Target OS: -
- Domoticz version:
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Wouln't it be faster if you receive a screenshot via Telegram then e-mail?
Using Tapatalk
- Moppersmurf
- Posts: 27
- Joined: Tuesday 29 September 2015 17:39
- Target OS: NAS (Synology & others)
- Domoticz version: Lat.Beta
- Location: Nederland
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
I have Domoticz running on my Synology. I don't have Telegram. I do have a clone Webogram but can't get ik working.
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Hi Moppersmurf,
Thanks for the explanation. I'll try this coming weekend.
In the meantime I noticed that Dashticz is responding slow when I added the 2 camera's to Domoticz.
Unfortunately Rob (Dashticz) is very busy with other things, so I don't dare asking him for advice.
Tom
Thanks for the explanation. I'll try this coming weekend.
In the meantime I noticed that Dashticz is responding slow when I added the 2 camera's to Domoticz.
Unfortunately Rob (Dashticz) is very busy with other things, so I don't dare asking him for advice.
Tom
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Hi Moppersmurf,
I\m following your screenshots to get it working.
1)
I re-added both Elro camera's again.
(I deleted them because Domoticz and Dashticz respond both a lot slower with the camera's activated, although Domoticz runs on a HP i5 quad core machine)
2) I added the Kaku magnetic to both camera's in the camera menu.
3)
I configured email: Stuur camerabeelden als bijlage (Gmail)
Oops: I mostly use Hotmail. It looks like this is a showstopper
But still nothing happens.
- Do I have to configure 'notification' to the Kaku magnetic contact?
- I'm using Hotmail.
Tom
Edit: I have to be a little more patient.
I checked my special mailbox again and I saw that I had lots of mails with camera images as attachment. So it works
But still I'm a bit worried about the decreased performance of Domoticz and Dashticz.
I\m following your screenshots to get it working.
1)
I re-added both Elro camera's again.
(I deleted them because Domoticz and Dashticz respond both a lot slower with the camera's activated, although Domoticz runs on a HP i5 quad core machine)
2) I added the Kaku magnetic to both camera's in the camera menu.
3)
I configured email: Stuur camerabeelden als bijlage (Gmail)
Oops: I mostly use Hotmail. It looks like this is a showstopper
But still nothing happens.
- Do I have to configure 'notification' to the Kaku magnetic contact?
- I'm using Hotmail.
Tom
Edit: I have to be a little more patient.
I checked my special mailbox again and I saw that I had lots of mails with camera images as attachment. So it works
But still I'm a bit worried about the decreased performance of Domoticz and Dashticz.
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
A question that doesn't really belong here:
Is it possible to disable the camera's show up in Dashticz? They appear as a switch.
Maybe this helps to get the performance of Domoticz/Dashticz back again.
As I mentioned earlier in this thread: Rob is very busy with other things, so I don't want to disturb him with this.
Tom
Is it possible to disable the camera's show up in Dashticz? They appear as a switch.
Maybe this helps to get the performance of Domoticz/Dashticz back again.
As I mentioned earlier in this thread: Rob is very busy with other things, so I don't want to disturb him with this.
Tom
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Hi,
To prevent performance-issues with 2 cams added to Domoticz/Dashticz, I took a dedicated Raspberry B for this purpose.
This Raspberry toggles a virtual switch on my main Domoticz throught Json.
Problem is that this Raspberry is way too slow. (On the photo I'm already far away when the snapshot is taken when I close the frontdoor)
What kind of hardware do I need?
Txs.
To prevent performance-issues with 2 cams added to Domoticz/Dashticz, I took a dedicated Raspberry B for this purpose.
This Raspberry toggles a virtual switch on my main Domoticz throught Json.
Problem is that this Raspberry is way too slow. (On the photo I'm already far away when the snapshot is taken when I close the frontdoor)
What kind of hardware do I need?
Txs.
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Hi,
I tested 'Send camera snapshot by email when frontdoor is opened' on a Windows i5 quadcore machine, but still the response of Domoticz decreases a lot.
When I click on some Tabs of Domoticz I get the message that there is a long-running script.
What went wrong?
Txs
I tested 'Send camera snapshot by email when frontdoor is opened' on a Windows i5 quadcore machine, but still the response of Domoticz decreases a lot.
When I click on some Tabs of Domoticz I get the message that there is a long-running script.
What went wrong?
Txs
-
- Posts: 6
- Joined: Sunday 13 March 2016 12:45
- Target OS: Windows
- Domoticz version:
- Location: St Catharines, ON
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
I have long delays all the time when switching tabs. Windows 10, Edge browser, i7 HP Laptop.
I will do some profiling in VS2015 to see where the time is being spent. CPU % doesn't register above 0 on Domoticz process so it must be pure 'waiting for something'.
I have 1 camera configured with a dummy switch to trigger (learning Domoticz while waiting for my hardware to arrive)
Gerrit
I will do some profiling in VS2015 to see where the time is being spent. CPU % doesn't register above 0 on Domoticz process so it must be pure 'waiting for something'.
I have 1 camera configured with a dummy switch to trigger (learning Domoticz while waiting for my hardware to arrive)
Gerrit
Hobbies
Domoticz on Windows Server 2012 R2 on Acer H341, MySensors on Nano/ESP8266, testing on Windows 10
Domoticz on Windows Server 2012 R2 on Acer H341, MySensors on Nano/ESP8266, testing on Windows 10
-
- Posts: 6
- Joined: Sunday 13 March 2016 12:45
- Target OS: Windows
- Domoticz version:
- Location: St Catharines, ON
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Is the longest delay when you click on Switches tab? in 150 seconds of running and clicking on Switch tab a few times I see WaitForMultipleObjects as the most called function (with 74% of the execution time). There is a lot of time spent in the boost library. Not sure I can unravel it thoughAwst6000 wrote:Hi,
I tested 'Send camera snapshot by email when frontdoor is opened' on a Windows i5 quadcore machine, but still the response of Domoticz decreases a lot.
When I click on some Tabs of Domoticz I get the message that there is a long-running script.
What went wrong?
Txs
Hobbies
Domoticz on Windows Server 2012 R2 on Acer H341, MySensors on Nano/ESP8266, testing on Windows 10
Domoticz on Windows Server 2012 R2 on Acer H341, MySensors on Nano/ESP8266, testing on Windows 10
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Send camera snapshot by email when frontdoor is opened
Hi,
Yes, clicking on the Switches-tab takes the most waiting time.
Yes, clicking on the Switches-tab takes the most waiting time.
Who is online
Users browsing this forum: No registered users and 0 guests