ResinChem Tech
ResinChem Tech
  • 97
  • 2 914 390
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
Переглядів: 1 543

Відео

Add a Display to Your DIY Project (Beginner Friendly!)
Переглядів 3,8 тис.21 день тому
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 тис.Місяць тому
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
Переглядів 14 тис.2 місяці тому
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,5 тис.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!)
Переглядів 33 тис.3 місяці тому
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,1 тис.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,2 тис.4 місяці тому
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,7 тис.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
Переглядів 19 тис.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
Переглядів 25 тис.6 місяців тому
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 тис.7 місяців тому
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 тис.9 місяців тому
Home Assistant 101: Conditional Cards and Managing Dashboards
Battery Powered LED Matrix - T-Shirt Build
Переглядів 12 тис.9 місяців тому
Battery Powered LED Matrix - T-Shirt Build
Home Assistant 101: Applying updates - Practices and Procedures
Переглядів 3,2 тис.10 місяців тому
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
Переглядів 115 тис.11 місяців тому
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
Переглядів 11 тис.11 місяців тому
An NFC Card Reader for Home Assistant Automations
A Beginner's Guide to DIY LED Projects
Переглядів 14 тис.Рік тому
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?

КОМЕНТАРІ

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

    This is nice looking, but way over engineered for its purpose. At my work desk, I have a basic 12V white led strip mounted under the overhead shelf with an inline dimmer switch to control the brightness. No controller boards needed. For my fume filter, I used an old 140mm desktop fan mounted to a coroplast shroud that also housed the carbon filter. That was mounted on top of a Joby Gorillapod so I could get it closer to the fumes. I used a PWM controller like the one you showed to control the fan speed. I eventually replaced it with a Koto fume extractor because the fan I had just didn't have enough airflow. If I had a fan like the one you used, I'd probably still be using my DIY one. It's still nice as a desk fan to keep me cool though.

    • @ResinChemTech
      @ResinChemTech 23 години тому

      This is one of those projects that sorta' grew beyond its original intent. After using an old server psu to create a benchtop power supply, I wanted to see what else I could repurpose. The fan seemed like a good choice. Initially, just feeding it 12V made it too fast and noisy and 5V wasn't enough to get the blades spinning. So I need to add PWM. Then I figured if I had a controller, might as well add some LEDs for extra light. To be honest, and if I had it to do over again, I would have built something with a smaller foot print. The current fan takes up too much space on my benchtop to just leave it there when not in use. It works well... but I'd build it differently the second time around.

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

    without source code not possible this project .....

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

      This project uses the precompiled WLED firmware that you can just flash to the ESP. However, if you want the source code, it can be found here: github.com/Aircoookie/WLED

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

    Thank you for this video. I have watched it multiple times. I have electronic background, but are quite new to Arduino / ESP boards and have no experience on MQTT. Home assistant is brand new to me too, but would like to set it up in the future. Would you maybe have the code for the Ultrasonic sensor instead of the serial coms code. I would like to try it out, but trying to navigate through the code and is very new to me. Code snippets and advice about the code will really help. You have an amazing project here. Thank you for this. Was looking all over for this. Not sure if someone already asked this question. Keep on doing the great work!

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

      I don't have a version that works with the ultrasonic sensor. As I covered in the video, I didn't feel that the ultrasonic sensor was stable and precise enough for my needs so I have no plans to develop an ultrasonic version. However, I do believe that someone may have forked my code and rewrote it to use an ultrasonic sensor. I have not tested this forked version nor do I know if it has been kept up-to-date with changes made in my version. You can see my full code (and find any forks) in the Github repo: github.com/Resinchem/ESP-Parking-Assistant I try to document within the code itself to help out with anyone trying to learn or for those that want to adapt my code. The wiki may also contain some useful information. Note that MQTT/Home Assistant is optional and not required for the system to work. So you could build the system now and then add it to Home Assistant via MQTT at a later time. I appreciate the kind words and interest. I've been asked numerous times about an ultrasonic version but feel that due to the noise, wider field of view and lower precision, I don't believe that it is a good choice for this project. It definitely would not work in my situation as my sensor needs to be near a side wall and the ultrasonic sensor would just measure the distance to that wall and not an approaching car. But it might work for others in situations where high precision is not needed and the sensor can be mounted far enough away from other walls and objects.

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

      @@ResinChemTech Thank you for your quick reply. I can't find the sensor locally at the moment and I have the ultrasonic sensor. I appreciate it. Will do some more research. Thank you!

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

    You great for me sir

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

    Sir please help me for make this

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

    I would do a version with voice commands..

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

      Actually, I do have complete control over the entertainment system with voice (primarily using an integrated Harmony hub). The missus primarily interacts with Home Assistant and devices via voice. But as I think I've mentioned in a couple of my other videos, I like to have multiple ways or methods for pretty much all my smart devices. In this case, the TV/Roku can be controlled via voice, NFC tags and a Home Assistant kiosk. Oh... and of course by the original remotes. I've found that after a few years of testing that some folks aren't comfortable with certain methods. Visitors or guests that might not have smart speakers (or even those that have Amazon when I have Google) are often hesitant to interact with the house because they 'don't know what to say'. So most of my devices, like the TV, have an alternate way to control it as well. Pretty much everyone (so far) is pretty comfortable with picking up a card and tapping it after I demo it one time. My elderly dad just won't try to talk to Google, but he'll pick up one of those cards and tap it to turn on the TV. It all depends on your needs. But I do try to always provide multiple methods of accomplishing the same task in my own home.

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

      Yea this would have been perfect for my grandmother in the nursing home. She had a hard time changing channels. You might be onto something.. we need to bring accessibility to the elderly.. her nursing home really pissed me off with all no tech to make people life’s more enjoyable..

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

    Those machines must have costed a fortune to manufacture… and think they built thousands of them. Don’t see a reason to own one. It would be boring to play..

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

      I don't disagree that it can be a bit mundane when playing with your own money on the line. But visitors and guests love it... as I tell them they can keep anything they win. But of course I get to keep anything they put into the machine (and lose), so for them it is a bit more entertaining! To be honest, I just like the looks of it sitting next to the arcade machine. So it really isn't truly about the 'fun' of playing the machine for myself... but I did want it to be fully functional and not just a display. But regardless, I appreciate the comment.

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

      Yea it is pretty cool you have one. Just think if it was in Trumps casino :) Do like the channel and your content. I am starting out on my home assistant journey and have been binge watching your videos.. sorry if the comment seemed negative it was just an honest opinion..

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

    Give this man a stand ovation. I even saw the advertisement complete, like and share the video, thank you ser

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

    Really great videos. I enjoy learning from you about HA. I just read your written guide and all I needed was there. Thank you

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

      Thanks! I do always try to include a written guide for any videos that show wiring diagrams or have code blocks so that people don't have to try to 'freeze frame' the video if they want to see them. Thanks for watching and taking a moment to post a comment!

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

    Moved from Win 11 VM/VirtualBox to Proxmox by following this video and I was up and running in less than an hour. BalenaEtcher killed my USB card until I got it back running and tteckster's page looks a little different now, but I figured it out. Also, ran the backup using the method here to my Windows 11 server computer that HA was originally installed. In the last steps (after copying the MAC address and putting my old HA offline), I inserted the Sonoff USB into the NUC (GMKtec G3) and it did require a reboot of the new Proxmox HA install, but worked after that.

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

      Glad it worked out for you! Yeah... the scripts always have to be updated due to both newer versions of Proxmox and later releases of Home Assistant, so it's always likely that older videos may not be 100% accurate after a time. I don't have a USB dongle (my Zigbee hub is standalone), but I appreciate you letting me know that just moving the USB dongle worked out without issue. Thanks again for watching.. and the comment.

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

    The tip for "Home Assistant MQTT Discovery" topic was my AHA moment, thank you for making all these amazing and informative videos!

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

      Glad you found it helpful. As mentioned, I have a separate video that goes into much more detail about using Home Assistant discovery on your own devices. Thanks for watching... and taking time to leave a comment!

  • @MH-ie1sg
    @MH-ie1sg 7 днів тому

    Thanks! This video was a great help for a newbie like me! Helped me out a lot! Thanks for you trouble and effort making this video. 👍

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

      You are most welcome. Glad you found it helpfu.

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

    amazing video. just what I was looking for diwali decoration. 🎉

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

      Glad you found it helpful. Thanks for watching... and taking time to leave a comment!

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

    Thanks mate!

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

    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 9 днів тому

      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 9 днів тому

    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 9 днів тому

    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 9 днів тому

      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 9 днів тому

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

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

    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 9 днів тому

      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 10 днів тому

    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 9 днів тому

      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.

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

      @@ResinChemTech I understand what you say. I changed my entity in but it still doesn't work. Thank you very much for your positive feedback.

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

      My configuration in YAML failed. switch: platform: template switches: lights_sonoff_100: value_template: "{{ is_state_attr('light.sonoff', 'brightnees', 225) }}" turn_on: service: light.turn_on target: entity_id: light.sonoff data: brightnees: 255 turn_off: service: light.turn_off target: entity_id: light.sonoff Then I added to Template section in developer tools "{{ is_state_attr('light.sonoff', 'brightnees', 255) }}" to test. I get the following response: "Result type: boolean false This template listens for the following state changed events: Entity: light.magic" I don't know where I went wrong. Please help. Thanks!

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

      I cannot tell if something is wrong with the formatting, but one thing is that you have the word 'brightness' misspelled. Correct and replace every instance of 'brightnees' above with 'brightness' and see if that resolves the problem.

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

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

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

      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 11 днів тому

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

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

      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 12 днів тому

    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 12 днів тому

      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 11 днів тому

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

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

    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 12 днів тому

      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 11 днів тому

      @@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 13 днів тому

    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 13 днів тому

      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 13 днів тому

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

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

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

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

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

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

    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 14 днів тому

      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 14 днів тому

    Nice work. Thanks!

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

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

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

      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 16 днів тому

    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 16 днів тому

      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 17 днів тому

    Great videos, clearly explained thank you :)

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

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

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

    Highly valuable in getting me going with MQTT. Thank you

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

      You are welcome. Glad you found it helpful.

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

    Great tutorial video. Thank you sir.

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

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

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

    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 18 днів тому

      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 18 днів тому

    Can an ESP32 S3 Super Mini be used?

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

      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 18 днів тому

      @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 19 днів тому

    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 19 днів тому

      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 19 днів тому

      @@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 19 днів тому

      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 18 днів тому

      @@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 18 днів тому

      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 19 днів тому

    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 19 днів тому

      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 21 день тому

    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 21 день тому

      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 21 день тому

    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 21 день тому

      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 21 день тому

      yeah no luck at all for me.

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

    Very Very nice tutorial, great job

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

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

  • @binarybox.binarybox
    @binarybox.binarybox 22 дні тому

    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 22 дні тому

      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 22 дні тому

    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 22 дні тому

      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 22 дні тому

      @@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 22 дні тому

    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 22 дні тому

      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 19 днів тому

      I love you

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

    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 22 дні тому

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

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

    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 22 дні тому

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

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

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

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

      Thanks... I appreciate the kind words!

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

    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 22 дні тому

      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 22 дні тому

    Thank you

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

    Very nice guide, was looking for one for displays 👍

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

      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 22 дні тому

      Long is not a problem for me 👍

  • @NipunDrall
    @NipunDrall 23 дні тому

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