No video

Make your own Zigbee remote for Home Assistant 8-20 buttons

SPONSOR: This video is sponsored by PCBWay
Get your PCB's at www.pcbway.com/
There are a lot of ready made Zigbee remotes - 1 button, 2 buttons, even 5 buttons - but what about 8-20 multi-action DIY pocket size remote? And best of all you can fully customise look, feel and Home Assistant integration.
Don't forget bragging rights you'll get with device. In this video I'll guide you on hot to make one - from sourcing parts, soldering and programming it.
In part 2 of the video, I'll show you how to pair it and also a lot of hidden features that this small gem has. And it is supported by Zigbee2MQTT.
⏵ Project link:
modkam.ru/2019/11/13/pult-zig...
⏵ Gerber files:
www.dropbox.com/s/mx7nhwx1cgz...
⏵ How to flash firmware:
zigbee.wiki/books/%D0%BF%D1%8...
⏵ Firmware(s):
github.com/diyruz/freepad/rel...
⏵ STLs for case:
www.thingiverse.com/thing:416...
Components:
⏵ E18-MS1-PCB (exactly that model):
s.click.aliexpress.com/e/_AN97SV (*)
⏵ SMD Push button:
s.click.aliexpress.com/e/_9QnU61 (*)
⏵ SMD Battery Holder (CR2032):
s.click.aliexpress.com/e/_ApZkE1 (*)
⏵ SMD 0805 1K and 10k resistor (100 pieces = 0.40€)
s.click.aliexpress.com/e/_983ocd (*)
⏵ SMD 0805 LED (5x20 pieces)
s.click.aliexpress.com/e/_AlLrcv (*)
⏵ SmartRF programmer:
s.click.aliexpress.com/e/_AlGE1P (*)
⏵ Programming clamp:
www.aliexpress.com/item/10050...
Heat gun:
⏵ s.click.aliexpress.com/e/_AnhaXr
Flux:
⏵ s.click.aliexpress.com/e/_AUZNTj
Solder paste:
⏵ s.click.aliexpress.com/e/_A30WcZ
00:00 Intro
00:22 Thanks to channel members
00:47 Sponsored by PCBWay
01:03 DIY Zigbee projects
03:41 Ordering Zigbee remote PCBs
05:43 Check if you have all items
09:08 Soldering timelapse
11:49 Programming the Zigbee Remote board
16:31 Insert the CR2032 and check if it works
17:38 Wrapping up the video
Don't forget to give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!
Have fun!
BeardedTinker
____________________________________________________________
🧡 If you would like to support me and this channel, you can JOIN and become channel member on KZread! 🙏
kzread.info...
____________________________________________________________
📣Follow me on other platforms📣
✅Twitter: @BeardedTinker
✅Discord: / discord
____________________________________________________________
(*) if any, should indicate links that are affiliated links. They don't cost you anything extra but provide small income to get this channel going, and finance future projects I make.
#10k #HomeAssistant #stream #live

