Author Topic: Aeotec zw056 Doorbell to only ring once  (Read 430 times)

Offline utah1024

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Aeotec zw056 Doorbell to only ring once
« on: February 25, 2017, 09:24:25 pm »
Hello,

I'm have a question about the LUUP code used to select the different mp3 files for this device. I'm a noob at this so I'm unclear on what paramaters do what in the code. I have it playing the correct mp3 for corresponding door but it repeats it 5 times, when I only want it to play once. Here is an example from one of my scenes.

luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='11',Data='112 4 6 1 1'},1)

What parameter would have to be changed to get it to only play once.

Thanks for any help.

Offline kigmatzomat

  • Sr. Member
  • ****
  • Posts: 280
  • Karma: +8/-0
Re: Aeotec zw056 Doorbell to only ring once
« Reply #1 on: February 28, 2017, 11:30:15 pm »
See the thread  http://forum.micasaverde.com/index.php/topic,35027.15.html for other use cases

For device node =5
--set rings to 2
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='5',Data='112 4 2 1 2'},1)

The command structure has the 3rd data element as the parameter and the 5th as the value
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='5',Data='112 4 Parm 1 Value'},1)

Parameters from a PDF manual with the addendum
2 Set the repetitions for playing doorbell ringtone.  Value=1 to 100, the range of repetition is 1 to 100.  Value =0, ignore. Note: If the time of playing doorbell ringtone is more than 20s, the volume of ringtone will reduce to silence no matter how many repetitions of doorbell ringtone are set. 

5 Set the default doorbell ringtone. Value=1-100, Specify the ringtone as default. Value=others, ignore.

6 Select a ringtone to play. Value=0, stop playing. Value=1-100, play the specified ringtone. Value=other, ignore.

7 Control items: Value=1, play Value=2, stop Value=3, pause Value=4, Next Value=5, Previous Other, ignore

 8 Set the volume of ringtone. Value=0-10, set the volume Value=other, ignore

10 Define functions of ?Button -?  and ?Button+?. Value=0, ?Button -? is previous, ?Button+? is next. Value=1, Swap functions of the two buttons.

11 Define functions of ?Button -?  and ?Button+?when short pressing and long pressing it. Value=0, short pressing changes volume, long pressing changes default ringtone. Value=1, long pressing changes volume, short pressing changes default ringtone.

42 Get Wireless Button battery status. Value=0x00, Normal battery level. Value=0xFF, Low battery level. Set Value=0x00, Cancel low battery alarm. 0 1 80 Enable/disable to send notifications to associated devices (Group 1) when the state of Doorbell is changed (0=nothing, 1=hail CC, 2=basic CC report). 0 1 81 Enable/disable to send notifications to associated devices (Group 1) when the Wireless Button?s battery is in low battery state 

241 Pair the Wireless Button with Doorbell. Value=0x55555555, Start the Wireless Button pairing mode and the blue Led will blink slowly, short press the Wireless Button once, if the blue Led change to be solid, which means the pairing is successful. Otherwise, repeat the steps. It will automatically exit the pairing mode after 8s if there is no pressing action of the Wireless Button. Note: You can send this configuration Get CC to ask the pairing result: If configuration report value=0x00000000, which means the pairing is failed. If configuration report value =0xFFFFFFFF, which means the pairing is successful.

252 Enable/disable Lock Configuration (0 =disable, 1 = enable).

255 Size=0x01,Configuration Value=0x00: Reset configuration setting.
255. Size=0x04,Configuration Value=0x55555555: Reset Factory setting.

Offline kigmatzomat

  • Sr. Member
  • ****
  • Posts: 280
  • Karma: +8/-0

Offline utah1024

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Aeotec zw056 Doorbell to only ring once
« Reply #3 on: March 09, 2017, 01:29:47 pm »
Thank you kigmatzomat. That info was great. I was able to get it working exactly as I needed it to. Much appreciated.