ResinChem Tech
ResinChem Tech
  • 97
  • 2 897 369
MQTT and Home Assistant: An Abridged Version
Curious about using MQTT with Home Assistant? In this short abridged version of my other MQTT videos, I'll cover:
· What is MQTT and when might you use it?
· Setting up MQTT with Home Assistant in minutes
· Controlling devices and receiving updates with MQTT in Home Assistant
· Adding MQTT to your custom devices and projects
· Implementing MQTT Discovery for automatic creation of your entities
This is not intended as a complete "how-to" video, but more of an introduction. Each topic discussed will include a link to a seperate related video with many more details and step-by-step directions for those topics. These related videos are also linked below.
Chapter Links:
=============
00:00 Introduction
00:47 What is MQTT, a broker and why use it?
03:00 Adding the Home Assistant MQTT broker add-on
04:46 Installing the MQTT integration
05:40 Sending and Receiving MQTT Data in Home Assistant
07:18 Adding MQTT to your DIY Device
08:53 Home Assistant MQTT Discovery
10:32 Wrap up
Related Videos:
==============
ua-cam.com/video/Q0S0xOW35k8/v-deo.html
ua-cam.com/video/WYyPMHqMV-w/v-deo.html
ua-cam.com/video/VHiCtZqllU8/v-deo.html
Writing Guides and Other Info:
=============================
Home Assistant 101: Adding MQTT Devices - resinchemtech.blogspot.com/2023/12/adding-mqtt-devices.html
MQTT 102: Add Home Assistant Discovery - resinchemtech.blogspot.com/2023/12/mqtt-auto-discovery.html
Official Home Assistant MQTT Documentation - www.home-assistant.io/integrations/mqtt/
It takes significant time, effort and occasionally substantial expense to create these videos. If you'd like to help support this channel and future content, or just say thanks, you can consider buying me a cup of coffee:
www.buymeacoffee.com/resinchemtech
#mqtt #homeassistant
Переглядів: 740

Відео

