Home Automator
Home Automator
  • Видео 24
  • Просмотров 31 686
Coding practices, tips and tricks, Tutorial 1, Foundation Part 2
This series, "Coding Practices, Tips and Tricks", is specifically designed for intermediate ESPHome users who have already completed my tutorial on "Creating a Room Sensor from Scratch" and are looking to take their skills to the next level.
This is the intermediate version of my popular "ESPHome Basic setup for all devices".
In this tutorial, we will discuss modularising our code and the standards and conventions I use in my coding and why.
This is part B of the foundation tutorial.
GitHub Page: github.com/homeautomatorza/esphome/tree/main/Coding_Practices_Tips_and_Tricks/1_Foundation
Support me by
▶ Buying me a tea: www.buymeacoffee.com/homeautomatorza
▶ Ko-Fi: ko-fi.com/homeautomatorza
▶ On ...
Просмотров: 314

Видео

Coding practices, tips and tricks, Tutorial 1, Foundation Part 1
Просмотров 55514 дней назад
This series, "Coding Practices, Tips and Tricks", is specifically designed for intermediate ESPHome users who have already completed my tutorial on "Creating a Room Sensor from Scratch" and are looking to take their skills to the next level. This is the intermediate version of my popular "ESPHome Basic setup for all devices" In this tutorial, we will discuss modularising our code and the standa...
Thank You for 1000 subs!
Просмотров 156Месяц назад
You will find the accompanying code on my GitHub Repo @ github.com/homeautomatorza/ Support me by ▶ Buying me a tea: www.buymeacoffee.com/homeautomatorza ▶ On Patreon: www.patreon.com/homeautomatorza #smarthome #homeassistant #esphome #diyelectronics #diyiot
ESPHome June 2024 Breaking change
Просмотров 2,1 тыс.2 месяца назад
This is a community announcement, ESPHome OTA has changed! You will find the code on my GitHub Repo @ github.com/homeautomatorza/ Support me by ▶ Buying me a tea: www.buymeacoffee.com/homeautomatorza ▶ On Patreon: www.patreon.com/homeautomatorza ▶ Links in Video 🔗: - www.esphome.io/changelog/2024.6.0.html ▶ Website: www.homeatomator.co.za #smarthome #homeassistant #esphome #diyelectronics #diyiot
Let's add to our room sensor - Part 5 - Movement detection
Просмотров 7112 месяца назад
In this tutorial we will be adding a passive infrared sensor to detect movement and switch a light on and off with an automation. We will also discuss the key differences between movement and presence and the uses of each situations. You will find the accompanying code on my GitHub Repo @ github.com/homeautomatorza/esphome/tree/main/Lets_build_a_room_sensor/Part 5 Support me by ▶ Buying me a te...
Let's add to our room sensor - Part 4 - Capacitive touch switch and a simulated light
Просмотров 7273 месяца назад
In this tutorial we will be adding a capacitive switch to our room sensor and building a second ESP32 device with ESPHome to simulate a remote light switch using an automation in Home Assistant, let me demonstrate the end result. You will find the accompanying code on my GitHub Repo @ github.com/homeautomatorza/esphome/tree/main/Lets_build_a_room_sensor/Part 4 You can support me by ▶ Buying me ...
Let's install a dedicated Docker server [Reupload]
Просмотров 2973 месяца назад
In this new series we will be using docker to create a smart home, in this first instalment we are installing a home server using Debian Linux, Docker and Portainer. You will find the accompanying code on my GitHub Repo @ github.com/homeautomatorza/docker-compose/tree/main/1_lets_install_a_docker_server Support me by ▶ Buying me a tea: www.buymeacoffee.com/homeautomatorza ▶ On Patreon: www.patr...
Channel Update - April 2024
Просмотров 2754 месяца назад
In this long update video, I am going to talk about the future of the channel, what I think I need to do and how I am going to fund it. Check the time stamps below, If you want to go to the stuff that interest you. You can support me by ▶ Buying me a tea @ www.buymeacoffee.com/homeautomatorza ▶ On Patreon @ www.patreon.com/homeautomatorza ▶ Timestamps ⌚: 00:00 - Forward 00:37 - Intro 09:00 - Th...
Let's add to our room sensor - Part 3 - eCO2 and TVOC
Просмотров 1,1 тыс.4 месяца назад
In this tutorial we are exploring eCO2 and TVOC and adding these sensors to our project and add a horseshoe card to visualize the data. You will find the accompanying code on my GitHub Repo @ github.com/homeautomatorza/esphome/tree/main/Lets_build_a_room_sensor/Part 3 You can support me by ▶ Buying me a tea @ www.buymeacoffee.com/homeautomatorza ▶ On Patreon @ www.patreon.com/homeautomatorza ▶ ...
Installing and Configuring HACS or Home Assistant Community Store
Просмотров 1,2 тыс.5 месяцев назад
In this tutorial we will be installing HACS or Home Assistant Community Store on our Home Assistant Installation. You will find the accompanying code on my GitHub Repo @ github.com/homeautomatorza/ This tutorial has no code, no page was added to GitHub. ▶ Command line to install HACS wget -O - get.hacs.xyz | bash - You can support me by ▶ Buying me a tea @ www.buymeacoffee.com/homeautomatorza ▶...
Let's add to our room sensor - Part 2 - Ambient Light Sensor
Просмотров 1,3 тыс.5 месяцев назад
In this tutorial we are exploring I2C and adding an ambient light sensor to our project. You will find the accompanying code on my GitHub Repo @ github.com/homeautomatorza/esphome/tree/main/Lets_build_a_room_sensor/Part 2 You can support me by ▶ Buying me a tea @ www.buymeacoffee.com/homeautomatorza ▶ Buying me coffee @ ko-fi.com/homeautomatorza ▶ On Patreon @ www.patreon.com/homeautomatorza ▶ ...
Let's build a room sensor - Part 1 - Temperature, Humidity, and Bluetooth
Просмотров 4,3 тыс.5 месяцев назад
I am aware of some glitches in the video, I was trying something new and apparently failed, please ignore it. In this video we will add the Bluetooth Proxy functionality to our Basic Setup as well as have a discussion around the Bluetooth Low Energy sensors, then add a DHT22 Temperature and Humidity sensor. You can find the bill of materials and code on my GitHub Page linked below. You will fin...
Let's install the Advanced SSH and Terminal Add-on for Home Assistant
Просмотров 1,1 тыс.6 месяцев назад
Let's install the Advanced SSH and Terminal Add-on for Home Assistant
Let's install the Mosquitto MQTT Add On for Home Assistant
Просмотров 1,2 тыс.6 месяцев назад
Let's install the Mosquitto MQTT Add On for Home Assistant
Let's install Microsoft Visual Studio Code Desktop for Home Assistant
Просмотров 1 тыс.6 месяцев назад
Let's install Microsoft Visual Studio Code Desktop for Home Assistant
Le's install the Samba Share Add-On for Home Assistant
Просмотров 6236 месяцев назад
Le's install the Samba Share Add-On for Home Assistant
Let's install the Studio Code Server Add On for Home Assistant
Просмотров 1,6 тыс.6 месяцев назад
Let's install the Studio Code Server Add On for Home Assistant
ESPHome Basic Setup For All ESP Devices
Просмотров 10 тыс.6 месяцев назад
ESPHome Basic Setup For All ESP Devices
Initializing the Raspberry Pi Pico W for use with ESPHome
Просмотров 6946 месяцев назад
Initializing the Raspberry Pi Pico W for use with ESPHome
Let's install the ESPHome Add-on for Home Assistant
Просмотров 7586 месяцев назад
Let's install the ESPHome Add-on for Home Assistant
Let's install Home Assistant OS
Просмотров 7076 месяцев назад
Let's install Home Assistant OS

