Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chime research #6

Open
jilleb opened this issue Dec 11, 2020 · 61 comments
Open

Chime research #6

jilleb opened this issue Dec 11, 2020 · 61 comments

Comments

@jilleb
Copy link

jilleb commented Dec 11, 2020

No description provided.

@m11tch
Copy link

m11tch commented Dec 11, 2020

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:

  • Action SelectPlus 433mhz chime (2017 or 2018) draadloze-deurbel
  • Action / Byron 433mhz chime (2020) https://www.action.com/nl-nl/p/draadloze-deurbel/
  • The current version of RFLink firmware does not recognise the signal. (Some one needs to develop a plugin for this, but the project is kind of dead since 2017 :D and went closed source too at some point. Since I don't intend to use the RF signal within my home automation I'm not going to bother)

@jandy123
Copy link

jandy123 commented Dec 11, 2020

@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
Copy link
Author

jilleb commented Dec 11, 2020

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
Copy link

@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
Copy link

m11tch commented Dec 11, 2020

@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
Copy link
Author

jilleb commented Dec 11, 2020

Probably. It's worth a try.

@m11tch
Copy link

m11tch commented Dec 12, 2020

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
Copy link

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

@m11tch
Copy link

m11tch commented Dec 12, 2020

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
Copy link

@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
Copy link

m11tch commented Dec 12, 2020

@jandy123 I'm not sure, another difference is that normall "bell transformers"(is that the correct english? 😂) 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
Copy link

@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
Copy link

jandy123 commented Dec 12, 2020

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
Copy link
Author

jilleb commented Dec 12, 2020

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
Copy link

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

@jandy123
Copy link

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

@jilleb
Copy link
Author

jilleb commented Dec 12, 2020

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

DSC_2065

@m11tch
Copy link

m11tch commented Dec 12, 2020

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

@jilleb
Copy link
Author

jilleb commented Dec 12, 2020

😂😂😂

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
Copy link

m11tch commented Dec 12, 2020

😂😂😂

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
Copy link

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
Copy link

m11tch commented Dec 12, 2020

so @jilleb are you volunteering? 😂

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
Copy link

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

@jandy123
Copy link

@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
Copy link

m11tch commented Dec 12, 2020

@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
Copy link
Author

jilleb commented Dec 12, 2020

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
Copy link

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
Copy link

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
Copy link

m11tch commented Dec 12, 2020

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! 👍

@jandy123
Copy link

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

@m11tch
Copy link

m11tch commented Dec 12, 2020

@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
Copy link

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

@lesleyvanrijn
Copy link

lesleyvanrijn commented Dec 12, 2020

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

@lesleyvanrijn
Copy link

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
Copy link
Owner

guino commented Dec 12, 2020

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
Copy link

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

@jilleb
Copy link
Author

jilleb commented Dec 12, 2020

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
Copy link

m11tch commented Dec 12, 2020

@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
Copy link
Author

jilleb commented Dec 12, 2020

@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
Copy link

MokanHan commented Dec 13, 2020

@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
Copy link

@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
Copy link

MokanHan commented Dec 13, 2020

@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
Copy link

jandy123 commented Dec 13, 2020

@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
Copy link

MokanHan commented Dec 13, 2020

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
Copy link

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

@MokanHan
Copy link

@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
Copy link

MokanHan commented Dec 13, 2020

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

@lesleyvanrijn
Copy link

lesleyvanrijn commented Dec 17, 2020

Was using a Nedis chime for a couple of days, but since it is on max volume and a horrible melody (it works though), i'll return that one.
Then I realised that i bought some microcontroller components a few years ago that could be helpful. So i went ahead and looked for the box with components and started playing around yesterday.

Grabbed an ESP-01S Relay with a compatible ESP8266 Microcontroller, flashed it with ESPHome, rewired my old trafo in order to provide continuous power to both the doorbell and the old chime and hooked up the ESP-01S relay.

The ESP8266 is subscribed to the MQTT messages send by the doorbell, and when payload "pushed" is submitted, it will flip the switch for 2 seconds. Works like a charm!

