How to use ESPHome without Home Assistant

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 42

  • @jsnork3994
    @jsnork3994 2 ปีที่แล้ว +7

    Thank you so much. I was so frustrated using HomeAssistant with ESPHome-AddOn. I seriously thought about quitting that nightmare. Now, with that solution, it's way easier to integrate and to use my ESPs. Great!!!!!

  • @ChunkySteveo
    @ChunkySteveo ปีที่แล้ว +4

    Very handy tutorial thanks - I use a RPi 3B+ for my Home Assistant, and more and more ESPHome devices are failing to compile on that device now with the limited 1GB of RAM. Compiling the device and deploying using my Windows PC is now a breeze! Thanks!

  • @victorcoimbra8507
    @victorcoimbra8507 2 ปีที่แล้ว +1

    Thankyou very much for your video!! I've wasted a lot of time triying to compilate in Hassio without success due a compilation problems... So many thanks!! Indeed in this way is more easier for me. Like + Suscribed.

  • @trevorwatson5754
    @trevorwatson5754 2 ปีที่แล้ว +2

    Thanks for sharing your knowledge. Very helpful for my project.

  • @MohammedAlshehri-o6t
    @MohammedAlshehri-o6t 3 ปีที่แล้ว +2

    That's what I've been looking for a long time
    Thank you very much

  • @stromcontainer
    @stromcontainer ปีที่แล้ว

    Thank you very much for this Video. I'm i the same situation - I do not like HA (and Tasmota) - so this video answered many questions about ESPHome. I am working with ESPEasy and Node Red since years, so might be, that ESPHome is anther step forward.

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว

      Yes, I am in exactly the same situation.

  • @erichertsens
    @erichertsens 8 หลายเดือนก่อน

    Thanks, just what i was looking for

  • @mirceadomsa
    @mirceadomsa ปีที่แล้ว

    Hello,
    I am in trouble with one device.I lost data for Homeassistant, and try to "reasamble".
    When I try to add the ESPHome node to Homeassistant, ask me:
    "enter the encryption key you set in your configuration for ".
    I don't set any code in contor.yaml. I don't have original yalm file, but I have contor.bin. Can I recover from .bin the yaml file???
    I try to reload contor.bin, but same, ask for key...

  • @recom273
    @recom273 2 หลายเดือนก่อน

    this is a good walkthrough .. have you tried to get the esphome dashboard working?

    • @csongorvarga
      @csongorvarga  2 หลายเดือนก่อน

      @recom273 what dashboard? Are you talking about the web server feature running on the esp?

  • @stefanb1602
    @stefanb1602 2 ปีที่แล้ว

    do you have more information about this? I really like to drop HA but I got stuck with custom sensor platforms where I need to include custom.h files aswell as libraries with the esphome: section of the yaml. It works up to the point where compiling resuls in "could not find the packe with ..... requirements for your system 'windows_amd64'.

  • @joeking5211
    @joeking5211 5 หลายเดือนก่อน

    Great vid, the first I have found to not use it under that total NIGHTMARE of the obfuscated cryptic mess of Home Assistant. Like you Node-Red just works. EVERY other vid I see ESPHome is 'connected' to HA which is why for a very long time I have dismissed it thinking it was part of HA and not a separate item, and I guess there are zillions worldwide that possibly still think the same like I did, so a shout out to you and this vid for clearing this up for all those ignoring this due to the mess of a connection with HA. King Rgds. PS I also picked up on using Sublime as the yaml editor, do you have tips on setting that up for a edit/compile/download cycle. Up to now I use a a few batch files in the project dir that work well but a Sublime integration would really make ESPHome shine. Thks Again.

    • @csongorvarga
      @csongorvarga  5 หลายเดือนก่อน

      That is a good idea. I had a quick look at the Sublime build systems. Looks promising, but I would not be able to control the port. That changes so I cannot really hardcode the port selection when defining a build system. Maybe it would be possible with some code, but that is a but much for me. Or would need more time to investigate.

    • @joeking5211
      @joeking5211 5 หลายเดือนก่อน

      @@csongorvarga
      HI Csongor, due to your vid I am having a play with ESPHome, I like you have been a very longtime user of Tasmota but with the device support of ESPHome thought I may try and add it to the toolkit. Since leaving the first msg here, I have had a play with Sublime config as Visual Studio Code for me is a total mess, I just don't see the attraction, but who am I. So in Sublime I have created a 'ESPHome.sublime-build' file, just a plain text file with the contents of:
      {
      "shell_cmd": "esphome $file_name",
      "file_regex": "^(.*?):([0-9]*):?([0-9]*)",
      "working_dir": "$file_path",
      "selector": "source.yaml",
      "variants": [
      {
      "name": "Verify",
      "shell_cmd": "esphome config $file_name"
      },
      {
      "name": "Compile",
      "shell_cmd": "esphome compile $file_name"
      },
      {
      "name": "Run Batch Download",
      "shell_cmd": "start cmd /c \"run.bat\"",
      "working_dir": "$file_path"
      },
      ]
      }
      and if you put it in your Sublime installation at: 'Sublime\Data\Packages\User' and then type Ctrl-Sh-B it should give you a dropdown list to select one of the 3 "variants" in the file. I guess from the text you can see that it runs the current .yaml file in the folder you are in, so nothing cleaver here, I always use a folder per project so the only .yaml file that will be in there is the file so it loads whatever that file is named but it shows the results of the Verify ( config ) and Compile in the Sublime console which opens at the bottom of the editor, ESC closes the console. Now the 3rd entry for Run is still a Work in Progress and my version is to run a batch file totally separately, but with the convenience to run from within Sublime, and the reason is that if you make the Run as per the Verify or Compile ie "shell_cmd": "esphome run $file_name", this works fine but at the end you need to answer the 1, 2 question 1> Download by USB and 2> Download by Wifi, and the issue to overcome is being able to enter that 1 or 2 key from withing the Sublime console.
      But what do we do 95% of the time but the Verify / Compile loop, and this makes it really quick and easy to do that with Ctrl-Sh-B or just Ctrl-B for the last used variant. Have a play and I am sure you will make it a whole lot better than my 1st entry into both ESPHome and Sublime. Hope it helps as your vid helped me stay with ESPHome as all the other vids I pulled up use that ***** HA cryptic may see your device may not see your device, oh there it is, now it's not.. Node-Red Rocks. so Kind Rgds.

  • @RFDarter
    @RFDarter 10 หลายเดือนก่อน

    if i type ion esphome in cmd it does not work...

  • @arnoldbencz6886
    @arnoldbencz6886 3 ปีที่แล้ว +2

    Szuper video!

  • @BleughBleugh
    @BleughBleugh ปีที่แล้ว

    Thankyou for this video...helped me out quite a lot...

  • @imartias
    @imartias 10 หลายเดือนก่อน +1

    To update using name instead od ip you have to setup mdns in your yaml file

    • @csongorvarga
      @csongorvarga  10 หลายเดือนก่อน

      Oh thanks

    • @joeking5211
      @joeking5211 9 หลายเดือนก่อน

      So, would be good to know just to do this then. thks.

  • @pp8playz92
    @pp8playz92 ปีที่แล้ว

    Hi! I have done all exactly as you in video, but my esphome wizard created test.yaml.json file which is totaly diferent format than yaml. Do you know why? Did I missed some configuration point? Esphome version 2023.4.4, python 3.11.2

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว

      Sorry, I have no idea. I did not use ESPHome much since this video.

    • @ChunkySteveo
      @ChunkySteveo ปีที่แล้ว +1

      There will be a test.yaml file in the same folder as your terminal was in to compile it - I thought the same, but it was there, just had to look in the root folder.

  • @amadeussorro797
    @amadeussorro797 2 ปีที่แล้ว +1

    Thank you for this helpfull video

  • @lostacolyte
    @lostacolyte 5 หลายเดือนก่อน

    I think i been at this for 6 hours and still cant get this working. is this application possible with esp32 and bluetooth? I been trying to get the mttq server to send a string to the esp32 to say "activate switch the bot" but by doing so in command prompt. Its so hard to find info on this thats not relating to home assistant.

    • @csongorvarga
      @csongorvarga  5 หลายเดือนก่อน

      I did not do much bluetooth with ESPHome, but I don't think it is very versatile. At most it can read some common bluetooth sensors, buttons. When you say "say "activate switch the bot"" you mean as audio to a connected speaker? I don't think it is able to do anything like that.

    • @lostacolyte
      @lostacolyte 5 หลายเดือนก่อน +1

      @@csongorvarga I got it working. I needed fresh mind on it. When I said activate switch bot, i meant send instructions or a ping if you will to activate it. People managed to get it done with the switch bot curtains, but i was doign the application with the basic switch bot. Your vid help layout the process. Many thanks

    • @csongorvarga
      @csongorvarga  5 หลายเดือนก่อน

      @@lostacolyte Iam glad it worked after all.

  • @qwarlock4126
    @qwarlock4126 8 หลายเดือนก่อน +1

    I think if you install avahi or I think in windows it is zeroconf you will see the device.local pop up

  • @jasonstation
    @jasonstation ปีที่แล้ว

    Typed pip (etc) and nothing happens.

  • @JamesMyatt1
    @JamesMyatt1 3 ปีที่แล้ว +1

    I have the same mDNS issue (it's probably a Windows one) so I also fallback to IP address.
    Also I have trouble with esphome 2021.9.0 on Windows but 2021.8.2 is fine or running esphome in a vscode dev container also works.

    • @csongorvarga
      @csongorvarga  3 ปีที่แล้ว

      I may look into this mDNS problem, but it is not a showstopper to be honest.

    • @jeff280
      @jeff280 2 ปีที่แล้ว +1

      @@csongorvarga in your yaml under wifi use `use_address:` key with your ip of the device for the value

  • @caswellndlhovu8990
    @caswellndlhovu8990 ปีที่แล้ว

    What's the reason for leaving HA?

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว +2

      I never used it. Most of the things I do are more complicated than what I could do in HA, so I just do everything in Node-Red. For me HA is an unnecessary overhead.

    • @rasbe6863
      @rasbe6863 ปีที่แล้ว +1

      ​@@csongorvargaI've gotten to the point where my home assistant just sits there and reports states. With node red and it's versatility everything in my house runs through. No red. Home Assistant just sits there and sees all the things that happens. Mostly cuz I've seen how you do it. That's why I do it that way

  • @danpadure
    @danpadure ปีที่แล้ว

    where are the example yamls?

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว +1

      I have separate videos on the actual projects (with links), but new I added the link to this video as well. Check the video description.

  • @BleughBleugh
    @BleughBleugh ปีที่แล้ว

    Thanks