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

Комментарии • 92

  • @FloppydoggamingHD
    @FloppydoggamingHD 4 года назад +22

    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

    • @eDrumsInANutshell
      @eDrumsInANutshell 10 месяцев назад

      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.

  • @mitchwd
    @mitchwd 4 года назад +3

    I helped a friend out once with an OLA project. It was a nightmare, but like you, we eventually figured it out. Well done!

  • @cezarlagmay9575
    @cezarlagmay9575 4 года назад +25

    Nobody:
    Jake: I need to bring these lights with me
    I need more lights. Lights for days

    • @johnvonhorn2942
      @johnvonhorn2942 4 года назад

      Jake's a lightbringer! (Only Guild Wars players will understand but I'm not going to apologize for that)

  • @aj35lightning
    @aj35lightning 4 года назад +1

    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

  • @athulnrao9718
    @athulnrao9718 4 года назад +4

    Came searching for HTML tutorial....
    Ended up smashing the subscribe button and the like buttons of every video !

  • @eDrumsInANutshell
    @eDrumsInANutshell 10 месяцев назад

    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.

  • @rossli8621
    @rossli8621 Год назад

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

  • @FrankBott
    @FrankBott 4 года назад +1

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

  • @iamkahvi
    @iamkahvi 2 года назад

    So satisfying to see this actually work through a simple REST interface in the end! Good job!

  • @ikkebenhier6831
    @ikkebenhier6831 3 года назад

    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

  • @darkwinter8
    @darkwinter8 4 года назад +4

    I'm glad to see you post another Raspberry Pi video!

  • @opod_dev
    @opod_dev 4 года назад +3

    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

  • @Greg-xz9tw
    @Greg-xz9tw 4 года назад +6

    Well done Jake! You're a great developer.

  • @nawazishali2433
    @nawazishali2433 4 года назад +2

    Literally I waited for your videos your videos are so amazing I love your accent it's so good .

  • @RyderCalmDown
    @RyderCalmDown 2 года назад

    im in love with you for 13:55, I literally spent my entire day compiling and debugging and this was the fix.

  • @thedude3213
    @thedude3213 3 года назад

    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.

  • @LB767
    @LB767 4 года назад +8

    This was thoroughly enjoyable lol
    Always satisfying when something ends up working after days of trial and error

  • @thehumbledeveloper4427
    @thehumbledeveloper4427 4 года назад +25

    Dude, where have you been

  • @charles-vq6sd
    @charles-vq6sd 4 года назад +1

    that strobe setting is cool.

  • @SoumitraChakravarti
    @SoumitraChakravarti 4 года назад +1

    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

  • @intubus2
    @intubus2 4 года назад +1

    Jake MacGyver at his best!
    Thanks for sharing!

  • @nmigueles
    @nmigueles 3 года назад +3

    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.

  • @263Leo
    @263Leo 4 года назад

    Nice video. I do love the cooking ones. What are you cooking next?

  • @stingalleman3936
    @stingalleman3936 4 года назад

    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.

  • @Gaget01Stuff
    @Gaget01Stuff 4 года назад +1

    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.

  • @2020SCRATCHERS
    @2020SCRATCHERS 4 года назад

    Wow your so good on the screen hun. Had to comment again. Your super awesome

  • @2020SCRATCHERS
    @2020SCRATCHERS 4 года назад

    wow, you have great content. You're amazing. good luck with your channel.

  • @portlyoldman
    @portlyoldman 4 года назад +33

    You're better at this than the cooking ain't ya 😏

    • @FrankBott
      @FrankBott 4 года назад +5

      he made himself a pi.

  • @abhimanyuattrish
    @abhimanyuattrish 4 года назад +1

    love this channel

  • @John.0z
    @John.0z 4 года назад +2

    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.

  • @---nw9qu
    @---nw9qu 4 года назад +1

    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?

  • @Niels1993
    @Niels1993 4 года назад +2

    You might want to take a look at Home Assistant, an open-source project for home automation.

  • @nickloss2377
    @nickloss2377 3 года назад

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

  • @MogsterKupo
    @MogsterKupo 4 года назад +10

    "... the next instalment of me wasting my time when I could just use Siri."👍
    The satisfying feeling that only us nerds understand.😂

    • @polderbert
      @polderbert 3 года назад +1

      i was writing just that before i read your comment 🤐

  • @tobiasvdberg
    @tobiasvdberg 4 года назад

    What is the brand and model of the light you're using? And do you know what the idle usage (Watt) is?

  • @ninjaz5736
    @ninjaz5736 4 года назад

    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!

  • @chunnigupta6443
    @chunnigupta6443 4 года назад

    This is nice dude !!

  • @kumarvishalben
    @kumarvishalben 4 года назад +12

    Wow long time no see 😄👌.
    (edit)
    Oh,, 3 weeks ago you did uploaded a vid. 😅👍

  • @erayeroglu8175
    @erayeroglu8175 Год назад

    you are amazing broooo

  • @mikeydk
    @mikeydk 4 года назад +2

    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.

  • @jorismathijssen
    @jorismathijssen 4 года назад

    I think this is going to safe my garden DMX project, thanks! Is there anything available on github from your own code?

  • @nathan12581
    @nathan12581 4 года назад

    Are you going to make the UI for the project?

  • @danilo2735
    @danilo2735 4 года назад

    Dont be gone for so long man

  • @FloWoelki
    @FloWoelki 4 года назад +6

    Oh hello again ;)

  • @JohnPretto
    @JohnPretto 4 года назад +1

    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

  • @okandemirbaykal5597
    @okandemirbaykal5597 4 года назад +1

    16:10 perfect antithesis of arch

  • @dudefromkeene
    @dudefromkeene Год назад

    Could you show how I could use this on Home Assistant?

  • @polderbert
    @polderbert 3 года назад

    I love it 🤩

    • @polderbert
      @polderbert 3 года назад

      (sent on 15 minutes watching)

    • @polderbert
      @polderbert 3 года назад

      i love problem-solving and watching you do it! fantastic video again!!

  • @xenon5993
    @xenon5993 4 года назад +1

    "By 'think about' I mean google..."
    Can't stop laughing xD

  • @barefeg
    @barefeg 4 года назад +1

    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

  • @plurilabs
    @plurilabs 4 года назад

    Hi Jake, love your videos! I have a question about collaborating with you. How should I contact you?

  • @filmbyben2
    @filmbyben2 4 года назад

    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.

  • @samu10k91
    @samu10k91 4 года назад +2

    nice lights jake but where's claudio

  • @oliverguy3121
    @oliverguy3121 4 года назад +5

    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 (

  • @supremeicecreme1658
    @supremeicecreme1658 2 года назад +1

    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?

  • @DominicGo
    @DominicGo 4 года назад +2

    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

  • @ZillionPrey
    @ZillionPrey 3 года назад

    Try Home Assistant to build a Dashboard for better control :)

  • @glarencetravels7869
    @glarencetravels7869 4 года назад

    your cool!

  • @xanderstuff7
    @xanderstuff7 4 года назад +1

    I actually built an opendmx device for about $10... for reference, I work in theatre.

  • @helloadios12
    @helloadios12 4 года назад +1

    6:23 me when I look up questions on Stackoverflow but still don't understand the answers

  • @angeldelvax7219
    @angeldelvax7219 2 месяца назад

    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.

  • @Oscar-if6lq
    @Oscar-if6lq 4 года назад +1

    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)?

  • @jensschmidt
    @jensschmidt 3 года назад

    I just watched a 30min video of which I understood about 10 seconds. And liked it. 🙄😳🙃

  • @heroyusuf5511
    @heroyusuf5511 4 года назад

    can someone tell me whats wrong with this
    websiteinphp

  • @7suro
    @7suro 4 года назад

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

  • @cjay2
    @cjay2 4 года назад +1

    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.

  • @kawyth68
    @kawyth68 4 года назад

    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 :)

  • @rockeyrocket1224
    @rockeyrocket1224 4 года назад +2

    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.

  • @999sian
    @999sian 4 года назад

    Was this film in like 2018

  • @yourfnproblem
    @yourfnproblem 4 года назад +2

    Simon disliked the video.

  • @blandstan
    @blandstan 4 года назад +1

    so this is how ruff ryders are rolling now huh?

  • @garyh4458
    @garyh4458 3 года назад

    If you are interested in DMX and laser lighting check out my personal software project at www.spaghettilasershow.com

  • @MacTX
    @MacTX 4 года назад +2

    "small" obsession huh, I wonder what would constitute a large obsession.

  • @johnvonhorn2942
    @johnvonhorn2942 4 года назад

    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

  • @blackperosn260
    @blackperosn260 4 года назад

    Who else is into lighting and just yelling at him.

  • @NathanSweet
    @NathanSweet 2 месяца назад

    Came here for flashing lights, where are the flashing lights?!

  • @predak284
    @predak284 4 года назад

    How will be learn python in 12 minutes!?

  • @SomethingNick
    @SomethingNick 4 года назад

    Pretty rude of you not to trust Simon

  • @erayeroglu8175
    @erayeroglu8175 Год назад

    sacrifice to god

  • @beedgehog
    @beedgehog 3 года назад

    If only you could eat it...