Aeotec Doorbell

  • 775 Views
  • Last Post 15 March 2017
joey10e posted this 30 December 2015

Has anyone tried the doorbell from Aeotec? I just got it and I have added it to Incontrol but I can't really do anything else with it. I would like to set it up so when the doorbell is pushed I get a pic from my foscam emailed to me. Any Ideas out there?

Order By: Standard | Newest | Votes
rscott posted this 30 December 2015

Has anyone tried the doorbell from Aeotec? I just got it and I have added it to Incontrol but I can't really do anything else with it. I would like to set it up so when the doorbell is pushed I get a pic from my foscam emailed to me. Any Ideas out there?


Here's how you can get notifications from it: Door Bell GEN5

joey10e posted this 01 January 2016

Thanks Ryan,
I have the doorbell working perfectly now.

joe6602 posted this 13 January 2016

I just got one today. What type of device should it be set to for best operation?

joey10e posted this 12 July 2016

I set it as a motion sensor.

joe6602 posted this 15 July 2016

I purchased one of these through Amazon, and never could get notifications to work, even comparing notes with Ryan and the one he had just gotten.  I sent it back as defective.  I ordered another one, and that one came with the box seal broken and nothing wrapped.  I sent it back and decided to stop there.  While I was testing it, i was not happy with the audio level.  Even at full level, I don't think we would have heard it at the other end of the house or upstairs.

I was hoping to use it in conjunction with a motion sensor on the porch to emit barking dog sounds, but got fed up with it.

joey10e posted this 08 March 2017

I know this is kind of old but I would love some help getting this setup. I tried to follow the script comments as best I could but I think I am missing something. Your link is somone trying to do exactly what I would like to do but I am not that good with scripting. Can you help me out. I would like to have my Aeotec doorbell play a file when I open a door. I have all of the audio files loaded onto the doorbell. Any help would be very appreciated. 

rscott posted this 09 March 2017

Can you tell us where you are having trouble? The script looks to be pretty complete - if you just need details on how to use a script, you can find that info on this page.

joey10e posted this 10 March 2017

So I got part of this working. I was setting up my scene wrong. Thanks for the info on the scripts that is very helpfull. The part that is confussing now is getting the right track to play. I have tried changing the track number in the script

//Select audio track from 1-100

int paramValue = 6; 

and it seems to play the same track no matter what I do. I have about 10 files loaded onto the device.

cowinger posted this 10 March 2017

There are a few things you might want to check:

1. does the script file end with an extension of cs. ex. anyfile.cs

2. is this cs file loaded into the scripts directory

3. Is the cs file loaded into the pre-script text box at the top of the scene

4. Is the ShortId correct in the script (double click the device box for the doorbell to get it)

Hope this helps.

To try testing it manually you can try below.

You’re able to adjust your Doorbell’s ringtone volume manually by using the “Volume -“ or “Volume +” buttons. You can reduce its volume via short press on the “Volume -” button or increase the volume via short press on the “Volume +” button, at the same time the default doorbell music will be triggered to allow you to hear the volume change. If you want to change to the next ringtone, press and hold the Volume button, which will switch the current ringtone to the next one.

rscott posted this 10 March 2017

Could you also provide the content of your script file?

joey10e posted this 14 March 2017

Thanks for everyones help here, I think there might be some confusion, I do have the script working now except for one issue. So when my door opens it successfully triggers the scene and the doorbell speeker plays an audio file. The trouble I am having is getting the script to play different files that are loaded onto the doorbell speaker. Here is the script I am using.

 

using MLS.ZWave.Service.Rules;

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using MLS.HA.DeviceController.Common.Device.ZWave;

 

public class MyScript : ScriptBase, ScriptInterface {

 

public void runScript() {

// Set the device id (property, see short Id)

var device = getNodeByShortId(80);

 

// Setup configuration parameter values

// TIP: Use http://www.pepper1.net/zwavedb/ to determine number, size and value

 

//Audio playback mode

byte paramNumber = 6; 

int size = 1;

 

//Select audio track from 1-100

int paramValue = 14; 

 

// Set the value

dm.setConfigurationParameter(device.deviceId, paramNumber, size, paramValue);

}

}

 

So no matter what I change the (int paramValue =) to it plays the same audio file everytime. I have set this up for 2 of my doors with 2 scripts. One door plays one file over and over again and the other plays a different file over and over agian. Any help would be greatly appreciated.

cowinger posted this 14 March 2017

You could try this and see if it works any better.

using MLS.ZWave.Service.Rules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MLS.HA.DeviceController.Common.Device.ZWave;

public class MyScript : ScriptBase, ScriptInterface {

         public void runScript() {
var device = getNodeByShortId(80);
byte paramNumber = 5;
int size = 01;
int paramValue = 14;
dm.setConfigurationParameter(device.deviceId, paramNumber, size, paramValue);
paramNumber = 6;
size = 01;
paramValue = 14;
dm.setConfigurationParameter(device.deviceId, paramNumber, size, paramValue);
    }

}

int size and size could be a 1 or a 01 as it is now, try both.

joey10e posted this 15 March 2017

Thanks for your help. I actually figured this out. It is something weird with the doorbell speaker device itself. Here is what worked for me. I removed all of the mp3 files from the device and added them back one file at a time. I then was able to edit my scripts with the int paramValue as I added them to the device. It seems like the device orders the files in the order they are added. Before this method I was unable to get different files to play, but after I am able to add files as needed and create new scripts and scenes to play the audio file I want to play.

cowinger posted this 15 March 2017

Glad to see you got it to work. I am still curious if a particular mp3 file can be selected by changing/adding something in the cs file. Maybe someone else knows.

Close