Add a Display to Your DIY Project (Beginner Friendly!)
Переглядів 3,6 тис.14 днів тому
Want to take your DIY project from basic to brilliant? Adding a display can completely transform its functionality and look! I'll walk through a few of the different types of displays available, how to choose the right one for your needs, and the step-by-step process of connecting it to an ESP32. I'll also cover the basics of configuring each device with ESPHome or Arduino so that you can show ...
Bench Testing Made Easy: Build a Custom Breakout Board!
Переглядів 2,7 тис.28 днів тому
Create a DIY breakout board for easily testing your projects and components. Easily modifiable for your own needs, the design shown in this video supports both the ESP8266 D1 Mini and the ESP32 Mini, breaking out most GPIO pins. It also adds additional 5V, 3.3V and ground pins for connecting your peripherals. An optional level shifter is included for LED projects or when you need to shift a sig...
Home Assistant 2024: Fully Pardoned?
Переглядів 6 тис.Місяць тому
Previously I did a video expressing concerns about the direction and longer term viabilty of Home Assistant. Now a year and a half later, not only has Home Assistant significanlty changed, a few major announcements were made at the recent State of the Open Home annual livestream. In this video, I'll review some of those major areas of concern and see how Home Assistant has been doing in those a...
WLED: Mastering Segments, Multi-pin & Multi-Controller Setups
Переглядів 13 тис.Місяць тому
Take your LED projects to the next level! This video unlocks the power of WLED segments, letting you control sections of your LED display independently. I'll also explore splitting the data signal and using multiple GPIO pins for a single WLED controller. Plus, discover ways to sync and combine separate LED displays and controllers for dazzling synchronized effects. Here's what you'll learn: - ...
IGT Slot Machine: Main Battery Replacement
Переглядів 1,4 тис.2 місяці тому
In this departure from my normal videos, I'll diagnose an error recently received on my IGT S2000 Slot Machine and repair it by replacing the mainboard battery. Along the way, I'll cover a little of what I learned about slots in general and my machine in particular. Chapter Links: 00:00 Intro and Audio Issues 01:18 Slot Machine Type and Normal Operation 02:05 Initial Error Message 02:44 Removal...
Level Up Your WLED Projects: A Guide to adding Components (no code!)
Переглядів 30 тис.2 місяці тому
Ready to take your WLED projects beyond the basics? This video dives into the world of adding additional components to your WLED controller to unlock new project possibilities. I'll guide you through adding components such as push buttons, switches, PIR sensors, microphones, IR remote controls, dimmer/speed controls, and relays. I'll cover the wiring diagrams and how to configure the components...
Home Assistant 101: Creating and Using Packages
Переглядів 3 тис.3 місяці тому
Home Assistant packages offer another way to organize and document your manually created YAML entities, automations and scripts. In this video, I'll cover why you may want to consider packages, how to enable and create your own packages and discuss some pros and cons of packages over other YAML configuration options. Chapter Links: 00:00 Intro 01:22 Split Configuration vs. Packages 03:08 Packag...
Motion and Distance Sensors for your DIY Projects
Переглядів 3,1 тис.3 місяці тому
I'll cover some of the common types of motion and distance sensors that you can add to your DIY projects. For each, I'll show the important specs, pinouts and wiring, how it's configured in ESPHome and a few pros and cons. I also provide a couple of examples where a distance sensor might be a better choice for detecting motion over a true motion sensor. Chapter Links 00:00 Intro 00:58 Parameter...
Home Assistant 101: Splitting Your Configuration
Переглядів 4,6 тис.4 місяці тому
Instead of one large configuration file, you can split up your Home Assistant configuration into multiple smaller files allowing you to organize, document and manage your YAML in a much more intuitive way. In this video, and upon request from many of you, I'll cover what you need to know about YAML to split your configuration and then show you the step-by-step process to split up your own confi...
Improved Dryer Notifications for Home Assistant
Переглядів 4,5 тис.4 місяці тому
After three years of inconsistency, I decided to upgrade my dryer sensors for my Home Assistant voice notifications. I'll briefly cover the original sensor and show the new build using a BH1750 illuminance sensor. Then I'll cover the updated ESPHome code and demo the Home Assistant automations. Written version of this project: resinchemtech.blogspot.com/2024/01/washer-dryer-updated.html Copies ...
YOUR Project Improvements and Some Channel Tweaks
Переглядів 1,2 тис.5 місяців тому
A quick look back at some of my previous projects and how some of my viewers improved upon or found unique implementations of these projects. I'll also give a quick update on some minor tweaks for the channel in 2024. Thanks to all of you for watching and to those that shared their projects with me. And a special thanks to those of you that subscribed in 2023! Chapter Links: 00:00 Introduction ...
MQTT 102: Add Home Assistant Discovery to your Devices
Переглядів 18 тис.5 місяців тому
Instead of asking users to manually enter a bunch of YAML to integrate your MQTT device, you can easily add Home Assistant MQTT discovery to your project and integrate your entities straight into Home Assistant. No fancy APIs or coding necessary. Just add a couple of MQTT messages to your device setup. I'll show you the basics, along with some recommendations for your own projects to make your ...
Home Assistant 101: How to Integrate MQTT Devices
Переглядів 24 тис.5 місяців тому
In this step-by-step guide, you'll learn how to manually add MQTT devices to Home Assistant when a native integration for that device is not available. It will cover the basic processes of adding MQTT sensors, switches and lights, and with this knowledge adding other types of MQTT devices should be much easier as you will hopefully have a better understanding of the official Home Assistant MQTT...
Old-School Radio: Integrating an FM Receiver into Home Assistant
Переглядів 3,5 тис.6 місяців тому
This is an overview of a couple of different low-cost FM receivers. I'll review the pinouts, how they are wired, explore some of the features and differences, run some tests and finally cover how a receiver can be integrated into Home Assistant for information and control. Be sure to check out the full video description below for more info. Github Repo with Code/YAML: github.com/Resinchem/FM-Re...
Unlocking the Power of PCBs: A journey of creating my first board
Переглядів 1,9 тис.6 місяців тому
Unlocking the Power of PCBs: A journey of creating my first board
Home Assistant 101: Input Booleans and Timers
Переглядів 11 тис.7 місяців тому
Home Assistant 101: Input Booleans and Timers
MCP23017 Port Expander and ESPHome: Add More I/O Pins to Your Project
Переглядів 10 тис.8 місяців тому
MCP23017 Port Expander and ESPHome: Add More I/O Pins to Your Project
Smart 3-way Switching with Tasmota Device Groups
Переглядів 2,8 тис.8 місяців тому
Smart 3-way Switching with Tasmota Device Groups
Home Assistant 101: Conditional Cards and Managing Dashboards
Переглядів 19 тис.8 місяців тому
Home Assistant 101: Conditional Cards and Managing Dashboards
Battery Powered LED Matrix - T-Shirt Build
Переглядів 11 тис.9 місяців тому
Battery Powered LED Matrix - T-Shirt Build
Home Assistant 101: Applying updates - Practices and Procedures
Переглядів 3,1 тис.9 місяців тому
Home Assistant 101: Applying updates - Practices and Procedures
Flashing ESPHome or Tasmota to a Smart Device
Переглядів 10 тис.10 місяців тому
Flashing ESPHome or Tasmota to a Smart Device
Building an LED Curtain with WLED
Переглядів 114 тис.10 місяців тому
Building an LED Curtain with WLED
My Favorite Components (2023 Update)
Переглядів 3,3 тис.11 місяців тому
My Favorite Components (2023 Update)
An NFC Card Reader for Home Assistant Automations
Переглядів 10 тис.11 місяців тому
An NFC Card Reader for Home Assistant Automations
A Beginner's Guide to DIY LED Projects
Переглядів 14 тис.11 місяців тому
A Beginner's Guide to DIY LED Projects
Bed Occupancy and IR transmitter for Home Assistant
Переглядів 8 тис.Рік тому
Bed Occupancy and IR transmitter for Home Assistant
Home Assistant 101: How to Create Virtual Switches
Переглядів 22 тис.Рік тому
Home Assistant 101: How to Create Virtual Switches
Are I2C Level Shifters Really Too Slow?
Переглядів 12 тис.Рік тому
Are I2C Level Shifters Really Too Slow?

