I Built a Keypad to Control My Entire Desk Setup - OLED TV, USB Switch, Lights, Desk, Macros...

Sdílet
Vložit
  • čas přidán 22. 12. 2022
  • Everything from the LG OLED TV, USB Switch, Monitor Lights, and even the Standing Desk is controlled with this diy keypad.
    My Source Code: github.com/davidz-yt/desk-con...
    HID Remapper: github.com/jfedor2/hid-remapper
    Jarvis Controller Details: github.com/phord/Jarvis
    Keypad
    amzn.to/3jokDIG (US)
    amzn.to/3hM7yIB (CA)
    Relegendable Keycaps (Note, you need to modify the tall keycaps to replace the large 0 and Enter keys, as the side stems do not align with the above keypad)
    amzn.to/3PP1trr (US)
    USB Switch
    amzn.to/3WvMvZO (US)
    amzn.to/3WFgnmg (CA)
    amzn.to/3hJbvxR (UK)
    --------------------------
    Disclaimers:
    Not sponsored. I purchased everything.
    As an Amazon Associate I earn from qualifying purchases.
    --------------------------
    Music Credits:
    Aso - B Urself chll.to/26d7f114
    ► For More Awesome Gear ◄
    Subscribe - bit.ly/1Uzynun
    Twitter - / mrdavidzhang
    Instagram - / mrdavidzhang
    My Video Gear - bit.ly/davidzhangyt
  • Věda a technologie