Комментарии

  • @ilija_b
    @ilija_b День назад

    Can you do tutorial on how to create a custom sensor component, please!?

    • @homeautomatorza
      @homeautomatorza День назад

      Do you mean C++ component or in YAML? Both are in the pipeline, I currently have a 54 tutorials pipeline, the YAML one is coming soon, the C++ one is a beast of its own and will come much later

    • @ilija_b
      @ilija_b 23 часа назад

      @@homeautomatorza Great, it's yaml.

  • @n.r.2258
    @n.r.2258 3 дня назад

    High definition screens doesn’t makes sense for such videos cause the writing is almost not to read on smaller equipment like iPhone ore iPads.👎

  • @LarsvanZon
    @LarsvanZon 12 дней назад

    Hi Patrick, good morning to you. Question, in the live session on july 6th you used 'include' (example 'dht22: !include...'). Now you take a different route with 'packages'. What is the difference between these approaches? And why choose one above the other?

    • @homeautomatorza
      @homeautomatorza 12 дней назад

      Hi Lars, I think I know why you say it's differant, I may not have explained it as deeply as in the tutorial. It's the same function, both use packages. This is also why I wanted to do this series by the way, to clarify the methodology and the code. I hope this clears up any confusion. -- Pascal

    • @LarsvanZon
      @LarsvanZon 12 дней назад

      @@homeautomatorza Almost sounds as if this is built by humans ;-) Thanks for the explanation.

  • @dankarau2307
    @dankarau2307 13 дней назад

    Dankie, sir!

  • @JuanPaez-l6j
    @JuanPaez-l6j 13 дней назад

    Nice tutorial, I can’t wait for the next one.

  • @karlOFuchs
    @karlOFuchs 13 дней назад

    Thanks Pascal. This is a very helpful explanation.

  • @philipknudsen59
    @philipknudsen59 13 дней назад

    Good work.

    • @homeautomatorza
      @homeautomatorza 13 дней назад

      Thank you Philip. I hope it’s all clear enough, we will go into samples from the next tutorial in this series.

  • @MrAman47
    @MrAman47 13 дней назад

    The title is missing a lot of context. For what is this? Who is the audience? What is the content? For an educational video, this lacks too much information, and is almost on the level of clickbait. Sure, it says what it's for in the description but adding "ESP32" to the title would not be that big of a problem. Also, in the start of the video You mention there will be a link to github in the description of the video, but then in the description you say it'll be in the next one. This is very deceptive and misleading. Extremely unethical and again "clickbaity" in my opinion.

    • @homeautomatorza
      @homeautomatorza 13 дней назад

      That is quite a rant sir. You have the right to your opinion, however, calling it “clickbait” is maybe a bit much. My channel is an ESPHome channel, I introduce it as such, I do not see where the problem is. And for your information, clickbait is to create money, this channel costs me money. Have a great day, Pascal.

    • @MrAman47
      @MrAman47 12 дней назад

      @homeautomatorza Just said that to hopefully help You and others not waste time. As I said in the comment, there's not enough context in the title which is the first thing you see when you are choosing videos to watch, and I hope the comment helps you form better titles, especially for a new audience. Neither the title nor the channel name is directly linked to what you're trying to say. I thought I was going to see general coding tips and trics, as the title says. Not specifially for ESPs, which I have little interest in now, hence it wasted more of my time than I would have liked, hence the comment. Content itself was useful for what it was. Hope you have a wonderful day too!

  • @LarsvanZon
    @LarsvanZon 15 дней назад

    Hi Pascal, as usual, I'm impressed by your video. Good work

    • @homeautomatorza
      @homeautomatorza 15 дней назад

      Thanks Lars, the next one is going to interest you I think.

  • @DeliberateGeek
    @DeliberateGeek 16 дней назад

    Hey Pascal. As always, great content. For someone like my who really gets into the details and the why of things, your tutorials really hit the spot! I actually tried posting this comment twice yesterday and it never did show up. Not sure why. In any case... Regarding the VSCode compilation issue you mentioned; I had never tried using this feature. I checked out the marketplace page for the extension. (I had a link to it here, but I'm not sure if that's what caused the post to fail. Just search VSCode extensions for ESPHome and you'll be able to find it and a link to the marketplace page). The extension's marketplace page suggested that there's some config needed to either access the Home Assitant ESPHome Dashboard or a local installation of ESPHome. I plan to spend some time in the next day or two to work it out on my own setup. If I work it out, I'll ping back here with the solution.

    • @homeautomatorza
      @homeautomatorza 16 дней назад

      Thanks, that would be great. I've done the configuration into Home Assistant for the Home Assitant plugin but ESPHome is another beast. Anyways, part 2 is comming soon and it's going to answer a lot of your questions I did not have answers to in the live stream.

  • @dast6915
    @dast6915 16 дней назад

    I thought I would share this link with you and your audience. ruclips.net/video/FfjSA2o_0KA/видео.html Frank explains to Dr Z some basics of the yaml language used in the Home Assistant Configuration files. Frank has modularized his config setup which is seems to be in the same way you are trying to do with your ESPHome files. Looking forward to your next video, although I have personally taken a break from Home Assistant as I need to set it up on a dedicated machine and it is summer time in UK

    • @homeautomatorza
      @homeautomatorza 16 дней назад

      Thanks for sharing the link. The modular part is only one part of what I am doing by the way.

  • @dankarau2307
    @dankarau2307 19 дней назад

    Any reason to not install Docker on a Proxmox server? I will be using my system in an Off Grid environment and would like to keep the number of servers running to an absolute minimum? Right now I have HA, AdGuard and Node Red running in VMs on my Proxmox Server (HP Elitedesk G2 with i5 6700, 16Gb and a 256G SATA SSD) I will be adding a 1 TB nvme soon and possibly replacing the SATA SSD with 2 x 1TB nvme cards.

    • @homeautomatorza
      @homeautomatorza 18 дней назад

      Hi Dan, Most people would probably want to dedicate a [physical] machine to run docker, this is why I took this approach for the tutorial. I have a lot of docker containers running inside of LXC containers, but this is a bit more advanced. If you want to play around this guy tteck.github.io/Proxmox/ has a bunch of scripts that will install virtual machines or LXCs for you. As for the off grid, I can't help you much.

    • @dankarau2307
      @dankarau2307 18 дней назад

      @@homeautomatorza Thanks for your answer, I have been using those scripts already, they work great. I say he had one for installing Docker onto Proxmox. The only factor with being off grid is power consumption. I have a huge lithium/solar system, but still would like to limit the servers to just one for my homelab...if possible.

  • @manukalias
    @manukalias 20 дней назад

    Very detailed info why and what to follow 👍 Got your channel suggested 1st time in 4+ year with home assistant learning 😅 Love and respect from India 🙏🙏

    • @homeautomatorza
      @homeautomatorza 19 дней назад

      Thanks Manu I’ve only been around for a few months though. There is much more coming and the next series is an extension of this one, but we will be going into more advanced techniques and additional properties, I hope you will enjoy it as much as I do preparing and recording them. And don’t hesitate to ask questions. Love and respect from South Africa

  • @ianb282
    @ianb282 26 дней назад

    ok , so why does this SSH "advance ssh & web terminal" utility allow me to ssh via the terminal, and not the regular SSH & terminal utility...? same IP etc etc any thoughts ?

    • @homeautomatorza
      @homeautomatorza 25 дней назад

      I think I only use the Advanced SSH and Web Terminal. I cannot remember why though

    • @ianb282
      @ianb282 25 дней назад

      @@homeautomatorza yea, will have to dig into the logs someday, when i get some energy..heh

  • @marko8177
    @marko8177 27 дней назад

    Nice video. I also have 20 active esphome devices and wrote template for all my new devices. I'm using mostly D1 mini's(8266) because of the small size. Easier to 3D-print boxes;-) I have missed OTA details and globals altogether. Thanks for the tips 👍👍

    • @marko8177
      @marko8177 27 дней назад

      Forgot to mention, but I'm still using ha api connection check on esphome device boot, because I have plenty of LCD-screens and it will turn of the backlight on my code when connection is ok. I can see immediately, if connection fails-> esphome: name: ${esphome_name} platform: ESP8266 board: d1_mini on_boot: priority: -10 then: - wait_until: api.connected: - logger.log: API is connected!

    • @homeautomatorza
      @homeautomatorza 27 дней назад

      Thanks Marko, I am currently working on a more advanced and modular version of this tutorial, it will include a lot of tips too. Now I need my voice back so I can record them.

  • @Mr1279Dave
    @Mr1279Dave Месяц назад

    Errors compiling foundation yaml now as things have changed in HA.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Correct, the fix is explained here ruclips.net/video/wcUDYzLFjQ0/видео.html

    • @Mr1279Dave
      @Mr1279Dave Месяц назад

      @@homeautomatorza Thank you!

  • @dankarau2307
    @dankarau2307 Месяц назад

    Suggestion for another project that a lot of folks will want is a DIY "Alexa". Now that we can use Voice in HA, we can also keep all our voice activations local. There are also several AI options that can be installed locally so you could have a true Voice Assistant with AI and have it do Automations.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Thank you for the great suggestion. It’s been on my list for sometime now, but being that it is an advanced project it will take time to get there.

  • @eduardosantile2040
    @eduardosantile2040 Месяц назад

    Oustanding, very clear very usefull

  • @timbanks870
    @timbanks870 Месяц назад

    thanks for this fixed my stuff

  • @dankarau2307
    @dankarau2307 Месяц назад

    Great content, but at times a little hard to follow. One trick I use whenever doing a "lesson" is to set the context of the lesson at the very start. At times you started doing things that made little sense until 10 - 15 minutes later. This becomes distracting...especially for those that are learning from scratch as they have no idea where you are taking them on the path to a final product... knowing what the end result will be puts each segment of the lesson/dialog into context in he moment. Announcing that you are now moving on to a new part of the lesson (introduced at the start then sets the context for the next 15 - 20 minutes. This is akin to a book with the preface setting the overall context and then the list of chapters that segment each sub-lesson. May I also suggest a small dry erase white board that you can put under your camera to explain concepts (or have this drawn out in PowerPoint or whatever software). I may have missed it or you may have mentioned it in another video, but one more huge advantage of breaking up the code like this it when you want to start a whole new project that uses some of the same code or sensors. Instead of starting from scratch each time, or having to dig through 100s - 1000s of lines of code to find how you dealt with a sensor, you can simply go to the code for that sensor/board/topic within your file structure and "include" it in the new project. This ensures that your code is consistent over time and makes debugging a year later a lot easier. Keep up he great work, this is content that is not available anywhere else as far as I can see. PS...Steve looks like and his mannerisms are identical to Paul Shaffer from the David Letterman show! LOL

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Steve and I were working on the new code during the live stream, which wasn’t intended as a tutorial. My streams tend to be a bit chaotic-I don’t script them extensively because I enjoy the spontaneity and unpredictability. However, we did discuss code reusability with Steve during the livestream. I’m excited to announce that I’m preparing a comprehensive tutorial series. It’ll delve deeper into the topics we touched on during the live stream. I’ve planned at least seven tutorials, ranging from quarter-hour to half-hour per video. Two of them are already scripted-I just need to find time to record them. Also, stay tuned for the ESPHome Weather Station project! It’ll incorporate the new techniques we discussed in the live stream and more. This content will be labeled as intermediate and I’ve already scripted one episode. If you’re starting from scratch, check out my existing playlist: Creating a Room Sensor from Scratch. It’s designed specifically for those entering the ESPHome space (ruclips.net/p/PLJ3MNJX_MOUkHnK4C65lJr4klT58Yi1_W), the next tutorial in this series is recorded-I’ll be busy editing it, so keep an eye out for it. Thank you for the feedback-I’ll definitely consider structuring my livestreams better in the future.

  • @max_imus
    @max_imus Месяц назад

    Great job. I loved your tutorial about the basic code setup.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Thank you, a revised version of that is coming soon.

  • @dankarau2307
    @dankarau2307 Месяц назад

    Hello from Canada. I love your videos and the content. I'm a past Database programmer from back in the days of VI Text Editor on a Unix Box...LOL. That said I haven't coded in years and am very much a virgin with YAML. I know good coding practices when I see it and yours is amazing. One question...you introduced Studio Code Server a while ago, but so far you are not using it to code...why not? It obviously has a lot of advantages to those of us that like to organize their code.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Hi there, To answer your question, most of my tutorials are for beginners, and until now, I did not see the use of introducing Studio Code server or desktop. If you watched the last live stream, that is all I used to do the YAML. The compilation and upload are done in ESPHome though. The ESPHome studio plugin is a bit dated and throws errors where there are none. Most of my future tutorials will be using a modular technique, making studio code a must, so you will see plenty of it. Ps, the live stream was a lot of fun and the input from Deliberate Geek as well as all that were there was great, I think it’s a great watch but it’s over 2 hours long. So I am preparing a series of tutorials around the discussion we had, all using advanced methods and Studio Code. On a personal note, I did not code for many years either when I went down the IoT path in C++, which I had used in my professional life. Then I discovered the world of ESPHome and YAML, it’s really not that complicated, if you have dealt with JSON or XML, you’ll get it quickly. It’s a configuration file standard, that’s it. If your tabs are correct and you config properties are right, you’ll have no issues. Thanks for watching and many good things are coming.

    • @dankarau2307
      @dankarau2307 Месяц назад

      @@homeautomatorza Thanks for the quick response. My coding ended about 15 yrs ago when I developed a huge database with MS Visual Basic for the fronted to run a SQL Database for BHP Billiton Mining here in Canada. So this is all "new" but still familiar. PS...I have a ton of friends in SA from my mining days and even got to spend about a month in Pretoria back in my Military days flying CC130 Hercs all over SA. I'm currently binge watching your videos, so 1. your watch time will go up a ton and 2. I'm looking forward to the Visual Studio Code stuff. Hopefully I can join a live stream at some point. My challenge to myself for learning all this stuff is to build out our RV to a "Smart Home" using as many DIY devices as possible.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Firstly, thank you for your binge-watching! 🙌 The reason I haven’t posted anything new lately is that I’ve been continuously refining the modular code. As of today, I believe I’ve nailed it. Now, about the next room sensor tutorial: It’s already recorded, but here’s the catch-I’ve made numerous references to the new code without providing context. That’s where my hesitation comes in. I’m considering re-recording the coding section to align it with the current monolithic approach. Then, I’ll introduce the modular method in a fresh tutorial series titled ‘Coding Practices, Tips, and Tricks.’ I’ve got seven tutorials planned for that series, and one of them is already written. As for the intermediate-level ESPHome Weather Station tutorials, I’m seriously contemplating a delay. I want to ensure that the ‘Coding Practices, Tips, and Tricks’ series has progressed far enough for us to confidently dive into those advanced techniques. Thanks for your patience, and stay tuned for more exciting content!

    • @dankarau2307
      @dankarau2307 Месяц назад

      @@homeautomatorza Thanks for the quick response. You should consider doing a Studio Code Server video with how to switch back and forth between it and ESPHome to compile. Some folks may not understand how to move the files back and forth or why. During the live stream you had multiple Tabs open and it cold get confusing with what software you were doing what. Probably could be one of your Quickie Videos. You touched some of the details on your install video but was missing the whole concept of compiling in ESPHome instead of Studio Code.

    • @homeautomatorza
      @homeautomatorza 27 дней назад

      A full series of tutorials is coming for the modular techniques in which I explain what you’ve pointed out. It’s difficult to plan a live stream as you never know what will happen and truthfully I like it that way. The next live stream is some times away but I’ll structure it better. I am still very new at this. Now I need my voice back so I can record 😟

  • @dankarau2307
    @dankarau2307 Месяц назад

    Best HA How to videos I have found. Lots of great golden nuggets.

  • @benzweers1291
    @benzweers1291 Месяц назад

    maybe you can cover importing sensor data from Home Assistant and using the data I have this working then lost the code ;(

  • @LarsvanZon
    @LarsvanZon Месяц назад

    Hi Pascal, based upon this session, I started re-organising my ld2410 sensor code. It seems your session was clear enough, because it worked the first time. Okay, I cheated a bit because I left my temp and humidity sensor within the main part due to the calibration of the dht22. Calibration will be different for each sensor, so it made no sense to build a generic dht22.yaml. But anyhow, thanks for the input.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Thanks

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Hi Lars, I thought I'd give you the long answer from my computer, here it is: There is no cheating, there are cases where this methodology and framework may not fit the requirements, any methodologies has it's exceptions. I am currently scripting the methodology in multiple tutorials for an easier learning experience and with more information from the livestream questions and Steve's additions. I highlight that this is the way I do it, but it may not be for everyone, it's a framework to adapt to your need and your way of thinking. Remember, you need to adapt it to what works for you. Have a blast. -- Pascal

  • @michaelthompson657
    @michaelthompson657 Месяц назад

    Congratulations 🥳 keep up the great informative work!

  • @rrrrrrrr290
    @rrrrrrrr290 Месяц назад

    Next 1000 will be faster, thanks for all your hard work

  • @HATipsByLarry
    @HATipsByLarry Месяц назад

    IMO it is well deserved. Thanks for all the great content. I for one have learned a lot from watching your video's. Keep up the great work 😀

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Thank you Larry, maybe one day you can pop into the channel and bring us some of your wisdom.

    • @HATipsByLarry
      @HATipsByLarry Месяц назад

      @@homeautomatorza ROFL, I don't know about wisdom, but i have some ideas ever once in a while. 😀

  • @michaelbreslin9116
    @michaelbreslin9116 Месяц назад

    I like structure too, and this again is useful. A bit long, I'm guilty of pressing the left button on the mouse occasionally, to 2x speed. Baud rate. Do you have a tidy way of incorperating it with a sustitution or what ever way. I can just change it but it is often different for different sensors. My BMS is at 9600, my meter is at 2400. I also liked the way I only need one secrets file now. Just seen. Think I can utilise the vars options.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      I thought of editing it but there is so much information I opted to leave it as is. And there is nothing wrong with going at 2x, I often do it. And yes, vars opens a different way to do things too.

  • @kevinmejia5475
    @kevinmejia5475 Месяц назад

    I wish you would of shown how to enable compatibility mode in SSH....

  • @orandaadnaro
    @orandaadnaro Месяц назад

    Pascal - A very elegant and streamlined way of coding a standard 'foundation' for esp home devices. Thank you. BTW the second link above to the code, doesn't work.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      Wait until Saturday’s livestream where I’ll show more advanced ways to do the code and stream line it even more. I’ll check the link, thanks.

  • @daveharman888
    @daveharman888 Месяц назад

    Pascal, do you have to add those lines to the yaml for every ESPHome device?

  • @rcmc88
    @rcmc88 Месяц назад

    I have manually typed this into my home assistant and it kept not working, i then copied yours and yours also isn't working. Have there maybe been updates that have made this coding stoip working? It stops at the Binary Sensor name "id: ${device_internal_name}_status" where in the fault says the name cannot have a $ , Can anyone help me out, i have been trouble shooting this for 4 hours without any luck.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      I am not sure I understand, but here are 2 things you can try 1. Is device_internal_name defined? 2. Are you typing as follows: id: ${device_internal_name}_status Lastly, are you doing this in ESPHome or Home Assistant ? The code that I have on GitHub is fully tested, except for the ota change there is nothing else that should break it. Can you maybe paste the full error, so I can help?

    • @rcmc88
      @rcmc88 Месяц назад

      Sure will do, am using in esphome in home assistant. Will message you in the morning, many thanks, Michael

    • @rcmc88
      @rcmc88 Месяц назад

      @@homeautomatorza I have a screen shot of the error code and the actions that have run before it. is there anyway i can forward this to you at all please ?

    • @rcmc88
      @rcmc88 Месяц назад

      @@homeautomatorza INFO ESPHome 2024.6.6 INFO Reading configuration /config/esphome/foundation-device.yaml... WARNING Found '${device_internal_name}_status' (see binary_sensor->0->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_wifi_signal_sensor' (see sensor->0->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_uptime_sensor' (see sensor->1->name) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_uptime_human' (see sensor->1->on_raw_value->then->0->text_sensor.template.publish->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found 'int seconds = round(id(${device_internal_name}_uptime_sensor).raw_state); int days = seconds / (24 * 3600); seconds = seconds % (24 * 3600); int hours = seconds / 3600; seconds = seconds % 3600; int minutes = seconds / 60; seconds = seconds % 60; return ( (days ? to_string(days) + "d " : "") + (hours ? to_string(hours) + "h " : "") + (minutes ? to_string(minutes) + "m " : "") + to_string(seconds) + "s") ).c_str();' (see sensor->1->on_raw_value->then->0->text_sensor.template.publish->state) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_ip_address' (see text_sensor->0->ip_address->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_connected_ssid' (see text_sensor->0->ssid->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_mac_address' (see text_sensor->0->mac_address->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_uptime_human' (see text_sensor->2->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_status' (see binary_sensor->0->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_wifi_signal_sensor' (see sensor->0->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_uptime_sensor' (see sensor->1->name) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_uptime_human' (see sensor->1->on_raw_value->then->0->text_sensor.template.publish->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found 'int seconds = round(id(${device_internal_name}_uptime_sensor).raw_state); int days = seconds / (24 * 3600); seconds = seconds % (24 * 3600); int hours = seconds / 3600; seconds = seconds % 3600; int minutes = seconds / 60; seconds = seconds % 60; return ( (days ? to_string(days) + "d " : "") + (hours ? to_string(hours) + "h " : "") + (minutes ? to_string(minutes) + "m " : "") + to_string(seconds) + "s") ).c_str();' (see sensor->1->on_raw_value->then->0->text_sensor.template.publish->state) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_ip_address' (see text_sensor->0->ip_address->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_connected_ssid' (see text_sensor->0->ssid->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_mac_address' (see text_sensor->0->mac_address->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING Found '${device_internal_name}_uptime_human' (see text_sensor->2->id) which looks like a substitution, but 'device_internal_name' was not declared WARNING 'esphome_foundation_device': Using the '_' (underscore) character in the hostname is discouraged as it can cause problems with some DHCP and local name services. For more information, see esphome.io/guides/faq.html#why-shouldn-t-i-use-underscores-in-my-device-name WARNING GPIO2 is a strapping PIN and should only be used for I/O with care. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins INFO Detected timezone 'Europe/London' Failed config binary_sensor.status: [source /config/esphome/foundation-device.yaml:111] platform: status name: Status IDs must only consist of upper/lowercase characters, the underscorecharacter and numbers. The character '$' cannot be used. id: ${device_internal_name}_status

    • @rcmc88
      @rcmc88 Месяц назад

      @@homeautomatorza Hello Pascal, i have uploaded the error code for you to review if you would be so kind please ?

  • @riaangrobler3447
    @riaangrobler3447 Месяц назад

    Great Videos. Looking forward to mmWave tutorial.

    • @homeautomatorza
      @homeautomatorza Месяц назад

      It’s coming as soon as I can and in 2 or 3 videos

    • @riaangrobler3447
      @riaangrobler3447 Месяц назад

      @@homeautomatorza BUT its a LONG WAIT!! :)

    • @homeautomatorza
      @homeautomatorza 27 дней назад

      Yeah, I lost my voice last week after being out for a week. It all ready to be recorded, I just need audio! Stupid I know.

  • @citricguy
    @citricguy Месяц назад

    Thank you. I'm just getting started and this was a fantastic introduction.

  • @jpereiraca
    @jpereiraca Месяц назад

    900th subscriber!

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

    I have watched a ton of tutorials on youtube and you go the extra mile to explain why versus just showing what to do. I look forward to subscribing to your channel

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

    Pascal, Thanks so much for sharing this......, I saw the error and was start troubleshooting the breaking change page.... you saved me a lot of time. Awesome Video Update !! Please keep doing this type of videos it is so helpful THANK YOU

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

    Thanks for the heads up, saved me some time.

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

    Pascal, thanks for the update and the fix. I upgraded esphome to 2024.6.1, made the changes to my file and all is good. Thank you very much, sir.

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

    Breaking change?

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

      I wanted to put this out so quickly I made a mistake and saw it when it was baked into the video and released, I left it

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

    Great update. This could have easily surprised some folks.

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

      It surprised me, I should read the documentation more often. 😉

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

    Pascal, Are there 3D STL files available for the tray system you are using for your proto boards? Great stream. Sorry I missed it. It looks like you are heading in a great direction, sir. Joe

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

      Hi Joe, Sorry I missed you, watch out for the next one. And thank you, as for the direction, I feel it's a team effort and I want to keep it that way. Here are the 2 links for the breadboards and the base Breadboard: www.printables.com/model/248418-gridfinity-breadboard-holders Baseplate: www.printables.com/model/368481-dovetail-gridfinity-anchor-magnet-cleatanchor-v2 (These are the ones I am moving to) Jumper: www.printables.com/model/428684-gridfinity-adjustable-jumper-wire-comb-higher-dens Part tray: www.printables.com/model/449317-v31-gridfinity-bigsmall-parts-project-tray-w-1x1-s Small tray: www.printables.com/model/449770-short-gridfinity-tray Maybe I should add a page with the on my git hub page. --Pascal

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

      @@homeautomatorza Thank you Pascal, for the links. That would be a good addition to your Github page, I think.

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

    cool video covered lots of info looking forward to see how you use the screens I'm in Australia by the way

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

      Two more tutorials in this series and I'll start with the 16x2 LCD I showed and move from there. Those tutorials are going to be more advanced though, all in preparation for the Advenced series on building a usefull Weather Station, so you can expect to see that in our Spring latest.