guino / BazzDoorbell

125 stars 22 forks source link

Chime research #6

Open jilleb opened 3 years ago

m11tch commented 3 years ago

The doorbell sends a 433mhz RF signal on button press, this is intended to set off a chime.

Perhaps we can keep a list of tested chimes

Below is a list of tested so far. Compatible:

Not compatible:

jandy123 commented 3 years ago

@m11tch I've managed to get the 2020 action chime working with the rf bridge.

Edit: Assuming Tasmota + Portisch firmware on the rf bridge, just use a rule simiar to this:

Rule2 on RfReceived#Data=303630 do backlog RfRaw 1; RfRaw AA B0 29 03 08 0640 0208 1CDE 281819090908190819090908190819081818190819081908181909081909081819 55; RfRaw 0 endon

Replace 303630 to whatever your doorbell spits out.

jilleb commented 3 years ago

I contacted Marmitek about their "connect kit" to be able to work with the old, wired chime. Unfortunately, they don't sell it seperately... But I'm having my hopes up that the Ring Doorbell Power Kit is actually a similar kind of thing, which enables the doorbell to be retrofitted on existing wire/transformer/chime hardware.

jandy123 commented 3 years ago

@jilleb:

Regarding the ring doorbell power kit, have a look here: https://www.instructables.com/UK-Ring-Video-Doorbell-Pro-Working-With-Mechanical/

Apparently this is how it works: " One important note is that you'll need to tell your Ring Doorbell that it is connected to a mechanical chime. This is found in the device settings in the Ring app. When you do this, it basically tells the doorbell to pull a big lump of current (about 1 Amp), and then release the current and this is what energises the coil in the chime making the hammer move and strike the metal bars (the ding, and then the dong). "

So, you'd really need to test this before going this path. I believe I read somewhere that the LSC app has such an option ???

Finally, the "ring doorbell power kit" is just a resistor 25-30 ohm that limits current through the doorbell. Then, given explanation aboe, it all makes sense...

m11tch commented 3 years ago

@jilleb:

Regarding the ring doorbell power kit, have a look here: https://www.instructables.com/UK-Ring-Video-Doorbell-Pro-Working-With-Mechanical/

Apparently this is how it works: " One important note is that you'll need to tell your Ring Doorbell that it is connected to a mechanical chime. This is found in the device settings in the Ring app. When you do this, it basically tells the doorbell to pull a big lump of current (about 1 Amp), and then release the current and this is what energises the coil in the chime making the hammer move and strike the metal bars (the ding, and then the dong). "

So, you'd really need to test this before going this path. I believe I read somewhere that the LSC app has such an option ???

Finally, the "ring doorbell power kit" is just a resistor 25-30 ohm that limits current through the doorbell. Then, given explanation aboe, it all makes sense...

Would this be what the 'external charm' setting is for in dev_settings.json?

jilleb commented 3 years ago

Probably. It's worth a try.

m11tch commented 3 years ago

I did some quick measurements on the AC side, I don't really see an increase in current draw when the button is pressed. I'll try some measurements on DC side later

jandy123 commented 3 years ago

@m11tch If you try, please put some series resistor to limit current, just in case...

m11tch commented 3 years ago

it seems to draw 0.16A at normal operation, if i press the button, it goes up to about 0.32A for about 1 second and then returns to 0.16A again.. (during my test it was hooked up to the included 12V 1A Adapter)

I only have a cheap multimeter, so I don't know how accurate the measurements are :D

jandy123 commented 3 years ago

@m11tch Maybe the 12V 1A adapter is the limiting factor ? Question is, would this trigger an analog bell assuming there is a 25-30 ohm resistor in parallel with the bell coils ?

m11tch commented 3 years ago

@jandy123 I'm not sure, another difference is that normall "bell transformers"(is that the correct english? :joy:) are 6,8,12,24V AC instead of DC like the adapter, does our doorbell even work on 12V AC?