Now create some automations and combine some sensors (eg. doorsensor on my childs bedroom). If the door is closed (he's most likely sleeping), only send a push notifications, flash some lights and stream the doorbell to the google hub, if not: also run the chime.

Schermafbeelding 2020-12-17 om 12 05 39

Schermafbeelding 2020-12-17 om 12 17 01

@jkottier
Copy link

jkottier commented Jan 5, 2021

Since I've not been able to capture the button press with my Sonoff Bridge (original firmware version 3.5.0) I'm using a different approach using an old remote doorbell with chime that also works with 433.

I've captured the old doorbell button from the old doorbell with my Sonoff RF Bridge.

  1. My LSC Doorbell sends a MQTT message to my Home Assistant MQTT Broker
  2. In Home Assistant I'm using an automation that send a remote command to my Sonoff RF Bridge on the MQTT trigger

Result: the old doorbell chime rings!

Here's my million dollar question ;-)

What am I missing here why my Sonoff RF Bridge isn't able to capture the button press of my LSC Doorbell?

Firmware version: 2.9.7
Sonoff RF Bridge firmware version: 3.5.0

I've even tried adding "external_charm": "1" to /home/cfg/tuya_config.json but so far no success

@jandy123
Copy link

jandy123 commented Jan 5, 2021

@jkottier Above I assumed that the RF bridge is flashed using Tasmota + Portisch firmware, see https://tasmota.github.io/docs/devices/Sonoff-RF-Bridge-433/

As far as I can tell you use original Sonoff firmware, right ?

@jkottier
Copy link

jkottier commented Jan 6, 2021

@jkottier Above I assumed that the RF bridge is flashed using Tasmota + Portisch firmware, see https://tasmota.github.io/docs/devices/Sonoff-RF-Bridge-433/

As far as I can tell you use original Sonoff firmware, right ?

Correct!

@RaveGun
Copy link

RaveGun commented Jan 7, 2021

I bought this one here:
Elepowstar IP55 Wireless Doorbell
image

But is NOT compatible :(

What was the one that was compatible? This one from here? Marmitek

@m11tch
Copy link

m11tch commented Jan 7, 2021

I bought this one here:
Elepowstar IP55 Wireless Doorbell
image

But is NOT compatible :(

What was the one that was compatible? This one from here? Marmitek

The marmitek should work out of the box yeah.

@jkottier
Copy link

jkottier commented Jan 17, 2021

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:

This one is also compatible with my LSC Action Smart Connect doorbell:
https://nl.aliexpress.com/item/1005001566936991.html?spm=a2g0s.9042311.0.0.1dae4c4dXmtw1P

Pairing is really easy:

  1. There are 3 buttons on the side of the chime. One to adjust the volume of the chime, and two arrowbuttons to switch the doorbell ringtone. Hold the first button for about 3 seconds. When you release the button the blue light of chime should be on.
  2. Now press the doorbell within 5 seconds. If the pairing was succesfull, the chime will blink once or twice.

Update:
Seems the seller of the chimes is sending different versions although they look the same on the outside.
If you receive one with this on the inside (like I did) pairing works:
image

@royka1
Copy link

royka1 commented Mar 3, 2021

I use this original chime of Nedis: WIFICDP10GY. Tried before to receive the signal with rflink (esp version which has raw support) and with rtl_433, it seemed that de nedis (bell 5s) transmitted on 868mhz.
The WIFICDP10GY is not so loud so I built in a d1 mini and wired the speaker output to analog in so it sends a message to domoticz and plays a sound with almost no delay. (This was before this hack was available).
You could also connect it with Alexa and let this trigger something

@swanitzek
Copy link

How did you pair the Doorbell to a wireless chime? There is no option in the app.

@royka1
Copy link

royka1 commented May 26, 2021

@swanitzek As the manual says:

  • Go to the settings menu of the video doorbell
  • Select doorbell settings
  • Place the gong really close to the doorbell
  • Give the button on the bottom of the gong a short press: the light will start flashing.
  • Press the "add" button in the app (remove the tone/volume menu first if it is already there)
  • The menu will appear.
  • Select another tone and ring the doorbell to test

@Ierlandfan
Copy link

Ierlandfan commented Jun 21, 2021

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 ;).

For future reference:

Sonoff RF Bridge flashed with Tasmota and Portisch firmware ( I used https://github.com/luzrain/RF-Bridge-EFM8BB1 )

part 1: Find the Chime code:
Enter rfraw 177 in web console
Press button on original doorbell (In my case Byron BY DBY-237)
Find b1 code in webconsole
Looks like this:
(Example)
"RfRaw":{"Data":"AA B1 03 0208 05E6 1C0C 281908190909090908181909081818190909081908190819090818190818190908 55"}}
Convert to B0 code []https://bbconv.hrbl.pl/
Paste like this
(Example)
{"RfRaw":{"Data":"AA B1 03 0208 05E6 1C0C 281908190909090908181909081818190909081908190819090818190818190908 55"}}
Copy B0 line.
Test whether the Chime does something:
Insert B0 line in console:
(Example)
rfraw AA B0 29 03 08 01FE 05E6 1C20 281819090908181909090909090818181908181818190819090908190818190908 55
The chime should sound.

Part two: Find the Videodoorbell code

Go to webconsole and press the video doorbell button
You will see something like this:
(Example)
"RfReceived":{"Sync":12830,"Low":440,"High":1260,"Data":"303631","RfKey":"None"}}
The part after "Data" is what we are looking for: (In this case it's 303631)

Go to webconsole:
Insert the following:
(Example)
Rule1 on RfReceived#Data=303631 do backlog RfRaw 1; RfRaw AA B0 29 03 08 01FE 05E6 1C20 281819090908181909090909090818181908181818190819090908190818190908 55; RfRaw 0 endon
And Press Enter
(Replace the Data=303.... with your videodoorbell code and the RfRaw AA.... with the B0 code found earlier)

Insert the following:
Rule 1 1
And Press enter
( This enables the rule, don't forget )
You will see in the WebConsole Rule 1 "On" so you know rule is activated.

Press Videordoorbell
Chime should sound!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests