I Built a Keypad to Control My Entire Desk Setup - OLED TV, USB Switch, Lights, Desk, Macros...
Ғылым және технология
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
Пікірлер: 1 000
*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
Жыл бұрын
This is so useful and can be used for many things. Door entry, camera, lights, TV, curtains/blinds, Aircon/Temps, etc. Well done.
@luckyreda
Жыл бұрын
Hi David, what is the length of your desk? Is it 160 or 140? Thank you!
@hal1234
Жыл бұрын
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
Жыл бұрын
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
Жыл бұрын
That’s the life of every home Assistant user, Man. I feel you. Incredible job! 👍🏻
Impressive combination of software and hardware skills. Kudos to both this and the production quality. A rare combo.
@maxmeier532
Жыл бұрын
Basically, to watch some porn this guy had to go through ropes like he was starting a passenger airplane.
@sebastiancarreira5832
6 ай бұрын
Not to mention graphic design. Those icons are very clear, clean and elegant!
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
Жыл бұрын
nice d riding
@automatic241
Жыл бұрын
@@el1398 Why would you take the time to comment this? Why do you feel the need to do so?
@el1398
Жыл бұрын
@@automatic241 other d rider spotted
@Aldrnarii
Жыл бұрын
@@el1398 So let me guess, either jealousy or a compounded lack of social skills, am I right?
@the1whoplayz
7 ай бұрын
@@Aldrnarii most likely jealousy lmao.
This is so cool how you integrated everything. Also props for designing easy to understand pictograms for all the buttons.
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!
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.
this is really impressive, you did an awesome job designing and building all of this
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!!!
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.
That's an immense amount of work, but a fantastic end result. Great job!
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. :)
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!
Can I just say how awesome this guys is to provide all his code?
@avantgardethemighty6724
Жыл бұрын
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
Жыл бұрын
@@avantgardethemighty6724 Well his code has no license so it's not open-source per se, but I am sure it's just an oversight
This is some seriously impressive work, well done!
This is epic man. I love it. Its such a flex to anybody who comes over
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 KZread 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
Жыл бұрын
You use bitfocus companion right? Never use the streamdeck software, it sucks.
@unpersonableme1805
Жыл бұрын
@@Tyrell_Hopkins pls explain
@Big_Flubba
Жыл бұрын
@Napalm Tampon Wdym? Yes, it has its flaws but it is great.
@Big_Flubba
Жыл бұрын
@@Tyrell_Hopkins Also companion is also a plugin on the stream deck library
@Tyrell_Hopkins
Жыл бұрын
@@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
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!
Bravo! This is absolutely fantastic. You gave me a lot of ideas! Can’t wait to start. Thanks for sharing 😊
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.
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.
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!
Nicely done david!
Really impressive! Quite a few little nuggets of inspiration for a few projects here
A day with a new David Zhang video is a good day.
I was called poor for 8 solid minutes, but watched it twice. Now I’m in debt.
@davey2k12
2 ай бұрын
😂😂😂😂😂
Very clean. Amazing work
Now this is a truly meaningful setup upgrade, this is brilliant.
This is really awesome! Hyped to be subscribed to an actual maker who tweaks his setup.
Glad this works for you, too much effort to set up for most people tho 😂
@HelloDavid
Жыл бұрын
Haha. It started out a simple project. And then it snowballed quickly...
@MrPinpoint007
Жыл бұрын
@@HelloDavid I can believe it. It’s not for me, but I’m happy people can deep dive into their interests.
Wow that's awesome! Nice work
Really impressive how much functionality is in that device. Thanks for sharing what worked and importantly, didn't work.
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
this is awesome but looks too complicated for me to attempt
Looks nice, great job!
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!
This is the epitome of programmers spending hours trying to automate tasks that only take few seconds. Loved it!!!
@hoony30
Жыл бұрын
LoooL
@sorvex9
Жыл бұрын
or automating tasks that have already been automated by an existing product on the market.
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
Жыл бұрын
Can you explain further?
@Icessassin
7 ай бұрын
@@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
6 ай бұрын
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
6 ай бұрын
@@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
this is beyond cool! great work
Woah. I love how you kept the functionality of the standing desk touch screen controls by adding the ESP as a proxy.
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
6 ай бұрын
I’m trying to figure this one out as well
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.
Simply awesowe. I never regretted my subscription!
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!
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
The feeling when everything worked must be incredible
Awesome project, subscribed!
😮 Wow! Incredible work!
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.
@ddzwiedziu
4 ай бұрын
Came here to post this.
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
Жыл бұрын
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
Lots of hardwork I could see!
Very inspirational for people who've wanted to get started with ESP32 tinkering, thank for this chill and amazingly edited video!
This has given me so much inspiration! Thank you!
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
Жыл бұрын
I was thinking something similar. If not then use the same machine that runs Home Assistant
@Spoonuk666
Жыл бұрын
@@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
Жыл бұрын
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.
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
Жыл бұрын
Elgato Stream Deck + (plus) with the adjustable knobs
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!
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.
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!
This is a really cool project!
Wow! This is badass! Thanks for posting!
Impressive skills! Well done.
Truly a programmers way to solve a problem. Thanks for all the videos, its always nice when you post something new and interesting.
This is a sweet project dude.
Was just watching some old videos wondering when the next one would be. Great surprise on a cold winter day!
looks like magic. nice work!
This is a very cool project. Good job!
clear thought, chill vibed video, great video to watch, a even better tool to have 😎
Impressive engineering skill and project.
this is just on another level. I wouldn't know where to start!
love love love. I am saving this video. I am definitely gonna implement this
Man, you rock. Inspirational!
man, this is crazy and so inspiring!
Fantastic Video! I'd love to see a separate video on the standing desk passthrough controller build.
Holy crap man. You're a true wizard. Amazing project.
Very cool project. This is the exact content I come to KZread for.
Man among a sea if useless dream desk setup videos, you are videos are an inspiration.
VERY NICE would like to see more updates on this.
wow this is brilliant. really good work and great content
This is one of the best videos of it's kind.
I'm jealous of your setup. Great work.
Really cool video, feeling inspired to do something similar.
This one is the sickest macro pad ever! Thanks for sharing David
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
you blew my mind with an amazing video and amazing idea subcribed!!
I was a long time lurker but this was epic and finally subscribed. Sorry it took me so long
Discovered your channel via this video. I must say this is incredibly impressive!
Great job maN! this looks amazing.
@MT-iv8vh
Жыл бұрын
@@Davidzhang52 no way!
This is the stylish multi hobby super detailed stuff I like. I wish more youtubers made more diy with style tech videos.
That’s really nice. I need to find or implement a similar solution for my standing desk.
This is so awesome, great inspiration!
This is my wet dream... Awesome man!
Awesome video, you've earned yourself a sub.
literally my dream efficient and clean setup
Very cool! Might do something similar at some point.
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
Жыл бұрын
👆Congratulations winner I have prize for your 🎁🎁♥️,, Text the above telegram user name to claim your prize ❤️❤️👆
very impressive _and_ useful, kudos
Wow, this is next level!
so pleased you did this, AHK has been my go-to for automating dumb things to make them smart
I love how cool this is. I hit the subscribe. Great content I love the video. 🎉
Wow, amazing work.
Love it ! so clean and amazing