I currently have a ancient trafo that doesn't go higher then 8V AC and I want to get rid of that thing.. So I'm not sure if I can propperly test and i'm also hesistant to plug the bell into AC considering it comes with a DC adapter..

Edit: the included manual also states : "only use the included cable and adapter"

Edit2: but from what I read, the marmitek doesn't come with a DC adapter at all.. would that mean the device can run on AC too? πŸ˜•

jandy123 commented 3 years ago

@m11tch

does our doorbell even work on 12V AC?

This is a very good question ;).

I currently have a ancient trafo that doesn't go higher then 8V AC and I want to get rid of that thing.. So I'm not sure if I can properly test and i'm also hesitant to plug the bell into AC considering it comes with a DC adapter..

I'm in the same situation. The original Bazz doorbell is rated12-24V AC, but who knows ? I cannot easily test, since I do not really have access to it.

jandy123 commented 3 years ago

Edit2: but from what I read, the marmitek doesn't come with a DC adapter at all.. would that mean the device can run on AC too? confused

For sure it works on AC. It's in the instructions manual.

I would actually prefer using the existing 12VAC trafo output to power the thing.

jilleb commented 3 years ago

Allright, lets do some additional research then. The Marmitek BuzzLo has the following in the manual:

This product requires an 8 ~ 16 VAC 50 Hz power source and a stable internet connection

So 8V AC should work...

@jandy123 , you beat me to it 😁

jandy123 commented 3 years ago

@jilleb 8V AC would be even better w.r.t. heat generation.

jandy123 commented 3 years ago

Let's see, does the device even work with < 12V DC ? This should be a 1st safer test.

jilleb commented 3 years ago

I could test it, although I'm not sure if my old ass transformer would work:

DSC_2065

m11tch commented 3 years ago

@jilleb my transformer is bakelite, yours is very new compared to mine :D

jilleb commented 3 years ago

πŸ˜‚πŸ˜‚πŸ˜‚

I found a topic regarding a similar setup, I'll read through it during my coffee break: (It's dutch, although I have a suspicion that some of us are Dutch πŸ˜‚) https://gathering.tweakers.net/forum/list_messages/1925242

m11tch commented 3 years ago

πŸ˜‚πŸ˜‚πŸ˜‚

I found a topic regarding a similar setup, I'll read through it during my coffee break: (It's dutch, although I have a suspicion that some of us are Dutch πŸ˜‚) https://gathering.tweakers.net/forum/list_messages/1925242

the fact that we all have the action NL bell should tell you enough :D the topic you mentioned is about a compeltely different bell though

jandy123 commented 3 years ago

Look here https://gathering.tweakers.net/forum/list_messages/2031224/1

Search posts by Allewijn. He claims that the device works on an AC 8v Hager beltrafo.

m11tch commented 3 years ago

so @jilleb are you volunteering? :joy:

I mean, I really don't want to hook it up to this thing πŸ˜‚ IMG_20201212_115254

Btw do you guys think it will only work with ding dong chimes? Or also bells (like this: https://www.hornbach.nl/shop/FRIEDLAND-Deurbel-wit-chroom/4177464/artikel.html)

jandy123 commented 3 years ago

I'm quite sure device supports 12V AC. I've just reversed the 12VDC adapter wiring and device works.

jandy123 commented 3 years ago

@m11tch My old analog bell looks just like the one you linked to. For sure, if the device works with analog bell alone, same trick won't work withe an electronic one.

m11tch commented 3 years ago

@m11tch My old analog bell looks just like the one you linked to. For sure, if the device works with analog bell alone, same trick won't work withe an electronic one.

Well I believe a analog ding dong chime works differently then a traditional bell :p

jilleb commented 3 years ago

so @jilleb are you volunteering? πŸ˜‚

My daytime job is in the field of testing... So let's do it πŸ˜‚ And if it fails: I've suffered worse bricks in my life, and each of them is a cool birthdayparty story πŸ˜‚πŸ˜‚

jandy123 commented 3 years ago

I've tried on my trafo 8V AC. It tries to boot but when about to produce the sounds it resets. I suppose it's just not enough juice...

Will redo the wiring with the 12V DC adapter.

jandy123 commented 3 years ago

Right,so it's all installed here using the 12V DC adapter, although, I'm 100% sure 12V AC would be as good;

=====

So, all in happy with the result, wife too ;), etc. Now, just time will tell how long it's going to last...