КОМЕНТАРІ

  • @x_CrossHair_x
    @x_CrossHair_x День тому

    Just an Idea (From a Newbie) but .. Perhaps you could flash (Two ESP32 Boards) one with the (Standard wLED Version with your IR Remote Module) and the Other ESP32 Board with the Digital Microphone Module for the Sound Reaction Version. Now simply use a (SPDT) Single Pole Double Throw Switch to toggle Select the GPIO Pin (output 16 ??) that would run to the Signal Line of the LED Strip. you then should have all the bells and whistles selectable with both Versions. (Looks like you would have enough room in the storage container for another Circuit Board. (So.. With hopes this is enough basic detail to describe what I was thinking.💡🤞👨‍🎓)

    • @ResinChemTech
      @ResinChemTech День тому

      I have a setup very similar to what you describe with my matrix clock. It is dual controller... WLED for general effects, and a separate controller that runs the code for the clock, scoreboard, countdown timer and text display. A toggle switch on the frame allows me to switch the data line that goes to the LEDs from the WLED controller to the custom Arduino clock controller. For the LED curtain, I always planned on primarily using the SR controller. Really the only reason I built it with a swappable controller was for testing and for creating of the UA-cam video. I still have the standard controller, but have never swapped them out since I finished the video and mounted the curtain on the wall. But I have used the dual controller with a toggle for selecting the data line with my other matrices.

  • @x_CrossHair_x
    @x_CrossHair_x День тому

    Another Great Video.. (Really Helps) for me (Noobie) Starting out 👍👍Explaining the reason for each step. Also keeping the projects affordable .

  • @x_CrossHair_x
    @x_CrossHair_x День тому

    Music is Rather (Mario Bro's) LOL.. (Copyright Rules) are a bit ridiculous for a 30 Second Demo (not like it would have been using the full length song).. But that's UA-cam Big Bro Watching. Nice Build 👍👍.. Now I need to build this..💰💲

    • @ResinChemTech
      @ResinChemTech День тому

      Yeah... it's likely that I could have "gotten away" with a short clip of 'real' music, but it just isn't worth the risk to me. First, if a claim is made, you are automatically guilty until proven innocent. And I've heard too many horror stories from other creators about their channel being de-monetized or even shut down over copyright strikes. I just completely avoid any possibility by using whatever UA-cam makes available as "public domain". Even then, I probably could have found something better than 8-bit arcade music! Thanks for watching... and taking a moment to leave a comment!

    • @x_CrossHair_x
      @x_CrossHair_x День тому

      @@ResinChemTech guilty until proven innocent (No Truer words for sure)

  • @peterjameswalmsley9185
    @peterjameswalmsley9185 2 дні тому

    I've skipped this video many times thinking it was about regular led strips, but after watching one of your other videos & subscribing I realised this video is about wled. Might be worth changing your title so people know it about wled, this video is Gold. Thanks

    • @ResinChemTech
      @ResinChemTech День тому

      Thanks for the tip. While I do use WLED for the examples in the video, I didn't limit the title to just WLED because the concepts apply to pretty much any DIY LED project, whether using WLED, ESPHome or even your own custom Arduino code for the controller firmware. But you are correct that a lot of folks may be looking specifically for WLED information and could potentially skip this video since WLED isn't mentioned in the title or shown on the thumbnail. I'll definitely consider modifying the title to include WLED. Thanks again!

  • @ngoctaiquach3144
    @ngoctaiquach3144 2 дні тому

    I created the switch.yaml file; Add the code and change the entity name according to your instructions; Restart home assistant. But no entity of the form "switch.sw_...." like yours was found. Please help. Thank!

    • @ResinChemTech
      @ResinChemTech День тому

      It's a bit difficult to know exactly what is wrong from the information you provided, but it appears you have an issue with trying to use an entity name in your YAML that doesn't exist or isn't defined elsewhere. Note that the YAML that I show is just an example... it isn't meant to be used 'exactly' as shown because your Home Assistant (and entities) will be different from mine. I'd recommend that you review your YAML and check all the entity names. All entity names must already exist or be defined elsewhere if you are referencing them somewhere else, like in a templated sensor or automation.

  • @ChrisBoehmvideos
    @ChrisBoehmvideos 3 дні тому

    Excellent video. I never needed to play around this much, so I did not know it was this powerful!

    • @ResinChemTech
      @ResinChemTech 3 дні тому

      Thanks! WLED has come a very long way since I started using it. And more features and options are available with each new release. Thanks for watching and taking a moment to leave a comment. I appreciate it!

  • @dfontanesi
    @dfontanesi 3 дні тому

    Thank you. That's exactly what my project needed. I was at my wits end :)

    • @ResinChemTech
      @ResinChemTech 3 дні тому

      You are welcome! As many have stated, you can often get away without a shifter if keeping the controller close to the strip... until you can't. Many people have experienced the same thing as you. That's why I opt to simply include a shifter in all my LED projects, whether I could get away without it or not. The low cost and minimal effort to add it is well worth avoiding any potential problems later (in my opinion anyway).

  • @atzefatze
    @atzefatze 3 дні тому

    I've got 2 PS4 controller where the sticker is gone with the barcode and controller-build-id. Is it still possible to find out what type of battery I need and how?

    • @ResinChemTech
      @ResinChemTech 3 дні тому

      The only real difference as far as the battery is concerned, is the size of the connector. You could take the existing controller apart, note whether the current battery has the smaller or larger connector and simply order one of the batteries with the same size connector. Some batteries actually have two connectors... one of each size... that will work with either version of the controller.

    • @atzefatze
      @atzefatze 3 дні тому

      @@ResinChemTech aah, ok. Thank you very much.

  • @rrrrrrrr290
    @rrrrrrrr290 4 дні тому

    I followed your video to make weather display using ili9341 screen, had to conect led pin to 3.3 v to make work , wount work on pin gpio21.

    • @ResinChemTech
      @ResinChemTech 3 дні тому

      If you use a GPIO pin, you must define this pin as an output component and then include that output in a light component in ESPHome. This allows you to set the brightness of the backlight using PWM. Or you can just set the pin to high for always-on full brightness. In effect, this provides the 3.3V that the backlight needs. I didn't show that here as I only include basic snippets of code. But it covered in the full ESPHome documentation. For Arduino, you can just set the GPIO pin to output/high or define PWM as well. Sorry for any confusion. Time simply did not permit me to fully cover either the ESPHome or Arduino code for each display, but the links I provide in the written guide do contain complete examples. But as you found, you can also just use 3.3V for the LED backlight if desired... there just won't be a way to turn the backlight off as opposed to using a GPIO pin.

    • @rrrrrrrr290
      @rrrrrrrr290 3 дні тому

      @@ResinChemTech just got it working this way, thanks for your help thinking of adding motion sensor to turm back lifgt on and off

  • @AsepRizal
    @AsepRizal 5 днів тому

    good explanation. how to add RTC to wled. so that internet clock data goes into RTC and RTC can be backed up if there is no internet connection. Thank You.

    • @ResinChemTech
      @ResinChemTech 5 днів тому

      If you want to add anything to WLED, you need to install a custom mod (or write your own). While I haven't tried it myself, there is at least one custom mod for RTC in the WLED mods folder: github.com/Aircoookie/WLED/tree/main/usermods I think this is similar to what you are wanting.

    • @AsepRizal
      @AsepRizal 5 днів тому

      Thank you for your response and answer. I will try it

  • @alexuspro26
    @alexuspro26 6 днів тому

    Finally the one who clearly explained how to read and control mqtt devices. Thanks a lot!

    • @ResinChemTech
      @ResinChemTech 5 днів тому

      You are welcome. Glad you found it helpful. Thanks for the comment.

  • @pythoneatssquirrel
    @pythoneatssquirrel 6 днів тому

    I need some help on max7219. I can use the examples from the library with arduino uno but with wemos d1 mini I am just getting full led all the time. Any ideas?

    • @ResinChemTech
      @ResinChemTech 6 днів тому

      I didn't try either the Arduino code or ESPHome code with the D1 Mini (or any ESP8266 for that matter)... but a few things come to mind. First, you may need to check the libraries and assure that they are even compatible with the ESP8266. There's a possibility that the libraries I selected simply aren't compatible. But you may be able to find alternates that will work. Next, assure you are using the proper SPI pins. Unlike the ESP32, there are only specific GPIO pins that can be used for the SPI bus on the ESP8266. Finally, I had a few instances when the board didn't initialize properly when the ESP was powered on. This was most often when I was using multiple displays with a single ESP, but assure you have a clear or resst display call in your setup() function. You can also try pressing the reset button on the ESP after it is powered on to see if that resets things.

  • @Batmule
    @Batmule 6 днів тому

    Nice work. Thanks!

  • @miodice3
    @miodice3 7 днів тому

    Some see it as cheap, makers enjoy that feeling of putting something from the junk drawer to good use!

    • @ResinChemTech
      @ResinChemTech 7 днів тому

      True. Someone else just recently asked why go to all the trouble of building a WLED controller when you could just buy a Govee retail product. As I said to him, the reasons may be different for others, but I enjoy the DIY aspect... and challenge of trying to build my own version of a retail product... that is completely mine and doesn't rely on a vendor's cloud, firmware or what they do or don't decide to make available. And as you mentioned, reusing or repurposing old components is an extra bonus (not to mention a potential significant cost savings). Thanks for watching and taking a moment to leave a comment.

  • @RyanLoetscher
    @RyanLoetscher 8 днів тому

    I guess I don't understand why going through all the hassle when the Govee lights do everything this does, but is ready to go with power supply, controllers and wifi set up to your phone. is there some advantage to WLED that i'm missing?

    • @ResinChemTech
      @ResinChemTech 8 днів тому

      I can't speak for others, but for me personally I enjoy the DIY aspect. Plus I don't have any reliance on a vendor's cloud service or need to install any potentially questionable apps with unnecessary permissions on my phone. My device/installation can never be bricked or shutdown and quit working based on some manufacturer deciding to suddenly stop their cloud servers... or start charging a subscription to continue to use it. History is full of examples of vendors that just stop their cloud servers, rendering their devices useless. In addition, features aside, WLED is open source and extendable. I can make my own custom mods to the firmware to support whatever needs I may have... I'm not limited to just what is provided to me. Others may have their own reasons, and some may be perfectly happy with Govee or other prebuilt retail versions... I don't fault those for what they are. But for me, I like knowing that it is "my" device, built and configured by me and all control (including my data) remains local.

  • @SuTzuu
    @SuTzuu 9 днів тому

    Great videos, clearly explained thank you :)

    • @ResinChemTech
      @ResinChemTech 9 днів тому

      You're welcome! Glad you found the video helpful.

  • @MallocArray
    @MallocArray 9 днів тому

    Highly valuable in getting me going with MQTT. Thank you

    • @ResinChemTech
      @ResinChemTech 9 днів тому

      You are welcome. Glad you found it helpful.

  • @dawidone
    @dawidone 9 днів тому

    Great tutorial video. Thank you sir.

    • @ResinChemTech
      @ResinChemTech 9 днів тому

      Thanks for the kind words. Glad you found it helpful.

  • @johnadams1976
    @johnadams1976 10 днів тому

    Love your videos. Thanks. Would WLED be able to run this: 4 strips of different lengths... Say 1m, 1.2m, 1.4m, 1.6m Lighting them one pixel at a time from the bottom... But with a 1 second delay before starting the next strip? Keep them on. Then when user presses a button, run a script to do the reverse??

    • @ResinChemTech
      @ResinChemTech 9 днів тому

      WLED doesn't really have any sort of timer like you need here, or real automation engine built in. I think you could get somewhat close to what you want to do, but you'd probably need something like Home Assistant or NodeRED to handle the automation or create your own user mod in WLED to deal with the 1 sec. delay. You could certainly light up one pixel at a time with the built-in effects and segments and turn them off with a button push. But the effects repeat and don't 'stop' with all the LEDs on. And again, there isn't a stock way to pause or halt the effect for 1 second and then have it continue... not without a mod, outside automation engine or writing your own code.

  • @keneflucas937
    @keneflucas937 10 днів тому

    Can an ESP32 S3 Super Mini be used?

    • @ResinChemTech
      @ResinChemTech 10 днів тому

      I haven't tried one, but you can find a list of officially supported WLED boards here: kno.wled.ge/basics/compatible-controllers/

    • @keneflucas937
      @keneflucas937 10 днів тому

      @ResinChemTech Ok. Thanks for the feedback. According to Copilot, my ESP32 mini is actually an ESP32 C3. It has an Espressif S3 chip, but it also has a little red chip with C3 on it. WLED does not yet support or is not yet compatible with the C3, but it is a work in progress.

  • @markc.5750
    @markc.5750 11 днів тому

    Thanks! Your videos are fantastic, thank you. Newbie quick question on the relays, do I need to have one on all the power injection points? I have a 400 LED stip with three power injection points and from what I can ascertain I think I do? If so, I can use the buck converter to power all three?

    • @ResinChemTech
      @ResinChemTech 10 днів тому

      Thanks so much for the super! I greatly appreciate it and it will be used to help fund future projects and videos. As far as the relay, yes you would need to kill the power to all the injection points, but there are multiple ways to accomplish this. First you can run the power from your supply through the relay before you split it off to the three different power injection points. That way you have a single relay that is controlling all the power to the LEDs. Just be sure that the relay is rated to handle the current you expect for the LEDs. While you can use multiple relays, do note that standard WLED is only designed to use one relay. There is a user-mod that supports multiple relays, but you'd have to add that and compile your own WLED. You can find more info on that here: kno.wled.ge/features/relay-control/ As far as the buck converter, yes you could power multiple relays but the same rule applies. Just be sure the buck converter is rated for the maximum amps that would be needed to power all the relays. Thanks again for the support...and the kind words. Let me know if I can help out any further.

    • @markc.5750
      @markc.5750 10 днів тому

      @@ResinChemTech thank you for the quick response! After I sent my comment I did some research and came across that very idea, put the relay between the power supply and controller (in this case an ESP32). But I’m running the board from the same power supply so I’ll need to power that separately which is easy. I have a small 5v, 3amp plug which I can use to power both the ESP32 and relay (it’s a 5v relay since they don’t seem to make one for higher amps for 3.3v). I’m using a 20 amp power supply with a 30 amp rated relay so I’m good there. I hope this makes sense and I’m on the right track. Your videos are an inspiration to me, so well produced. Thanks again!

    • @ResinChemTech
      @ResinChemTech 10 днів тому

      Sounds like you are on the right track! The only thing I'd mention is that if you are using different power supplies for the controller and LEDs, make sure you create a common ground between the two (one easy way to do this is just run a ground wire from your controller along with the data line to the start of the LED strip). If you don't have a common ground, the LEDs may misbehave do to possible ground potential differences between the controller's power source and the LEDs' power source. You may have already done this... but I thought it was worth mentioning!

    • @markc.5750
      @markc.5750 10 днів тому

      @@ResinChemTech common ground! That always throws me off. My LED’s are wired straight to the 20amp power supply. So I need to connect the same ground out from the 3amp power supply (to the relay and controller), the 20amp power supply (on the output side of course), and the controller? Sorry for all the questions.

    • @ResinChemTech
      @ResinChemTech 10 днів тому

      Not a problem! You just need to establish a single common ground connection somewhere between the controller and LEDs. You can make this connection wherever it is convenient, but on the few occasions where I've done it, I just run a ground from the controller along with the data line to the start of the LED strip. Since I'm already running a line for the data signal, it is pretty easy to just include a second ground connection here. In fact, I have a number of standard wiring diagrams in one of my blog articles that shows this: resinchemtech.blogspot.com/2023/01/wiring-diagrams.html Look for the example that shows dual 12V and 5V power supplies. This same wiring can be used for two separate 5V supplies as well. If you need additional assistance, I'm glad to help but it is a little restrictive what I can do here in the UA-cam comments. If you like, feel free to contact me via email (you can find my email address on the 'about' section of my UA-cam channel page... I don't publish it here because it gets picked up by spam bots). Or if you have a Discord account and want to shoot me over your Discord user name, we can connect over there as well. Otherwise, best of luck with the project. Let me know how it turns out!

  • @DaveA-sb7ue
    @DaveA-sb7ue 11 днів тому

    What a great video! Lots of good information on the displays and use. I have a dozen temp and humidity sensors around the house and can see adding a display to the case would be a cool project . Thanks for the information and adding another project to my project list. Keep up the great work! Excellent t-shirt by the way!

    • @ResinChemTech
      @ResinChemTech 11 днів тому

      Thanks Dave! While most the stuff we do can always be displayed on a Home Assistant dashboard, have a local display can be nice for many things as well. Oh... and thanks for noticing the t-shirt!

  • @derekluckhurst9406
    @derekluckhurst9406 13 днів тому

    Very nice guide. I was doing a project previously and was trying to add static text after a home assistant value and could not figure out the syntax. I could get test before the value, but not after. I even tried using a seperate print statement, but that created layout issues. Is this possible?

    • @ResinChemTech
      @ResinChemTech 13 днів тому

      Thanks. You can certainly add static text after the value. In fact, if you go back and watch the section where I am using the temperature from the DHT22 sensor, you'll see that I added a static °C after the value from the sensor. The formatting can be a bit tricky, especially if you aren't familiar with using printf in Arduino. But you can add static text before or after a format string (or both). For example, again using temperature as an example, I could do something like: printf(.... , "The basement temperature is %.1f °C", id(sensor).state); The value (or state) of the sensor would be dropped into the format string that begins with "%" and the output to the display would be: The basement temperature is 21.9 °C Just make sure you leave a space after the format string and before any trailing text. Otherwise, your static text will be seen as part of the format structure... and this will likely cause a syntax or other error. Hope that info helps!

  • @DamienDavidO
    @DamienDavidO 13 днів тому

    at 16:32 you mention using a unique identifier but when i go to do this my check configuration states "Invalid config for 'panel_custom' at configuration.yaml, line 21: 'intergration_custom' is an invalid option for 'panel_custom', check: panel_custom->0->intergration_custom " is there something i have to download to get this to work?

    • @ResinChemTech
      @ResinChemTech 13 днів тому

      You should not need to download anything just to get a split configuration working. However, what is 'panel_custom'? Have you already split out some of your YAML to split files? If so, it is likely one of these files that is causing the configuration check error when you include them in the main configuration.yaml via the split option. The configuration check passes when you don't have the split statement because these other YAML files would not be included. Check your YAML and see if you can find somewhere that a custom_panel is defined. It is likely the error is resulting from including that YAML.

    • @DamienDavidO
      @DamienDavidO 13 днів тому

      yeah no luck at all for me.

  • @dartfrogdk
    @dartfrogdk 13 днів тому

    Very Very nice tutorial, great job

  • @happyatticus2966
    @happyatticus2966 14 днів тому

    Good knowledge, as a luddite, all I can offer is... Put a cushion under your knees on that hard floor. 😅

  • @binarybox.binarybox
    @binarybox.binarybox 14 днів тому

    Well presented with a lot of info. I've built projects with 7 seg and oled for GPS displays and 8x8 MAX7219 for scrolling text with bluetooth ....all using arduino but hope to try other controllers if I get the time.

    • @ResinChemTech
      @ResinChemTech 13 днів тому

      Most of my projects that use a display of some sort are Arduino-based as well, but I have a few that use ESPHome. ESPHome is nice when you need something with native integration into Home Assistant, but Arduino generally give you more advanced features. Thanks for watching!

  • @sokoloft3
    @sokoloft3 14 днів тому

    Thats awesome. I just need a variable supply, but now that I've seen this it makes me feel like I'd be wasting the other rails for fixed voltages if I don't use them. I also have a 275w Dell psu with the two 12v rails. Hmm.

    • @ResinChemTech
      @ResinChemTech 14 днів тому

      Honestly, I use the fixed rails much more often than the variable side. But most of my projects are ESP based so pretty much everything runs off of 5V or 3.3V. Occasionally, I'll have something that needs 12V. About the only time I use variable is if I need something that represents a battery... like 9V or 7.4V. But the majority of my projects use one of the three fixed voltages. But the nice thing I like is that I have the flexibility with this type of supply... including the ability to provide up to 3 different voltages simultaneously on the very rare case it is needed. But it could be made smaller if desired by just creating a variable output.

    • @sokoloft3
      @sokoloft3 14 днів тому

      @@ResinChemTech I'm looking at using one of these "LTC3780" buck/boost converters I seen in another video. I really only need current limiting, so I can track down short circuits on other boards with voltage injection.

  • @AJonahU
    @AJonahU 14 днів тому

    Love the video, I bought all the parts you listed with your affiliated links! I got it to work, but I am curious how do I provide a stronger power supply to this setup. I bought the Logic Level Shifter as well. Using the WS281b RGB LED Strips you linked as well. Thanks in advance!

    • @ResinChemTech
      @ResinChemTech 14 днів тому

      When using a larger power supply or a larger number of LEDs, you should connect the power in parallel... running from the power supply directly to the LEDs and then in parallel to the controller. I have both a video and blog article that covers this. In both cases, look for the sections on powering your LED project: Blog: resinchemtech.blogspot.com/2023/01/wiring-diagrams.html Video: ua-cam.com/video/GZv5Ztj6i6I/v-deo.html

    • @AJonahU
      @AJonahU 11 днів тому

      I love you

  • @running_rich
    @running_rich 14 днів тому

    This and your "Local SiriusXM Server and Touch Controls for the DIY Amp" videos helped me get an ILI9341 communicating with HA. Thanks for all the well explained info!

    • @ResinChemTech
      @ResinChemTech 14 днів тому

      You are welcome. Glad my videos could help you out. Thanks for watching!

  • @rachaelb9164
    @rachaelb9164 14 днів тому

    OMG I love your shirt. It’s exactly what I said when I was having issues with my LED’s flashing and added a resistor lol.

    • @ResinChemTech
      @ResinChemTech 14 днів тому

      Thanks! Sometimes it's amazing what a difference a little resistors can make. Thanks for watching!

  • @maschinenorganismus
    @maschinenorganismus 14 днів тому

    Like your style, right to the point. Keep it up!

    • @ResinChemTech
      @ResinChemTech 14 днів тому

      Thanks... I appreciate the kind words!

  • @Ron_Rhodes
    @Ron_Rhodes 14 днів тому

    Have you checked out the CYD, the Cheap Yellow Display with an ESP32 built in? I got some of the example code to work, but could not get my own code working using display, touch, sound, and SD card working at the same time.

    • @ResinChemTech
      @ResinChemTech 14 днів тому

      I did run across those in my research of some of these other displays, but I haven't tried one. I've received a number of "offers" from various sellers that have a display with an ESP32 integrated, but I rarely do product reviews on my channel, so despite the offer of a "free" board or display in exchange for a review, I turn those down. If I had a particular need for one and I felt like it would fit with my channel, I would possibly consider it. But if I ever come up with a use case for my home, I would definitely consider picking one up and giving it a try. Thanks for the comment!

  • @GWorxOz
    @GWorxOz 14 днів тому

    Thank you

  • @Tntdruid
    @Tntdruid 14 днів тому

    Very nice guide, was looking for one for displays 👍

    • @ResinChemTech
      @ResinChemTech 14 днів тому

      Thanks. A pretty long video (with a fair amount of repetition), but I figure most folks will be looking for one particular type of display or another and will skip ahead to those sections and not necessarily watch the entire thing from start to finish. Therefore I wanted each display to sort of stand on its own for those only interested in one or two different options. Thanks for watching and thanks for the comment!

    • @Tntdruid
      @Tntdruid 14 днів тому

      Long is not a problem for me 👍

  • @NipunDrall
    @NipunDrall 15 днів тому

    You know he's reliable the moment you see the background. Nice.

  • @bb4burstbear
    @bb4burstbear 15 днів тому

    Something that I am curious about is how a WLED board would interact with 9 vertical LED cob strips through a chain of T connectors wired (soldiered) together. Larger rundown: We're building a shelving piece where there are strips of sunken in LEDs climbing up each side of it's uprights (apart from one side of an end due to facing a wall, making 9 strips in total). These strips are connected to wires going down into a connected line of naked (just soldier to copper) 4pin T connectors apart from the last one which simply has it's wire come from the previous upright's T connector being that it doesn't need it's own. After a little bit of tech issues due to failed soldiering, the whole thing is working currently from the kit with cob LEDs we purchased however, not only does the wifi/link/chip box get burning hot but even if you turn the LEDs off or lower the brightness, they're stuck as a permanent bright red (unless if you turn them off by the mains.) (Goes into a 24v adapter). We're thinking that a WLED chip may fix our issues however we have no idea and cannot find anything on how they'd function with T connectors, if at all. And if they do, do they still work in the same way of does every strip of LEDs get the same treatment in terms of programming from the code because they all dead ends.

    • @ResinChemTech
      @ResinChemTech 15 днів тому

      I will do my best to answer your questions based on what I believe I know, but I haven't either created 'non-serpentine' matrices similar to what you are wanting to do with the t-connectors, nor have I used COB LEDs. But I have a couple of thoughts. I _think_ that the matrix can be set up in a non-serpentine manner. But if that doesn't work, the ESP32 (dual core) can have up to 10 different data pin output. This means that you could run a separate data line from a different GPIO pin to each of your nine strips. Each strip can be individually controlled via segments, or all could be treated a single 'matrix' or install (or any combination of the two). See this for more info on multi-pin/strip support: kno.wled.ge/features/multi-strip/ If you are on Discord, the WLED Discord server may also be a good source of info. I'm sure some of the folks there could help you out. In terms of the hot controller, I'm assuming you are not running the power for the LEDs through the controller board? Power for the LEDs should be run in parallel with the controller. It could be another reason, but I thought I'd mention this as the LEDs can draw pretty high current and could cause components to get very hot if not designed to carry that current. Good luck with your project.

  • @corsairsmitty5438
    @corsairsmitty5438 15 днів тому

    Is it possible with WLEDs to customize/create your own affects ? Such as what could be done with an arduino nano and FastLED library.

    • @ResinChemTech
      @ResinChemTech 15 днів тому

      Yes. You can find info on how to do so on the WLED site under creating custom effects: kno.wled.ge/advanced/custom-features/

    • @corsairsmitty5438
      @corsairsmitty5438 15 днів тому

      @@ResinChemTech Thank you very much. I am building a B9 Robot (Lost in Space) and wanted to setup the correct effects.

    • @ResinChemTech
      @ResinChemTech 15 днів тому

      Danger, Will Robinson! Good luck with the project.

  • @Dav1d49
    @Dav1d49 16 днів тому

    I have an 2e controller is it the same as 2u?

    • @ResinChemTech
      @ResinChemTech 16 днів тому

      I am not 100% sure, but I believe that the "u" indicates US and "e" indicates EU. But I think both are gen 2 and would use the gen 2 connector. If you want to be 100% sure, you can take the current controller apart and check the battery connection. The size of the connector is really the only difference as far as the battery is concerned.... at least as far as I am aware with the US versions of the gen 1 and gen 2 controllers.

    • @Dav1d49
      @Dav1d49 16 днів тому

      @@ResinChemTech okay thank you for your help

  • @dangerdiesel3106
    @dangerdiesel3106 17 днів тому

    What do you do when none of that works?

  • @Teckstudio
    @Teckstudio 17 днів тому

    Excellent build! 🤩

    • @ResinChemTech
      @ResinChemTech 17 днів тому

      Thanks! It was actually one of my most enjoyable... really just the challenge to see if I could build something similar to the retail version but using only off-the-shelf parts and WLED. Thanks for the comment and kind words!

  • @MikeBeeTV
    @MikeBeeTV 18 днів тому

    It's those physical buttons man. I want to _feel_ that click. That's how I *know* every person in the Star Trek universe that has to press those cold, lifeless glass displays is severely unsatisfied.

  • @derekgodbout4919
    @derekgodbout4919 18 днів тому

    I think this is my problem and solution. Are you powering the level shifter from the same power supply that drives the LEDs? Will try soon and report back. Thanks!

    • @ResinChemTech
      @ResinChemTech 18 днів тому

      I'm powering the ESP and the 5V side of the shifter from the power supply, but the 3.3V side of the shifter is being powered off the 3.3V pin of the ESP board. I also had misbehaving LEDs in one of my very early LED projects that was fixed with a level shifter. That's why I always include one now... even if I might be able to get away without it in some situations. Good luck with your project!

    • @derekgodbout4919
      @derekgodbout4919 12 днів тому

      @@ResinChemTech This is pretty new to me. It's hard to make sense of what all the cables stretched across the breadboard are doing. Any chance you can link a diagram of how this is all connected, or maybe explain a little bit what part of each chip is connected to which?

    • @ResinChemTech
      @ResinChemTech 12 днів тому

      No problem. I get this question and many others about wiring the LED controller. So I have a blog article with a lot of different wiring diagrams, including a section specifically on the level shifters: resinchemtech.blogspot.com/2023/01/wiring-diagrams.html Do note that most of my videos (but not this particular one) where I show wiring or code, there is generally a related blog article with copies of those wiring diagrams or code snippets. I always leave a link to any written guides in the video description.

    • @derekgodbout4919
      @derekgodbout4919 12 днів тому

      @@ResinChemTech Awesome, that was helpful. Appreciate the timely responses. So I've made progress, but I'm still having an issue. LEDs are more stable but are still flickering intermittently. With the D1 powered by usb, the blue light will be on and the LEDs will not act correctly. With the D1 still powered, sometimes the blue light cuts out, but the LEDs will respond correctly (although they still flicker, much less than before.) These are 24v LEDs, is there a chance 5v is still not enough to drive data on them?

    • @ResinChemTech
      @ResinChemTech 12 днів тому

      You could check the technical specifications for the particular LEDs you are using. The electrical characteristics section should specify the expected voltage for the data signal (probably called logic voltage or similar). As far as the blue LED, if you are using the same GPIO pin for your LED data signal as the one tied to the LED (D4 / GPIO2), it is not unusual to have the onboard LED to turn off when the LED strip turns on or vice versa. I think different versions of WLED handled this differently throughout its development. If it concerns you or you don't want it to do that, you can move your LED data line to a different GPIO, like D5 (GPIO14). Just remember to update your LED preferences in WLED to the new GPIO pin being used. One other thing to try.... an older version of WLED. My hexagon lights (DIY nano leafs) started acting really weird and not responding when I upgraded to the latest version of WLED (0.14.3). I downgraded to 0.13.3 and they started working perfectly again. The nano leafs are using a D1 mini as well. I think that WLED is slowly moving towards the ESP32 and I believe that the latest version may have issues with the lowly ESP8266. You can download 0.13.3 from the WLED Github and do an OTA update via the Security and Update section of WLED... or you can reflash via USB cable. I'd try this downgrade first and see if it resolves the issue. Otherwise, you might just need to do some general trial and error troubleshooting. I don't think you mentioned the distance between the controller and your LEDs or whether you are currently testing with a breadboard and Dupont jumpers. You can try shortening the distance and/or even try something like alligator clips which generally have higher gauge wire than Dupont wires. You could even try a different D1 Mini (if you have one) just to assure the one you are using isn't having a problem. Basically, try changing distance and swapping out as many different cables/parts as you can until you get a stable signal. From there, you might be able to identify the issue and come up with an approach to fix it.

  • @ivangutowski
    @ivangutowski 18 днів тому

    Thank you for this very clear tutorial. With the PIR sensor, it seems that it detects your hand moving in as one action, and hand moving away as a second. So if turning the light on, it would only do so when your hand is present. Is there a way to be able to 'wave' past the sensor - off > on > off and for the LED strip to turn on, and then when you 'wave' past the sensor again the led strip turns off ? Thank you

    • @ResinChemTech
      @ResinChemTech 18 днів тому

      What you are actually seeing in the video is that my hand triggers motion to turn the LEDs on. But then the motion detector "resets" or clears when there is no more motion and this turns the lights off. My hand really has nothing to do with turning the LEDs off. All motion detectors work this way. Some just reset faster than others. So the way I used it in WLED, the lights will always turn themselves off at some point after motion clears. You'd have to use some other type of sensor and settings to get movement to turn the lights on... then they stay on until motion again turns them back off. Or use two sensors... one to turn them on and the other to turn them off. Hope that helps clarify what you were seeing in the video.

  • @chrisrosenkreuz23
    @chrisrosenkreuz23 19 днів тому

    Google is and has always been like a fumbling adolescent, just throwing sh t at the wall to see what sticks

  • @patrickdzx1513
    @patrickdzx1513 20 днів тому

    Your videos are great, they sure cover everything needed to set up wled properly with various addons. Thanks a lot for your efforts in helping the community out.

    • @ResinChemTech
      @ResinChemTech 20 днів тому

      Thanks! Some of my older videos, like this one, don't necessarily have the best video and audio quality since I hadn't yet invested in better equipment, but hopefully the content itself is still helpful. Thanks for watching and taking a few moments to leave a comment!

  • @aydinghanekh
    @aydinghanekh 21 день тому

    Use a small mirror in combination with the original PIR?

  • @TobyStgt
    @TobyStgt 22 дні тому

    My question: Do I need that level shifter? My LED-Strip works well without - even using the complete 5m length with 300 LEDS. And when I use a 12V strip do you need to boost the level up to 12V - didn't find such a shifter?

    • @ResinChemTech
      @ResinChemTech 22 дні тому

      As I stated in this video (and many, many times in other videos), you can sometimes get away without the shifter... until you can't. I simply opt to always include one to avoid any potential issues. And it really doesn't matter how many LEDs; it is a matter of voltage drop on the data line between the controller and the first LED. The further away the controller is from the start of the LED strip, the more likely that voltage drop will cause an issue. But as I always say, the choice to include a shifter is entirely yours. While I recommend it, you can often get away without one if you keep the run between the controller and the start of the LEDs relatively short. To see an example of what can happen if the data line voltage drops too low, I show the results on another video related to the need for a shifter: ua-cam.com/video/Q9mLitVxF3c/v-deo.html As far as 12V LEDs, nearly all types still expect a 5V data signal. So, while you will run +12V and GND to the +V/GND pins on the LEDs, the data signal is still expected to be 5V. The same is true with most 24V LEDs. So if you opt to include a shifter, the same shifter will work with 5V, 12V or even 24V LEDs.

    • @TobyStgt
      @TobyStgt 21 день тому

      @@ResinChemTech Thanks for your help!

    • @TobyStgt
      @TobyStgt 20 днів тому

      @@ResinChemTech May I ask another question? Now that I wanted to order level shifters, I was reading the WLED kno.wled.ge pages about compability of hardware. There is a orange highlited "Warning (!): I2C shifters are generally too slow for addressable LEDs, so don't use them." The ones you are using are I2C shifters, right?! Do they work? Even with long strips with lots of LEDs? Is there a limitation? Why the warning?

    • @ResinChemTech
      @ResinChemTech 20 днів тому

      I address that exact question (and provide my answer) in this video: ua-cam.com/video/61VWgYmomz4/v-deo.html

  • @jonnydoe4588
    @jonnydoe4588 22 дні тому

    I'm new to all this. What if I want to use more than one data pin with the SN74AHCT25N? Looking at your diagram on BlogSpot (I won't be using a clock pin on my setup), you have 1A, and 2A as input and 1Y and 2Y as output with the 1C and 2C as grounds. Can I assume the same is all true for 3A, 3B, 3Y, etc.? This leads me to ask can this chip then handle total of 4 control lines and is that recommended? I have a 2904 LED matrix I'm building (six panels with 484 LEDs each). I'm thinking about using 6 control pins on an ESP32 (484 LED's per pin). Can I add another SN74AHCT25N for the other two? Hope this makes sense. The LED's are WS281B's BTW. Thank you for your great videos and blogposts!

    • @ResinChemTech
      @ResinChemTech 22 дні тому

      The SN74AHCT125N is a quad gate buffer... so yes, you should be able to run four data lines. I connected the unused lines to ground just to assure they weren't left in a floating state... probably not necessary, but it doesn't hurt. While I haven't tried it myself, I believe you should be able to use two shifters to shift more data lines. The biggest thing is to assure everything is using a common ground so you don't end up with ground potential differences. But please follow up and let me know if you were successful in using multiple shifters. I haven't done any LED projects large enough to require that many data pins, so I'll be curious as to how yours works out. Best of luck!

    • @jonnydoe4588
      @jonnydoe4588 18 днів тому

      @@ResinChemTech Thank you for the quick reply! This is a large LED project and I might be over my head a bit. I'll need three power supplies (60A each), and when you say common ground do you mean I need to connect all the grounds together using a terminal strip?

    • @ResinChemTech
      @ResinChemTech 18 днів тому

      Yeah... everything needs to be tied to a common ground.... but especially the controller and the LEDs. If there is a ground potential difference between the controller and LEDs, the LEDs will very likely behave strangely with flickering, wrong colors, etc. Best of luck with your project!

    • @jonnydoe4588
      @jonnydoe4588 18 днів тому

      Thanks so much! Apparently I do have a small clue. I’ll keep you posted. Thank you the great information.

  • @dreamkiss
    @dreamkiss 22 дні тому

    Fabolous video, thanks

    • @ResinChemTech
      @ResinChemTech 22 дні тому

      You are very welcome. Hopefully you found it helpful.