Пікірлер: 110

  • @lawrencerubanka7087
    @lawrencerubanka7087 Жыл бұрын

    Great project and excellent video. Thanks VERY much!

  • @BeardedTinker

    @BeardedTinker

    Жыл бұрын

    Glad you liked it! The only bad side is that even with deep sleep firmware, batteries last just 3-4 months.

  • @sharktamer
    @sharktamer2 жыл бұрын

    Wow this really looks like something I'd want to try. So much power in a little device for so cheap! The soldering is a bit intimidating though... I've only started doing soldering very recently in some light strip projects. I have enough trouble with those, I can see something like this being a lot harder with a normal soldering iron, so it might be worth picking up the heat gun for projects like this. Being able to make custom zigbee projects like this is so cool! esphome and other esp32 projects are great, but it's obviously a lot harder to make battery powered projects, so you're usually forced to plug them in somewhere. Not having to worry about that with zigbee stuff is really freeing.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Heat gun makes this one much easier!

  • @user-xg1fu1su2w
    @user-xg1fu1su2w2 жыл бұрын

    Nice tutorial, thanks!

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Thank you Ruslan! Much appreciated!

  • @jalejandro0211
    @jalejandro02112 жыл бұрын

    Excellent great great video. Thank you so much. It’s possible show us how to create program on IDE? Maybe mcuexpresso or any other …

  • @PricelessToolkit
    @PricelessToolkit2 жыл бұрын

    nice video ! for the future. first, apply solder paste then place components, then you need to rinse with isopropanol. otherwise, micro balls remain on the board. Good luck!

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Thanks for the tip!!! For most of the components I did it that way, except for Zigbee module. Was afraid I'll get bridge under the modul. I didn't record rinsing part but I did wash it out later (if you look closely at the end, you can see some paste near the module that's gone later - but yes, almost forgot that part :)) Thanks once again for the comment and tip!!!

  • @carltonwbrooks
    @carltonwbrooks2 жыл бұрын

    Another great video that I can make use of. Can you post links to the hot air solder gun (mine died a few months ago) as well as the flux and solder paste.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Thank you Carlton! Added to video description. Soldering past is one of the 2 I have. Other one is not listed anymore with that seller and would need to find exact type. But if I remember correctly, I got most popular brand on Ali - most of the shops carry that one (in syringe).

  • @Marco_Onyxheart
    @Marco_Onyxheart2 жыл бұрын

    This ZigBee component is fairly cheap. I'd love to try it out in some other projects.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Check modkam.ru for some other fun projects. I have 3-4 ready to record.

  • @Marco_Onyxheart

    @Marco_Onyxheart

    2 жыл бұрын

    @@BeardedTinker I'll have to Google translate that, since I can't read Russian. Well, I can read most letters, since I was taught Greek in high school which has a similar script. But not the language. But I already saw a few interesting projects. I may have to show your website to my employer, since I found a few projects that are similar to what we're doing.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    @@Marco_Onyxheart auto translate in Chrome works well there :)

  • @Marco_Onyxheart

    @Marco_Onyxheart

    2 жыл бұрын

    @@BeardedTinker Of course. I definitely think I can get a lot of inspiration from your website. Lots of interesting stuff going on there.

  • @lars-sorensen
    @lars-sorensen2 жыл бұрын

    WOW - maybe some cool bearded russian could make that zigbee alarm keypad that the Home Assistant community needs! 😃

  • @Efekta
    @Efekta2 жыл бұрын

    Хорошо что вы об этом рассказали :)

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Thanks, there are some nay good projects on modkam.ru - will do more.

  • @sshah876
    @sshah87610 ай бұрын

    Thanks for the tutorial, this is great, it will be even better if this remote work with ZHA, it works in Z2M but same firmware when paired with ZHA only one button is producing zha event, please help i will appreciate any link/info that makes this cool remote work with "ZHA", I use ZHA because it do not use MQTT and has proven to work way more reliably in my setup.

  • @BeardedTinker

    @BeardedTinker

    10 ай бұрын

    You should create custom quirk for it. I've never tried creating one for ZHA, so can't help you with this one. The problem is that ZHA is not recognising this device properly.

  • @sshah876

    @sshah876

    10 ай бұрын

    Thank you sir, your feedback is appreciated, this will put my searching to rest, hopefully one day someone smarter than me will make it work with ZHA- cheers@@BeardedTinker

  • @jhonny001
    @jhonny0012 жыл бұрын

    @BearedTinker it would be great if you can show us how to program these modules for a simple temp-humid sensor or for any other arduino kind sensors... There is not much information related to cc2531 programming or code examples

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    This is on Todo list. I'm waiting for development module to arrive where I could easily attach external sensors. It should have already arrived but pack6was lost.

  • @jhonny001

    @jhonny001

    2 жыл бұрын

    @@BeardedTinker do you already have any documentation or source to start with?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Forgot to post this here - check this link: zigdevwiki.github.io/Begin/IAR_install/ It will guide you how to setup dev environment and also pull some sample code.

  • @adifoto6362
    @adifoto63622 жыл бұрын

    Thanks, that remote looks good. I tempted to build one, i am using an zigbee switch to turn on a timer automation that turn on the night light for my kids bedroom. Having different option on the remote is quite good. How long the battery lasts? Thanks for the video.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Thanks Adi. I was very scared of trying to build this, but it ended but really easy at the end. You need to try it. In next video I'll cover HA part - it's great. For each button you can define toggle or multi-actions (single, double, tripple or quadruple click + click and hold) so it gives you really a lot of actions even on 8 button version. For battery, I still don't know. Just finished 2 of them for recording. But it should last relatively long. It has power saving mode.

  • @adifoto6362

    @adifoto6362

    2 жыл бұрын

    @@BeardedTinker Your solder went well, over all is working that is what matters. How it integrates in HA do i need to use events or each button is a switch in HA? for the buttons i have at the moment i have to create an automation for them to be seen by HA since the button comes as an event. Hope this makes sense. Thanks again for your video.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    It is supported in Zigbee2mqtt and every button is a switch. But for every button you also get configuration entities - so you can use that for more options.

  • @adifoto6362

    @adifoto6362

    2 жыл бұрын

    @@BeardedTinker Thanks for your response. i will have to give it a go. Thanks for sharing

  • @adifoto6362

    @adifoto6362

    2 жыл бұрын

    @BeardedThinker I just order 10 boards from pcbway and i got an email that says "the diameter of the designated holes is only 0.3mm, pls advise can we adjust the mouse bites according to our factory's capability of "Diameter /spacing: 0.4mm/ 0.4mm". did you have to change it to 0.4 mm? I assume will not affect the functionality of the board. Thanks again for sharing this.

  • @morganyodts1375
    @morganyodts13752 жыл бұрын

    This project is great, Ordering the parts now. Can you cover the integration into home assistant? Is zigbee2mqtt the only option?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Sure it will be in next video. In regard to integration, I can't test ZHA so not sure about support there. Zigbee2mqtt has everything embedded and working out of box.

  • @ChunkySteveo

    @ChunkySteveo

    2 жыл бұрын

    Z2M Works straight out the box and no issues. Amazing project!!

  • @jaimemotavaz3999
    @jaimemotavaz39992 жыл бұрын

    Do you know if there is some PCB that allows to put screw terminals instead buttons? It's a great piece to hide in the wall boxes :)

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Unfortunately no, from all the different types, I haven't seen anything like that.

  • @jaimemotavaz3999

    @jaimemotavaz3999

    2 жыл бұрын

    @@BeardedTinker there is a guy that changed the files for that purpose, but haven't shared the gerber files 😥

  • @0x0081
    @0x00817 ай бұрын

    Hey man, I know this is an old post but this thing is awesome, there are no already made pads like this or diy tutorials. Really thinking building this but it seams to be an abandoned project, I wonder if this will still bind with zigbee2mqtt ? Do you still use this ? Thanks

  • @BeardedTinker

    @BeardedTinker

    7 ай бұрын

    Hi! Yes, that's an old one but it still works with Zigbee2MQTT. Just the battery life. I've gone with deep-sleep version of if and batteries only last 3 months. Keep that in mind.

  • @0x0081

    @0x0081

    7 ай бұрын

    @@BeardedTinker thanks man, 3 months is ok ... but was it always like this or the firmware has compatibility issues that makes it draw more power maybe ?

  • @BeardedTinker

    @BeardedTinker

    7 ай бұрын

    It was always like that. I think design is the issue here or chip used. Really not sure what is using power in deep sleep, but something is.

  • @victorclausson4039
    @victorclausson40392 жыл бұрын

    I have one of these USB Blaster programmers that looks very similair to the SmartRF programmer. Do you know if I can use my USB Blaster to programmer instead?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    They are very similar in terms of the box, but not sure if they are comparible. I know that cc debugger and SmartRF work. Haven't seen Blaster used for it so far anywhere.

  • @victorclausson4039

    @victorclausson4039

    2 жыл бұрын

    @@BeardedTinker Ok, thank you for your answer! Really appreciate it. I found a way to flash it with a Rpi too so I could use that instead since I already have a bunch of those. I’m going to make this project but redesign the PCB to fit everything inside a NES-controller with the original buttons. Thank you for making this video.

  • @dudefromkeene
    @dudefromkeene7 ай бұрын

    I don't really want to make one but would buy one. Could I get one that was line powered and is a repeater too?

  • @BeardedTinker

    @BeardedTinker

    7 ай бұрын

    I haven't seen one for sale in EU/US - although, actually, some were welling it few years back fro Ukraine. But not powered over wire.

  • @SenseiKeoni
    @SenseiKeoni Жыл бұрын

    Hi, i've done all the soldering ^^... by hand Checked all the connections but can't do the upload of the firmware with the Flash Programmer.... if i choose "Program CCxxxxx Soc or MSP430" it can´t find the device; Tried the reset button but still not working... any advice?

  • @BeardedTinker

    @BeardedTinker

    Жыл бұрын

    As I've said in Discord - nothing. Looks like PINs you are using are OK, if you checked soldering and using correct FW, there is not much that could be wrong. Of course, very unlikely, but you maybe got damaged module or burned it during soldering, but - that's not common to happen.

  • @MysticMachina
    @MysticMachina2 жыл бұрын

    Are we able to make zigbee sensors? Just like with esp chips and esphome

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Sure, not that easy as with ESP boards + ESPHome, but yes, that's possible. There are a lot of DIY Zigbee projects on the net. Not as much as ESP though.

  • @darknessblades
    @darknessblades3 ай бұрын

    Would it be possible to get this to work under ZHA? Am kinda in need of a button/remote with 22+ buttons to use with smart curtains The closest one I could find is a "FUT089Z" but I would need one without the sliders Hardwiring wouldn't be a issue For programming I do have a few death/broken/defective Zigbee temp sensors I could gut the chip from [Display version, with death display].

  • @BeardedTinker

    @BeardedTinker

    3 ай бұрын

    It would require custom quirk to get it working, but other than that, there is not reason for it not to work.

  • @darknessblades

    @darknessblades

    3 ай бұрын

    @@BeardedTinker In that case How would I make one with more than 20 buttons? I am also planning if its possible to power it with 2x {Ikea AAA} batteries, just to save on CR2350 batteries. I would roughly need one that looks like remote: [top grid 4x3] [4 wide, 3 high] [Mainly to swap scene] [Bottom grid 3x8] [3 wide 6 high] [for curtain positions] for a total of +/-30 buttons. I am familiar with QMK, so if its a similar method of programming/creating the code it should be easy to make one.

  • @mruniverse5704
    @mruniverse57042 жыл бұрын

    Hello! Is it possible to soldering keycap from keyboard?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Connectors on the board are very small. You could solder some wire and use that for keyboard keycaps

  • @hulumanu
    @hulumanu3 ай бұрын

    Can this be done with the Zigbee 3.0 firmware upgrade on the zigbee module?

  • @BeardedTinker

    @BeardedTinker

    3 ай бұрын

    There is source in repository, you can try doing it.

  • @anthonyjobson
    @anthonyjobson2 жыл бұрын

    Can this remote handle single, double tap and long press for each of the 20 buttons in home assistant?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Great timing! Just finished recording and editing part 2 of the video (that will be released tomorrow) - but yes - 4 actions (plus hold and release) for each of the buttons. Although, you can customise and make each button only have one single action.

  • @anthonyjobson

    @anthonyjobson

    2 жыл бұрын

    @@BeardedTinker AMAZING thank you! can't wait. this could be such a powerful based module board to make control panel type devices. I'm imagining a fire tablet control panel with 20 quick action physical buttons talking native zigbee around the side which don't require you to mess with a touch screen for common tasks....

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    I just hope the video managed to cover it well. Had problem on how to approach it 😂 It will be out in 30 minutes.

  • @user-np1go1vi5c
    @user-np1go1vi5c11 ай бұрын

    May I ask why the signal of my device is so weak? The CC2530 and Zigbee gateway can communicate in the same room, but there is no communication between them due to a wall in the middle. Is the antenna signal on the board so weak?

  • @BeardedTinker

    @BeardedTinker

    11 ай бұрын

    Onboard antena is not that great. There is different module (IPX version I think) that has connector for external antenna. But it also depends on the wall. I have large Zigbee network and didn't notice this from inside the apartment.

  • @user-np1go1vi5c

    @user-np1go1vi5c

    11 ай бұрын

    @@BeardedTinker May I ask which specific model of the IPX version chip is suitable for this program project? Several PCB boards have been made...

  • @kszere
    @kszere Жыл бұрын

    You Can make vote version? 3 pcs button for vote and 1pcs for qestions. Total 4 pcs button in vertical one line.

  • @BeardedTinker

    @BeardedTinker

    Жыл бұрын

    Just solder how many buttons you want (4) and ignore rest. It should wrok.

  • @Blinkation
    @Blinkation2 жыл бұрын

    what language and environment do you use to write the program?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    This firmware was created by the author of the project - Jager modkam.ru/ But you can create your own firmware for Zigbee modules by using this tool ptvo.info/faq/

  • @medienmond
    @medienmond2 жыл бұрын

    Where can iget this green solder paste dispenser?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    This is the one I'm using: www.aliexpress.com/item/4000891632531.html

  • @TwanJaarsveld1
    @TwanJaarsveld12 жыл бұрын

    I'm looking to make a mail box sensor using zigbee (because its out of reache for wifi) Would that be posible with the same CC2530 Zigbee board ?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    There are different E18 ZigBee boards. This one is good for battery powered devices but there is version with external antenna that could help with the range too.

  • @TwanJaarsveld1

    @TwanJaarsveld1

    2 жыл бұрын

    @@BeardedTinker can the same firmware be used or is this just for the buttons ?

  • @TwanJaarsveld1

    @TwanJaarsveld1

    2 жыл бұрын

    @@BeardedTinker thanks for the advice I will look into it

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    @@TwanJaarsveld1 check ptvo.info site - free tool to create ZigBee firmware. You could use that

  • @user-sj3oq2rh3q
    @user-sj3oq2rh3q2 жыл бұрын

    I have one with 20 buttons. Everything is great, except for the quick discharge of the battery...

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    How long does the battery last for your?

  • @Banjoba

    @Banjoba

    2 жыл бұрын

    @@BeardedTinker I too am interested in this and would make me decide if I want to invest or not. That and also if it would work with ZHA.

  • @user-sj3oq2rh3q

    @user-sj3oq2rh3q

    2 жыл бұрын

    @@BeardedTinker A new battery drops to 30-35% in two months, then it starts to work worse, and I throw it on the shelf...

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    @@user-sj3oq2rh3q Good to know - thank you for this info!

  • @user-sj3oq2rh3q

    @user-sj3oq2rh3q

    2 жыл бұрын

    ​@@BeardedTinker Maybe it's just me ... somewhere is short circuit and that's why consumption is... Although it is not clear where, the device is very simple to solder. Need to find out in the Russian-speaking community.

  • @jenshansen5344
    @jenshansen53444 ай бұрын

    Hi BeardedTinker :D Would it be possible for you to update the links for the parts? Kind regards.

  • @spui
    @spui2 жыл бұрын

    What is the pin pitch for the programming clamp? 2.54 mm or 2 mm?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Sorry, forgot to mention - I'm using 2.54mm

  • @spui

    @spui

    2 жыл бұрын

    @@BeardedTinker Thanks a ton. This is my first zigbee project. I have ordered the required parts and am now awaiting delivery.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    @@spui that's great! Hope you'll have fun with it!!!

  • @spui

    @spui

    2 жыл бұрын

    @@BeardedTinker Thanks again. I've setup my first switch. I can confirm it works well with zigbeetomqtt but unfortunately not with ZHA.

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    ZHA has unfortunately shorter list of supported devices. Good thing is that in Zigbee2mqtt you can even add unsupported devices.

  • @fredericmelancon4472
    @fredericmelancon44729 ай бұрын

    Does it work with zha ?

  • @BeardedTinker

    @BeardedTinker

    9 ай бұрын

    Not out of box AFAIK. But you can try and create custom quirk for it.

  • @thebatu89
    @thebatu892 жыл бұрын

    May i know what’s the average battery life you’re getting with this?

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Depends on the firmware. But with deep sleep version, maximum I got is 3 months.

  • @thebatu89

    @thebatu89

    2 жыл бұрын

    @@BeardedTinker thanks, and with the deep sleep does it affect normal usage ( eg delayed payload or you need push any button a few times to wake it)

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    No, it sends data on first push so no need to wake it up first.

  • @ketheric

    @ketheric

    Жыл бұрын

    @@BeardedTinker Wow only three months? That's a bit disappointing.

  • @BeardedTinker

    @BeardedTinker

    Жыл бұрын

    Yeah, true.

  • @Heneyspanicker
    @Heneyspanicker Жыл бұрын

    Good. But title says "for Home Assistant " but that part is misisng in the video

  • @BeardedTinker

    @BeardedTinker

    Жыл бұрын

    Did you check second part of the video? First is how to build, second how to add to HA.

  • @Heneyspanicker

    @Heneyspanicker

    Жыл бұрын

    @@BeardedTinker no. is that "Add and use DIY Zigbee remote in Home Assistant with 32 actions" ?

  • @BeardedTinker

    @BeardedTinker

    Жыл бұрын

    @@Heneyspanicker Yes, this one: kzread.info/dash/bejne/m6J_pJqHZpach84.html

  • @ChunkySteveo
    @ChunkySteveo2 жыл бұрын

    The buttons are a pain in the butt to hand solder! Just go slow and very little heat if you are using an iron!!

  • @BeardedTinker

    @BeardedTinker

    2 жыл бұрын

    Yes they are. Especially since you can melt plastic if you expose it to heat for too long :)

  • @ChunkySteveo

    @ChunkySteveo

    2 жыл бұрын

    @@BeardedTinker yeah I learned that after several just turned into goop and melted away!!! Haha