Anyways, thank you guys @guino , @m11tch and @jilleb; @guino it's just amazing how much time you put in all this ! It's been a great journey here !!!

Well, I'll still keep an eye on this thread and see how it all goes. If you need my input, I'll be around....

m11tch commented 3 years ago

Right,so it's all installed here using the 12V DC adapter, although, I'm 100% sure 12V AC would be as good;

=====

So, all in happy with the result, wife too ;), etc. Now, just time will tell how long it's going to last...

Anyways, thank you guys @guino , @m11tch and @jilleb; @guino it's just amazing how much time you put in all this ! It's been a great journey here !!!

Well, I'll still keep an eye on this thread and see how it all goes. If you need my input, I'll be around....

Perhaps you need a 8V 2A transformer? I think most doorbell transformers are 1A..

I also installed it today with the included AC adapter. @jandy123 thanks for your awesome work patching for offline mode too! πŸ‘

jilleb commented 3 years ago

Hi guys, indeed, great work!!

I just installed the doorbell on my 8VAC transformer, and i bypassed my good old faithful but crappy chime hardware. It's all working, I'm using Homey with spoken notifications to Google Home ("the bell is ringing" πŸ˜‚πŸ˜‚) and the Marmitek chime, seen here from the inside:

DSC_2077

I'll make a new issue regarding chime tweaking on the Doorbell side. It's pretty easy, replacing the wav files with a specific wav formatted file.

Hopefully the Marmitek chime has UART access as well, and from the looks of it, it does....fingers crossed for new tones there 😁

m11tch commented 3 years ago

Hi guys, indeed, great work!!

I just installed the doorbell on my 8VAC transformer, and i bypassed my good old faithful but crappy chime hardware. It's all working, I'm using Homey with spoken notifications to Google Home ("the bell is ringing" πŸ˜‚πŸ˜‚) and the Marmitek chime, seen here from the inside:

DSC_2077

I'll make a new issue regarding chime tweaking on the Doorbell side. It's pretty easy, replacing the wav files with a specific wav formatted file.

Hopefully the Marmitek chime has UART access as well, and from the looks of it, it does....fingers crossed for new tones there 😁

did you end up buying the Marmitek chime? :D

jilleb commented 3 years ago

Yes! And it came in the mail today, and it worked withing 1 second 😁

jandy123 commented 3 years ago

Guys, is there a way for a clean reboot ? Still struggling with this, now that the thing is mounted ;).

m11tch commented 3 years ago

@jandy123 I think I came accross a URL to reboot it in ghidra.. let me check

I think it was? http://admin:056565099@192.168.x.x/devices/reboot

jandy123 commented 3 years ago

@m11tch Hmm, interesting. How did you come across this one ? Does it unmount sdcard, etc ?

lesleyvanrijn commented 3 years ago

@jandy123 There is a whole list available in a different repository. AMoo-Miki/homebridge-tuya-lan#4

lesleyvanrijn commented 3 years ago

I just installed the doorbell on my 8VAC transformer, and i bypassed my good old faithful but crappy chime hardware. It's all working, I'm using Homey with spoken notifications to Google Home ("the bell is ringing" πŸ˜‚πŸ˜‚) and the Marmitek chime, seen here from the inside:

@jilleb What is triggering the Homey event? Have you added the MQTT client?

guino commented 3 years ago

I also have 8VAC transformer and it is wired within the house (existing chime) like this:

The bell doesn’t ring well like it used to but you can definitely tell the button was pushed. I thought about changing the chime but I kind of like it being muffled specially having the app notification, so it doesn’t wake me up if I am sleeping.

