Esphomelib - A comprehensive solution for using ESPs with Home Assistant

Thank’s, I’m gonna try my luck at discord. I’m not any good with coding, I’m only good with copying the code :grin:.
I hope someown is gonna figure it out sooner or later :wink:

That’s funny I came to this thread looking for an example of a fire/candle effect for FastLED as well… will have to see if I can find some code that can be adapted. Thanks for the examples @lmamakos

I didn’t see this posted yet but I have been printing these amazing modular cases for my esphomeyaml devices:

The creator was nice enough to include the source file so it is easy to adapt to other sensors. I am working on a new base to fit a Wemos D1 Mini.

I have the same issue: any idea how to solve this?

I don’t know why it initially happens but to solve it you need to go to your integrations section and delete one copy of the integrated entities for ESPHome you’ll find there. Then restart. They should all come back up OK after that with no more errors.

confirmed this solved the issue

Cool case. Thanks for that.

I’ve just tried to install the add-on (Home Assistant 0.91.1 / Intel CPU )

But the after adding the URL the add-on is not visible. The following error is in the system log:

    19-04-07 17:16:14 INFO (MainThread) [hassio.addons.git] Clone add-on repository
19-04-07 17:16:15 ERROR (MainThread) [hassio.addons.git] Can't clone repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 --recursive --shallow-submodules -v /data/addons/git/4144ebc6
  stderr: 'Cloning into '/data/addons/git/4144ebc6'...
fatal: could not read Username for '': No such device or address
19-04-07 17:16:15 ERROR (MainThread) [hassio.addons] Can't load from repository
19-04-07 17:16:15 INFO (MainThread) [hassio.addons] Load add-ons: 57 all - 0 new - 0 remove
19-04-07 17:17:00 INFO (MainThread) [hassio.addons.git] Clone add-on repository
19-04-07 17:17:03 ERROR (MainThread) [hassio.utils.json] Can't read json from /data/addons/git/7bce6681/repository.json: [Errno 2] No such file or directory: '/data/addons/git/7bce6681/repository.json'
19-04-07 17:17:03 WARNING (MainThread) [] Can't read repository information from /data/addons/git/7bce6681/repository.json

Has anyone seen this issue before ? I tried to google it but couldn’t find anything usefull.
Internet connection is working. Just updated a few other components so that is working also.

It seems the main problem is the missing “repository.json” file.

-edit 2-

Seems like I’ve been using the wrong link (see log). Correct link :

Does anyone know if the latest version of ESPHome works with the HC-SR04 Ultrasonic sensor? I heard that they didn’t work on v1.12.1.

I want to verify they now work on v1.12.2.

Not sure about that model but I have 2 of these:

and they work fine with v1.12.2

I can’t quite tell if this is in 1.12.2, but there is an option to use the fix-ultrasonic branch, see and

I have one I have been meaning to try, but this weekend is looking busy with real life.

Yes solved in 1.12.2


Thanks for the info, guys (/gals? :wink:)

@lmamakos, thank you for the fantastic example. It seems that @OttoWinter has made some major changes to the fastled_lambda function and it is now named addressable_lambda. I am no longer able to use many of the fastled functions such as fadeToBlackBy.

By any chance have you found a way to modified your example to work with the current version (1.13.5) of ESPHome?

I’ve not tried to rebuild that configuration for my ping-pong-ball-tower lamp since the newer release since it’s been working and I’ve been spending time elsewhere. I would imagine that I wouldn’t be too hard to convert, but I’m not sure when I’ll get around to taking a look at that.

There were some other effects that I was thinking of adding, adapted from some FastLED code I had seen elsewhere. That will probably be the thing that pushes me to look at it…


Is there somewhere A Manuel drom begin to the end of installing EspHome on A RP running hassbian and homeassistant (not !) ?
I really don’t get it werking becourse of pip2 (no good Manual how exactly to install before esphome)

Thanks, but I did see this one (a lot). I don’t read anywhere what to do when running Hassbian (on python 3.x).
It has to be installed with pip2, no idea how to do that.

I just use docker, works a treat.

1 Like

docker definitely makes your life easier. I was running hass on docker in ubuntu before switching over to hassio on ubuntu. I still run about 15 webapps on my media server in docker. Everything just simply works and there are no conflicts with anything else. Docker is beautiful. lol

1 Like

You needn’t do anything to home assistant to install ESPHome, other than configure the component is you don’t want to use MQTT as the intergration means. I just use emacs, run the ESPHome command at the Shell to build and deploy firmware images. I don’t have the fancy add-on in the sidebar to manage my devices, but since I’m not running, I don’t have the other specific add-ons there, either.

If you’re using home assistant in a pipenv, you’re probably familiar with the shell.