DMX Lighting Control with Raspberry Pi Zero | Home Automation #06
HTML-код
- Опубликовано: 11 янв 2020
- Interactive Maths, Science & Computer Science courses at brilliant.org/JakeWright
After a lot of trial and error, I manage to use a Python service on a Raspberry Pi to control DMX disco lights.
www.openlighting.org
www.martinjhiggins.co.uk/hasht...
----------------------------------------
4K CAMERA amzn.to/2EGMQRi
MICROPHONE amzn.to/2B0KqKS
CHEAPER MIC amzn.to/2EGFZHo
VLOGGING CAMERA amzn.to/2EGqGhZ
SMALLER CAMERA amzn.to/2EHMPg7
LED LIGHT amzn.to/2AZgMpB
TINY LIGHT amzn.to/2B0KJFx
SOCIAL MEDIA
twitter / jakewrightuk
facebook / jakewrightuk
instagram / jakewrightuk
snapchat jakewrightuk
jakewright.net
Hi Jake, I am a lighting designer basically meaning that I spend all-day flashing stage lights 😂 the main difference between the £50 entech and the £100 on that's that it can run 2 universes of lighting of a total of 1024 DMX channels. Also, It allows you to do DMX input
which is really cool.
Keep up the good work,
Griff
So cool dude. I am a medical physicist (43) to earn a living. Lately I saw a video with the Metallica lighting engineers talking about the recent tour setup. Damn. It would be so cool to be at least the assistance of such a guy. And audio engineering, of course.
Only one week.
I helped a friend out once with an OLA project. It was a nightmare, but like you, we eventually figured it out. Well done!
Nobody:
Jake: I need to bring these lights with me
I need more lights. Lights for days
Jake's a lightbringer! (Only Guild Wars players will understand but I'm not going to apologize for that)
did not think i would sit thru this 30 minute video but that was great. I love how you didn't cut out all the parts that didn't perfectly work. It was super cool to see your process for iterating thru everything
Came searching for HTML tutorial....
Ended up smashing the subscribe button and the like buttons of every video !
Pheww.... I thought I am the only crazy one guy, sitting in a bunch of RGB pars every evening. Like you I always liked these stage lighting. Together with being a hobby musician this preference is boosted... haha. After 20 years of making music I am even deeper into music than ever. I love that MIDI, DAW VST stuff. Together with eDrums... now I am trying led pars and led pixel stripes to trigger with MIDI. yeah that's so much fun.
Bro! I am a computer science student and DJ hobbyist. I literally got the same idea but have no idea where to start at all. Your video helped me tremendously about what I can utilize to get my project started. Thank you so much for sharing!!!
Cooking with Jake using Raspberry PI> I am doing similar effort with movable solar panels.. using PI.. months later.. everything is almost working right.. More of these please! Thanks for the post. Much appreciated..
So satisfying to see this actually work through a simple REST interface in the end! Good job!
Yoo man , you saved my week.
Pulled my hair out wondering why RP pi didn't start ..
Now it does working..and now is my target de RP pi pico to run as dmx controller.
I thank you kindly from the netherlands
I'm glad to see you post another Raspberry Pi video!
I love your videos just because of how real it is and it makes me more excited for when I become a software developer. Most of the software developers that vlog are in the US and I'm in Ireland so your vlogs give me a more realistic view of how it'll be and it excites me a lot
Well done Jake! You're a great developer.
Literally I waited for your videos your videos are so amazing I love your accent it's so good .
im in love with you for 13:55, I literally spent my entire day compiling and debugging and this was the fix.
Thank you, Jake! I was just on my way down the same rabbit hole as you. I stopped after having trouble with the pysimpledmx library and then found your video. I had no idea what technical issues awaited me if I had continued on that path. I think given what I know now (after your video), I will try a NodeMCU with a RS485 adapter instead.
This was thoroughly enjoyable lol
Always satisfying when something ends up working after days of trial and error
Dude, where have you been
that strobe setting is cool.
Video request! Firstly you post amazing content Jake. I would really love it if you can make a video about banking software in general; stress on the type of services and how data is stored and security aspect, etc. basically how would one go about to build software for banks
Jake MacGyver at his best!
Thanks for sharing!
Hi jake, i would love to see your orchestration for the whole system. I can't wrap my head around it only watching your repo.
Nice video. I do love the cooking ones. What are you cooking next?
I used NodeRed with some Homelab extensions to control it with my iphone, and the OpenLighting Architecture server to communicate with NodeRed and my Entecc Open DMX thingy. Works like a charm. I can also set the colors and such, you just need to write a script to convert the values from Homekit to RGB.
Great video! FYI you could cut out a large number of the moving parts by just sending serial data to the adapter yourself. It's not terribly complicated, main challenges would just be ensuring the adapter gets recognized as a USB serial device, as well as sending out the regular packets on a timer with the DMX data in.
Wow your so good on the screen hun. Had to comment again. Your super awesome
wow, you have great content. You're amazing. good luck with your channel.
You're better at this than the cooking ain't ya 😏
he made himself a pi.
love this channel
OK, so DMX just re-created the serial bus, and called it a "universe". And then inserted some strangeness to require special libraries. Well done DMX.
I would guess that "stageprofi" is Stage Profile - which makes sense given the origin of the control system. Yes, the Zero requires a later build of Raspbian than the early ones... as do the Pi3B+ and Pi4.
The result sounds like a good Xmas or party solution.
Love this series. I'm also using several Rasp Pi zeros for various projects, mainly various sensors. Decided to use Node Red, Mosquito, and some Python, which viewers might explore if they don't want to create services from scratch. Do you have a public Git with code snips?
You might want to take a look at Home Assistant, an open-source project for home automation.
I love this! I've been trying to remember the DMX related paper I had read about a couple years ago. But God help me I just couldn't remember what it was called. it's the 𝙊𝙥𝙚𝙣 𝙇𝙞𝙜𝙝𝙩𝙞𝙣𝙜 𝙋𝙧𝙤𝙟𝙚𝙘𝙩! thank you!! I just couldn't remember the name lol. Linux in Clubs, baby!
thank God for you, Jake. Wish I had found your channel years ago.
I'm the sound guy at a nightclub in Toronto Canada. But since the sound system is usually always on point (cuz I'm 𝙩𝙝𝙖𝙩 good 😉) the owner ends up putting me behind the lighting board too. Although being a colour blind lighting tech presents its own unique challenges and has lead to some hilarious 'kerfuffles' with the colour palette, wrapping my head around the whole world of DMX programming has been the real difficult part. Having to learn this DMX thing from scratch, mostly through trial and error on my own at a live clubnight is bloody hard.
I have wanted to set up a small inexpensive DMX universe at home to mess around with and I think the OLP is the best way to go.
If you're ever in town, I owe you a beer! 🙏
"... the next instalment of me wasting my time when I could just use Siri."👍
The satisfying feeling that only us nerds understand.😂
i was writing just that before i read your comment 🤐
What is the brand and model of the light you're using? And do you know what the idle usage (Watt) is?
One program that I have used successfully is "QLC Plus" or "QLC+", there is an official RasPi release, but I built it from source on the Pi 1, and after a few hours (at least overnight, if not into the next day), it was working, at least for ArtNet streaming, no idea if it works with OpenDMX but where there's a will, there's a way!
This is nice dude !!
Wow long time no see 😄👌.
(edit)
Oh,, 3 weeks ago you did uploaded a vid. 😅👍
you are amazing broooo
It can be done much easier than with ola, you can make python write the bytestring itself, removing the need of ola. Having control over it all, there isnt need to mess around with universes, just have an array of up to 512 values, and set the channel to the value you want.
I think this is going to safe my garden DMX project, thanks! Is there anything available on github from your own code?
Are you going to make the UI for the project?
Dont be gone for so long man
Oh hello again ;)
Wow, what camera and lens are you using? It looks fantastic. Much better than many well-known RUclipsrs. Bravo. I love how you guys pronounce "Router." (Rooter) hehehe
GH5 with the kit lens
16:10 perfect antithesis of arch
Could you show how I could use this on Home Assistant?
I love it 🤩
(sent on 15 minutes watching)
i love problem-solving and watching you do it! fantastic video again!!
"By 'think about' I mean google..."
Can't stop laughing xD
The permission issue is probably because you're running the container as a user. The copy directive in dockerfile accepts an argument to set the user and group the copied file needs to have
Hi Jake, love your videos! I have a question about collaborating with you. How should I contact you?
Why are you using them in slave mode? If you address each light appropriately then you can control each light individually, which could be cool to do color chases and effects between them - as well as giving them different intensities.
nice lights jake but where's claudio
Pedantic comment time!
DMX cable is not the same as XLR cable, DMX is a digital signal and is made to go over a twisted pair cable (similar to CAT5 cable). XLR cable is made for analog signals, and when used for DMX you can get some weird artifacts such as DMX packets being missed or received incorrectly.
That being said, it is usually fine for short (
Hey Jake, I just came back to this video after talking with someone who'd be interested in something smart like this with DMX. Did you ever share the code for your control API anywhere?
yep. github.com/jakewright/home-automation
Alternatively: you can use primary/secondary, master/minion, coordinator/worker, publisher/subscriber etc.
Similarly instead of blacklist/whitelist: we can use allow/denylist etc.
When some of the OSS community decided this change, i felt that it’s kind of silly, but then I realized it’s a really messed up terminology. Just wanted to share haha
Try Home Assistant to build a Dashboard for better control :)
your cool!
I actually built an opendmx device for about $10... for reference, I work in theatre.
6:23 me when I look up questions on Stackoverflow but still don't understand the answers
Something to keep in mind:
DMX cable is NOT the same as audio cable! Strictly speaking DMX 'should' use 5 pin XLR, not 3 pin. But especially cheaper lights come with a 3 pin anyway. But the cable itself is absolutely different!
Audio cable has an impedance of 60 ohm, DMX cable has an impedance of 120 ohm. That's the high frequency impedance, not the wire resistance.
What this effectively means is that you can get real annoyingly strange behavior is you use audio cable instead of DMX.
For short distances, it won't be a problem. But over longer distances, the wrong impedance cable and / or not properly terminated line cause reflections in the line.
Literally, the signal bounces back when it reached the end of the line, interfering with the signal you just sent out.
Again, over short distances it'll likely work fine. But don't expect it to still work in a slightly more complex setup with longer lines.
I hope you found a way to install the DMX software on a fresh installation of raspbian rather than letting Simon instigate surprise Discos (or worse) at his own whim.
But in all seriousness, shouldn't the DMX software people give you instructions on how to install it, rather than provide an image (of a potentially outdated/vulnerable/incompatible image)?
I just watched a 30min video of which I understood about 10 seconds. And liked it. 🙄😳🙃
can someone tell me whats wrong with this
websiteinphp
could you do us a favour, to get a clipmicro... the apartment is huuuge, echo is not that brilliant as probably supposed to remind us of superperfect cribs
...
Better you 'wasting your time' and learning more good stuff, than using siri, and having Apple knowing and recording when you're using your lights.
hi i have a question
do u know the programming languge c++?
if u know it and u good at it pls do a video where u explain it to us
thx :)
I would totally be able to program and home automate disco lights but I got distracted by those sexy short pants in the beginning of the video.
Was this film in like 2018
Simon disliked the video.
so this is how ruff ryders are rolling now huh?
If you are interested in DMX and laser lighting check out my personal software project at www.spaghettilasershow.com
"small" obsession huh, I wonder what would constitute a large obsession.
Why the hell do you need a customised kernel to drive the lights?! Get Cambridge on line #1, we need answers (that we won't be able to understand cos we're not you)
And, "sorry jake", but as a Cambridge man you should be writing that customised kernel, himself, in C.
And finally I want you to remake this classic pop video, changing the lyrics to "I drove all lights to be with you"
ruclips.net/video/m5N9IHqqGcA/видео.html
If we turn the lights down low enough you do look a bit like him and that's a great look. You are the complete package
Who else is into lighting and just yelling at him.
Came here for flashing lights, where are the flashing lights?!
How will be learn python in 12 minutes!?
Pretty rude of you not to trust Simon
sacrifice to god
If only you could eat it...