jandy123 commented 3 years ago

@jilleb What's the "main RF chip" in the marmitek chime ? Could you take a picture on the other board side ?

jilleb commented 3 years ago

I also have 8VAC transformer and it is wired within the house (existing chime) like this:

Is there indeed only just a 25-30 ohm resistor inside the 'kit'?

@jandy123 , I'll take some more pics later tonight

@lesleyvanrijn , I added an Action doorbell device to Homey, and then "learned" the 433mhz signal. It responds within a second.

m11tch commented 3 years ago

@m11tch Hmm, interesting. How did you come across this one ? Does it unmount sdcard, etc ?

No clue what it actually does, I only spotted it πŸ˜‚

jilleb commented 3 years ago

@jilleb What's the "main RF chip" in the marmitek chime ? Could you take a picture on the other board side ? The backside: DSC_2082

MokanHan commented 3 years ago

@m11tch I've managed to get the 2020 action chime working with the rf bridge.

Edit: Assuming Tasmota + Portisch firmware on the rf bridge, just use a rule simiar to this:

Rule2 on RfReceived#Data=303630 do backlog RfRaw 1; RfRaw AA B0 29 03 08 0640 0208 1CDE 281819090908190819090908190819081818190819081908181909081909081819 55; RfRaw 0 endon

Replace 303630 to whatever your doorbell spits out.

How did You get the AA B0 29 03 08 0640 0208 1CDE 281819090908190819090908190819081818190819081908181909081909081819 55 key. I am trying to togle RfKey1 on rule match but cannot seem to get it working.

jandy123 commented 3 years ago

@MokanHan

I am trying to togle RfKey1

This won't work. Seems that the chime sends non-standard packets (as in not EV1527 compatible). Thus, you'll have to learn codes from the button using the 0xB1 command, see https://github.com/Portisch/RF-Bridge-EFM8BB1/wiki/Commands

This can then be converted into a 0xB0 command, see "B1 to B0 Conversion Tools" here: https://tasmota.github.io/docs/devices/Sonoff-RF-Bridge-433/ This is how I've got the looong 0xB0 code ;).

MokanHan commented 3 years ago

@MokanHan

I am trying to togle RfKey1

This won't work. Seems that the chime sends non-standard packets (as in not EV1527 compatible). Thus, you'll have to learn codes from the button using the 0xB1 command, see https://github.com/Portisch/RF-Bridge-EFM8BB1/wiki/Commands

This can then be converted into a 0xB0 command, see "B1 to B0 Conversion Tools" here: https://tasmota.github.io/docs/devices/Sonoff-RF-Bridge-433/ This is how I've got the looong 0xB0 code ;).

Well got it working anyway with Rule1 on RfReceived#Data=303631 do backlog rfkey1 1; RfRaw 0 endon

With this 6 euro chime https://nl.aliexpress.com/item/4000842779423.html?spm=a2g0s.9042311.0.0.ee854c4di4J50O

Should work on any chime even a 50 cent one.

jandy123 commented 3 years ago

@MokanHan That will work if the chime accepts standard EV1527 24-bit packets. If it doesn't, as for the Action 2020 in my original post, that won't work.

MokanHan commented 3 years ago

And yes! also got my 50 cent chime working LOL.

Rule2 on RfReceived#Data=303631 do backlog RfRaw 1; RfRaw AA B0 25 05 08 00DC 037A 015E 00A0 21F2 4818181819081929281929292929292929292B192928181818 55; RfRaw 0 endon

Now up to getting all this to work with HA.

jandy123 commented 3 years ago

@MokanHan Well, now you know exactly what I mean :) !

MokanHan commented 3 years ago

@MokanHan Well, now you know exactly what I mean :) !

Thanks for the right direction. I forgot to press the 50 cent Bell button all the time :)

MokanHan commented 3 years ago

A simpele sidenote: do not cut lines. Use your already acquired hardware to flash portish on tasmotized rfbridge