Komentáře • 1K

  • @HelloDavid
    @HelloDavid  Před rokem +1717

    *3 Months of design, to save 3 seconds of time. Worth it.* This was me just hacking away at different solutions, so I'm open to better solutions for this problem.

    • @Google_Does_Evil_Now
      @Google_Does_Evil_Now Před rokem +21

      This is so useful and can be used for many things. Door entry, camera, lights, TV, curtains/blinds, Aircon/Temps, etc.
      Well done.

    • @luckyreda
      @luckyreda Před rokem +4

      Hi David, what is the length of your desk? Is it 160 or 140? Thank you!

    • @hal1234
      @hal1234 Před rokem +6

      Automating for improved productivity is way to go! Thanks for sharing! I started using AHK recently too and it's been a game changer :)

    • @Janz_u
      @Janz_u Před rokem +8

      Haha, having watched 4 minutes of the video I already got the feeling "Isn't this just a LITTLE over-engineered?" - Which is definitely why I love it

    • @farettic
      @farettic Před rokem +4

      That’s the life of every home Assistant user, Man. I feel you. Incredible job! 👍🏻

  • @chriss8971
    @chriss8971 Před rokem +428

    Impressive combination of software and hardware skills. Kudos to both this and the production quality. A rare combo.

    • @maxmeier532
      @maxmeier532 Před rokem

      Basically, to watch some porn this guy had to go through ropes like he was starting a passenger airplane.

    • @sebastiancarreira5832
      @sebastiancarreira5832 Před 6 měsíci +1

      Not to mention graphic design. Those icons are very clear, clean and elegant!

  • @xxxjmgxxx
    @xxxjmgxxx Před rokem +631

    Just when I thought you've perfected your setup - you go through the ROOF with this!!
    Amazing stuff!
    Probably wayyyyy to complex for me to invest similar time into it (I have too many hobbies competing for my time), but it does look amazing!

    • @el1398
      @el1398 Před rokem +4

      nice d riding

    • @automatic241
      @automatic241 Před rokem +16

      @@el1398 Why would you take the time to comment this? Why do you feel the need to do so?

    • @el1398
      @el1398 Před rokem +2

      @@automatic241 other d rider spotted

    • @Aldrnarii
      @Aldrnarii Před rokem +14

      @@el1398 So let me guess, either jealousy or a compounded lack of social skills, am I right?

    • @the1whoplayz
      @the1whoplayz Před 7 měsíci +1

      @@Aldrnarii most likely jealousy lmao.

  • @gaveintothedarkness
    @gaveintothedarkness Před rokem +240

    This is so cool how you integrated everything. Also props for designing easy to understand pictograms for all the buttons.

  • @thejezzi5219
    @thejezzi5219 Před rokem +8

    Oh my gosh, this is like the most advanced automation video/guide/journey thing I've ever watched!
    Especially the modifications to your switch and the desk control panel. Awesome work! My mind is blown!

  • @scoobster0123
    @scoobster0123 Před rokem +8

    Honestly this is just super cool. Not much more to say. Props and well done. I love how much effort you put into every step, from the purpose built chassis for the desk adjustment signal pass-through to the custom keycaps for the macro pad.

  • @Trupen
    @Trupen Před rokem +11

    this is really impressive, you did an awesome job designing and building all of this

  • @fzarc897
    @fzarc897 Před rokem +2

    Randomly came across your video and If this is content you are showcasing.. i loved it. Great blend of hardware, software and electronics engineering. Many people including myself are curious to build some custom things or automate it in a right way for ourselves to ease daily operations, we cant due to lack of knowledge or understanding. So glad to see you making it. Awesome. Subscribed!!!

  • @basketlockerball
    @basketlockerball Před rokem +7

    I just finished assembling my ideal desk. I used most of your videos as a guide. I am so happy with how it turned out. Thank you for these videos David, they really helped me out.

  • @itsciwi
    @itsciwi Před rokem +4

    That's an immense amount of work, but a fantastic end result. Great job!

  • @xDaShaanx
    @xDaShaanx Před rokem +1

    Your channel is the reason I got myself a LG C2 42" for myself n I am loving it. Now my workflow is far better. :)

  • @pointeplusplus
    @pointeplusplus Před 25 dny

    I'm so impressed! I came here because I'm a software engineer looking use a macropad for the first time for one-button script running and this was more than I bargained for (in a good way). I'm so excited to watch the rest of your videos and perhaps follow in your footsteps in automation!

  • @baitboy3191
    @baitboy3191 Před rokem +172

    Can I just say how awesome this guys is to provide all his code?

    • @avantgardethemighty6724
      @avantgardethemighty6724 Před rokem +24

      The beauty of open source development... Share what you got to and allow others to improve upon it, taking advantages of the community's improvements.
      YT seems to allow this in a slightly easier to sustain way (code provides content, which provides food & ☕ to continue writing code) 😀

    • @strivold4922
      @strivold4922 Před rokem +1

      @@avantgardethemighty6724 Well his code has no license so it's not open-source per se, but I am sure it's just an oversight

  • @th3druminator
    @th3druminator Před rokem +21

    This is some seriously impressive work, well done!

  • @card_craft
    @card_craft Před 7 měsíci

    This is epic man. I love it. Its such a flex to anybody who comes over

  • @ksoonsoon
    @ksoonsoon Před rokem +121

    Holy cow man. I have an Elgato stream deck that I have been using for macro controls but this takes it to a whole nother level. I put so much work into what I did and I still couldn’t get everything I wanted. I don’t think I have been more impressed by anybody’s work I have ever seen on CZcams in the many years I have been trying to train myself with it than I have been with what you did here. Congratulations. You have an incredibly broad and deep skill set that your average Joe sure is not going to have which makes doing this challenging. I can’t wait to dig into some of your details and see how much of it I can reproduce. Thank you and please continue To publish content and videos on the subject. I would sure like to see deeper dives into some of what you did here. All the best

    • @Tyrell_Hopkins
      @Tyrell_Hopkins Před rokem

      You use bitfocus companion right? Never use the streamdeck software, it sucks.

    • @unpersonableme1805
      @unpersonableme1805 Před rokem +5

      @@Tyrell_Hopkins pls explain

    • @Big_Flubba
      @Big_Flubba Před rokem +3

      @Napalm Tampon Wdym? Yes, it has its flaws but it is great.

    • @Big_Flubba
      @Big_Flubba Před rokem +2

      @@Tyrell_Hopkins Also companion is also a plugin on the stream deck library

    • @Tyrell_Hopkins
      @Tyrell_Hopkins Před rokem +2

      @@Big_Flubba no need to use the streamdeck software, I can program everything within companion and some shell scripts, also I run it redundant with two Raspberry Pi that talk to each other and fall back if primary fails. Less bs the better

  • @Sendrim
    @Sendrim Před rokem +8

    This is sick! I've wanted to do something similar for my setup for a while and you've really inspired me with some functions! I love the window resizing-hotkeys!

  •  Před rokem +1

    Bravo! This is absolutely fantastic. You gave me a lot of ideas! Can’t wait to start. Thanks for sharing 😊

  • @CodyCleggMusic
    @CodyCleggMusic Před rokem

    Always respect going all out and putting in the work when you have a very specific set of requirements to get just what you want out of something.

  • @spartanwka
    @spartanwka Před rokem +6

    Man you're inspirational, love all the details you go through to make a video so clean. Would love to find more channels like yours.

  • @avantgardethemighty6724
    @avantgardethemighty6724 Před rokem +5

    Cool concept! If you want the best of both worlds (in terms of responsiveness on your desktop) you could make the pico (W) make direct calls to HA (or other) and only send pc-specific keys through as shortcuts for AHK. For new users I'm pretty sure you could forward the commands via HA so it wouldn't even have to be attached to your pc!

  • @stephandelaat
    @stephandelaat Před rokem

    Nicely done david!

  • @_BangDroid_
    @_BangDroid_ Před rokem

    Really impressive! Quite a few little nuggets of inspiration for a few projects here

  • @acparks1
    @acparks1 Před rokem +14

    A day with a new David Zhang video is a good day.

  • @sylusasher3456
    @sylusasher3456 Před 7 měsíci +6

    I was called poor for 8 solid minutes, but watched it twice. Now I’m in debt.

  • @coolerbast1
    @coolerbast1 Před rokem

    Very clean. Amazing work

  • @RetroPlus
    @RetroPlus Před 10 měsíci

    Now this is a truly meaningful setup upgrade, this is brilliant.

  • @Dunkeyhote
    @Dunkeyhote Před rokem +7

    This is really awesome! Hyped to be subscribed to an actual maker who tweaks his setup.

  • @MrPinpoint007
    @MrPinpoint007 Před rokem +8

    Glad this works for you, too much effort to set up for most people tho 😂

    • @HelloDavid
      @HelloDavid  Před rokem +4

      Haha. It started out a simple project. And then it snowballed quickly...

    • @MrPinpoint007
      @MrPinpoint007 Před rokem +2

      @@HelloDavid I can believe it. It’s not for me, but I’m happy people can deep dive into their interests.

  • @callumhaynes1384
    @callumhaynes1384 Před rokem

    Wow that's awesome! Nice work

  • @nacs
    @nacs Před 5 měsíci

    Really impressive how much functionality is in that device. Thanks for sharing what worked and importantly, didn't work.

  • @davidadamson1588
    @davidadamson1588 Před rokem +12

    That is a really nice project with awesome outcome! I am thinking of doing something similar but I am a little bit afraid of the tight coupling between the components which decreases flexibility when restructuring the desk... So I guess that I will stick with my manual setup for some more years :D

  • @fahimahmed8258
    @fahimahmed8258 Před rokem +9

    this is awesome but looks too complicated for me to attempt

  • @paul_london
    @paul_london Před 7 měsíci

    Looks nice, great job!

  • @MagiqFingersShorts
    @MagiqFingersShorts Před 9 měsíci

    Amazing vid. thank you for the inspo and all the info! New to the whole pi boards and programming and rly doing stuff outside of the standard issue pc uses thing and this was very helpful!

  • @NickChoong
    @NickChoong Před rokem +25

    This is the epitome of programmers spending hours trying to automate tasks that only take few seconds. Loved it!!!

    • @hoony30
      @hoony30 Před rokem +1

      LoooL

    • @sorvex9
      @sorvex9 Před rokem +1

      or automating tasks that have already been automated by an existing product on the market.

  • @timwhiting6854
    @timwhiting6854 Před rokem +29

    Rather than running the 9 key off of your main desktop, have you considered running it off of a Raspberry Pi, or a windows based single board computer and using that to wake everything up? Then you would only have the power usage of the small computer running all the time instead of your full computer. Re-purposing an older NUC might be another option.

    • @user-pd9ju5dk5s
      @user-pd9ju5dk5s Před rokem

      Can you explain further?

    • @Icessassin
      @Icessassin Před 7 měsíci +2

      @@user-pd9ju5dk5s use a low powered pc that can run the software instead of him having 1 of his two big boy pcs always on so he can use the keypad. what more is there to explain.

    • @sebastiancarreira5832
      @sebastiancarreira5832 Před 6 měsíci

      But with that you lose the AutoHotKey features in the main PC. You would need to install extra software in the PCs that would run a local server to listen for commands and then activate the macros while also programming the Raspberry Pi to send those commands to the correct server IP.

    • @Icessassin
      @Icessassin Před 6 měsíci +2

      @@sebastiancarreira5832 he keeps the side pc on because he needs the server running to even wake anything else. Run it of a pi and then have the server start up to control things once the big pc is up. Big pc takes over everything it needs to

  • @riccardik
    @riccardik Před rokem +1

    this is beyond cool! great work

  • @DustinMowcomber
    @DustinMowcomber Před rokem +1

    Woah. I love how you kept the functionality of the standing desk touch screen controls by adding the ESP as a proxy.

  • @jeswin83
    @jeswin83 Před rokem +13

    Hi David, awesome integration and automation effort! Could you elaborate and expand on what/how you got the 4 port USB switcher programmed? I'm looking to do something similar but not sure where to start with this. I figured from reading through some reddit posts that I could probably use an 4n25 optocoupler for this. But which ESP controller should I use? 8266? Thanks in advance!

    • @yang_dagod
      @yang_dagod Před 6 měsíci

      I’m trying to figure this one out as well

  • @pandaboy6621
    @pandaboy6621 Před rokem +3

    I love the idea behind the automations that one would typically not think of a macropad for. You might want to take a look at the Adafruit macropad 2040. Although it doesn't have a wireless connection you might be able to modify it with a battery and ble or take inspiration from its design.

  • @ManuelTransfeld
    @ManuelTransfeld Před rokem

    Simply awesowe. I never regretted my subscription!

  • @siravista
    @siravista Před rokem +1

    I can't get over how amazingly awesome your keypad setup is! That must have been a terrible amount of time spent but it looks to be very well worth it!

  • @pawepiat6170
    @pawepiat6170 Před rokem +8

    I would highly recommend you add macros for Web tabs switching (left right tab, the pinned tab on the left etc) . I personally had it on my mouse by tilting the scroll wheel, and it was glorious. I would do your setup just for that and windows controls lmao

  • @gamergust4556
    @gamergust4556 Před rokem +5

    The feeling when everything worked must be incredible

  • @matthew-lawrence
    @matthew-lawrence Před rokem

    Awesome project, subscribed!

  • @BlazinX
    @BlazinX Před rokem +1

    😮 Wow! Incredible work!

  • @JavontaThomas
    @JavontaThomas Před rokem +5

    look into MQTT to send commands. may be able to use MQTT to send commands from the Pi to home assistant which in turn can send the commands to whatever PC is currently being used.

  • @chrisgall9787
    @chrisgall9787 Před rokem +3

    Any reason why you didn't consider a Stream Deck for the keypad? Appreciate they don't have wireless options but do have underdesk mounts. Feel it would have given you more flexibility on the keys you could use.

    • @HelloDavid
      @HelloDavid  Před rokem +4

      I did consider it. And it probably is the better solution for most people. I just wanted something that was more compact and close to my keyboard (make using the mute button super easy while playing games). Also I'm always looking for cheaper alternatives to these premium solutions, though in hindsight this custom keypad started adding up in price after adding the keycaps and Pico. But still significantly cheaper. And finally, I had grander plans to have it run independent of the PC, such as on a Raspberry Pi or something, which I imagine would a huge headache to make work with the Streamdeck

  • @AI-PhotographyGeek
    @AI-PhotographyGeek Před rokem

    Lots of hardwork I could see!

  • @goddamnit
    @goddamnit Před měsícem +1

    Very inspirational for people who've wanted to get started with ESP32 tinkering, thank for this chill and amazingly edited video!

  • @deldarel
    @deldarel Před rokem +1

    This has given me so much inspiration! Thank you!

  • @PickleTickle
    @PickleTickle Před rokem +9

    I wonder if you can fix the "always on PC" problem by using the raspberry pi your keypad is connected to as the OS that controls everything instead of your PC to do this. It would be a nightmare to refactor given what you've already set up though

    • @dagarou
      @dagarou Před rokem +2

      I was thinking something similar. If not then use the same machine that runs Home Assistant

    • @Spoonuk666
      @Spoonuk666 Před rokem +1

      @@dagarou Might be challenging since his HA is a VM so he would need to pass the USB port that the keypad dongle is connected to directly to the VM running HA. Doable for sure but I'm not totally sure how locked down the HA Linux OS is..

    • @lePoMo
      @lePoMo Před rokem

      if he has HA, the answer could be node red and MQTT.
      on the rpi:
      keypad > node red > mqtt > (remote) HA
      maybe there is a more efficient way than node red to get keyboard input to send it via mqtt.

  • @AurelTristen
    @AurelTristen Před rokem +4

    I was one of those thinking 'what about Stream Deck?' but it's wired. No getting around that. Wire aside, I too spend a lot of time working on macros, page layouts, AHK scripts and IFTTT to try and streamline at-desk workflows. Feels like a waste until it's (mostly) working. Totally worth it!

    • @paulhorn24
      @paulhorn24 Před rokem

      Elgato Stream Deck + (plus) with the adjustable knobs

  • @georged8644
    @georged8644 Před 5 měsíci

    Thank you so much for this informative and inspirational video! I am already setting to work to create my own patterned around your excellent work!

  • @DIYtechie
    @DIYtechie Před rokem +2

    These are the kind of projects I love. Home/work automation and customisation. I have also used autohotkey for some of my automations and Home Assistant.

  • @kbhasi
    @kbhasi Před rokem +4

    Wow. I could tell that your needs are different from mine (e.g. you use a TV as a monitor while I have 4 monitors instead), but you showed some stuff I never thought about that I could use in my own setup, like the USB switch!
    In my case, instead of having a light bar that has controls on it, I have a Yeelight light bar that comes with its own wireless puck used to control the basic features.
    I have an old tablet (that I tried to sell but nobody bought) repurposed to be a dedicated Home Assistant dashboard when my PC is powered off and a Deckboard Pro client when my PC is powered on. I may look into some sort of automation thing to have it automatically switch apps when my PC goes offline or comes back online. Besides that, I have a custom Nova Launcher configuration to hide as much of One UI as possible, have an app drawer that starts on a tab that has only the apps I would use, and on the home screen, I have a layout that's intended to mimic the ambient mode on Google Nest Hub, but with an additional widget in the top right for battery status. That tablet has a limited 16 GB of storage and battery charging issues (it can't fast charge). I plan to get a MOFT stand for that.
    I see you use Home Assistant too!

  • @ya64
    @ya64 Před rokem

    This is a really cool project!

  • @CristobalRuiz
    @CristobalRuiz Před rokem

    Wow! This is badass! Thanks for posting!

  • @philpatelis2326
    @philpatelis2326 Před 4 měsíci

    Impressive skills! Well done.

  • @rev_dude
    @rev_dude Před rokem +1

    Truly a programmers way to solve a problem. Thanks for all the videos, its always nice when you post something new and interesting.

  • @matthagg
    @matthagg Před rokem

    This is a sweet project dude.

  • @Legitlyyy
    @Legitlyyy Před rokem

    Was just watching some old videos wondering when the next one would be. Great surprise on a cold winter day!

  • @rickystafford7433
    @rickystafford7433 Před rokem

    looks like magic. nice work!

  • @AfrikanMan
    @AfrikanMan Před 8 měsíci

    This is a very cool project. Good job!

  • @allenzhu3478
    @allenzhu3478 Před rokem

    clear thought, chill vibed video, great video to watch, a even better tool to have 😎

  • @xuejianyao4363
    @xuejianyao4363 Před rokem +1

    Impressive engineering skill and project.

  • @WillUlt1mate11
    @WillUlt1mate11 Před rokem

    this is just on another level. I wouldn't know where to start!

  • @cakec9
    @cakec9 Před rokem

    love love love. I am saving this video. I am definitely gonna implement this

  • @joshuastevens2804
    @joshuastevens2804 Před 4 měsíci

    Man, you rock. Inspirational!

  • @c0ncaf
    @c0ncaf Před rokem

    man, this is crazy and so inspiring!

  • @austindale3129
    @austindale3129 Před 2 měsíci

    Fantastic Video! I'd love to see a separate video on the standing desk passthrough controller build.

  • @maxbentata714
    @maxbentata714 Před 7 měsíci

    Holy crap man. You're a true wizard. Amazing project.

  • @thes.e.s.hcollective4377

    Very cool project. This is the exact content I come to CZcams for.

  • @malithaw
    @malithaw Před rokem +1

    Man among a sea if useless dream desk setup videos, you are videos are an inspiration.

  • @Sica1000
    @Sica1000 Před rokem

    VERY NICE would like to see more updates on this.

  • @hockysa
    @hockysa Před rokem

    wow this is brilliant. really good work and great content

  • @ApexJnr
    @ApexJnr Před rokem

    This is one of the best videos of it's kind.

  • @HybridDivide
    @HybridDivide Před rokem

    I'm jealous of your setup.
    Great work.

  • @joem3581
    @joem3581 Před 6 měsíci

    Really cool video, feeling inspired to do something similar.

  • @arbaieffendi3092
    @arbaieffendi3092 Před 9 měsíci

    This one is the sickest macro pad ever! Thanks for sharing David

  • @kmacintyre1972
    @kmacintyre1972 Před 3 měsíci

    I both want to thank you for showing me what you’ve come up with and to curse you for sending me down this rabbit hole. You have found a new fan I’ve subscribed and look forward to seeing what’s next

  • @sn95chuy89
    @sn95chuy89 Před rokem

    you blew my mind with an amazing video and amazing idea subcribed!!

  • @heybuddy2328
    @heybuddy2328 Před rokem

    I was a long time lurker but this was epic and finally subscribed. Sorry it took me so long

  • @The_Smitty713
    @The_Smitty713 Před rokem

    Discovered your channel via this video. I must say this is incredibly impressive!

  • @MT-iv8vh
    @MT-iv8vh Před rokem

    Great job maN! this looks amazing.

    • @MT-iv8vh
      @MT-iv8vh Před rokem

      @@Davidzhang52 no way!

  • @jaysboredman
    @jaysboredman Před rokem

    This is the stylish multi hobby super detailed stuff I like. I wish more youtubers made more diy with style tech videos.

  • @melvin8469
    @melvin8469 Před rokem +1

    That’s really nice. I need to find or implement a similar solution for my standing desk.

  • @M3WX
    @M3WX Před rokem

    This is so awesome, great inspiration!

  • @citronovastava
    @citronovastava Před rokem

    This is my wet dream... Awesome man!

  • @dronenb
    @dronenb Před rokem

    Awesome video, you've earned yourself a sub.

  • @JL-
    @JL- Před rokem

    literally my dream efficient and clean setup

  • @AlDumbrava
    @AlDumbrava Před 17 dny

    Very cool! Might do something similar at some point.

  • @FitLabb
    @FitLabb Před rokem +1

    Great video! Been wanting to find or build something like this for myself as well, not only for the controls of various things in my home office/studio, but also for my video editing.

    • @MumbikerNikhil1
      @MumbikerNikhil1 Před rokem

      👆Congratulations winner I have prize for your 🎁🎁♥️,, Text the above telegram user name to claim your prize ❤️❤️👆

  • @byGDur
    @byGDur Před 2 měsíci

    very impressive _and_ useful, kudos

  • @edwinjonah
    @edwinjonah Před rokem

    Wow, this is next level!

  • @JohnSmith-zu2sy
    @JohnSmith-zu2sy Před 7 měsíci

    so pleased you did this, AHK has been my go-to for automating dumb things to make them smart

  • @iamodmk
    @iamodmk Před rokem

    I love how cool this is. I hit the subscribe. Great content I love the video. 🎉

  • @witalit
    @witalit Před rokem

    Wow, amazing work.

  • @SOfilmable
    @SOfilmable Před rokem

    Love it ! so clean and amazing