Version 1.8.0

Hi everyone,

Today I have a new version of esphomelib with lots of new features and tons of time put in to present to you and I hope you’re as excited as I am to try these new things out :)

This release mainly focuses on these new features:

And if you find esphomelib great and have some of your projects using it, please do spread the word online (like Christoph Dahlen didExternal link) and/or create cookbook entries so that others can learn from your work. Of course the main objective of this website is to document esphomelib’s features, but my vision is that it also inspires others to start awesome projects ☀️

Special thanks to all the contributors for this release:

  • esphomeyaml: Add only-generate parameter to generate command to only generate the C++ code #84External link by @apeetersExternal link
  • esphomeyaml: Fix esphomeyaml logs for tls enabled mqtt brokers #118External link by @johnerikhalseExternal link
  • esphomelib: Add Samsung IR codes #141External link by @escoandExternal link
  • esphomelib: Add support for SNTP and RTC #76External link by @brandondExternal link
  • esphomelib: Run travis jobs in parallel #123External link by @lobradovExternal link
  • esphomelib: Fix typo in dallas error message #125External link by @janpieperExternal link
  • esphomelib: Fix esphomelib examples #124External link by @lobradovExternal link
  • esphomelib: Fix panic in binary_sensor template #111External link by @nunofgsExternal link
  • esphomelib: Add ESP8266 library dependency to Arduino IDE instructions #99External link by @per1234External link
  • esphomelib: Fixing I2C readings #98External link by @exxamalteExternal link
  • esphomedocs: Note added about resetting the ESP after serial upload before OTA upload #14External link by @exxamalteExternal link
  • esphomedocs: Add cookbook for dual relay cover #10External link by @aequitasExternal link

And in some more personal news, you might have noticed that I was not very active in online communications (github, discord, …) and that’s partly been due to me concentrating on other stuff (university applications, work and this year’s international olympiad of informaticsExternal link). But admittedly I must say being constantly active online is just very exhausting. As the next few weeks (or even months) will leave me with little time to due to the start of my studies, I plan on primarily focusing on GitHub communications. Plus I want to put an extra focus on reviewing PRs so that code submitters don’t have to wait for weeks.

Other notable changes Copy link to header

  • Fixed certain occasions where esphomeyaml could run into recursive dependencies

  • Fixed i2c scans not showing up via MQTT

  • Improved build times by about 60%. Now, the build time should depend on the amount of components you’re using, not the total esphomelib code base size.

  • Fixed ESP32 Touch setup mode

  • Fixed template binary sensors

  • Added the option to specify never for update_interval to never

  • Added deep_sleep.prevent and deep_sleep.enter actions

  • Fixed ESP32BLETracker surpassing the maximum code size

  • Fixed ESP32BLETracker/Beacon throwing an exception when a warning occurs.

  • Fixed FastLED effects not taking into account the light brightness

  • Fixed compatibility with Arduino core versions below 2.0.4

  • Added output.turn_on, output.turn_off and output.set_level actions.

  • Fixed the remote transmitter/receiver using the heap inefficiently on the ESP8266 (was causing reboots)

  • Fixed reliability with reading data from BME280s

  • Fixed gas resistance readings from BME680s

  • Fixed HTU21D readings only working in very verbose mode

  • Sometimes the ESP would create a WiFi hotspot even though it was not configured to do so. That should be fixed now.

  • You can now also have conditional actions. See if Action.

  • The esphomeyaml dashboard and Hass.io add-on now can be configured with a password.

  • Fixed YAML anchors not working (you can now prefix keys with . to make esphomeyaml ignore them)

  • Made Dallas and DHT temperature sensor a bit more reliable by making the code a bit more efficient and thus resolving some timing issues.

  • A heartbeat filter has been added to binary sensors.

  • The on_loop trigger has been added.

  • esphomeyaml now know about more ESP8266/ESP32 boards, so now you can use the board-specific pin names with even more board types.

  • The mqtt client has a new option shutdown_message which will be sent when the board shuts down safely.

  • In actions, instead of

    on_...:
      then:
        - switch.turn_on:
            id: my_switch

    You can now write:

    on_...:
      then:
        - switch.turn_on: my_switch

    Or even shorter:

    on_...:
      - switch.turn_on: my_switch

Breaking Changes Copy link to header

  • The core configuration has been reworked a bit to a) make using different arduino framework version easier and b) make editing your local esphomelib copy easier.
  • Light Effects now need to be manually declared in the config and will no longer show up automatically. Please see Light Effects
  • MAX6675 has been migrated to use the new SPI bus (and fixed!). Please see the docs for how to use it now.

Changes in 1.8.1 Copy link to header

  • esphomeyaml: Limit upload speed to 115200 #122External link
  • esphomeyaml: Fix docker installs using old platformio version #125External link
  • esphomedocs: Waveshare E-Paper: 1.54in display works #22External link by @fabaffExternal link

Changes in 1.8.2 Copy link to header

  • esphomedocs: Update custom sensor docs #25External link
  • esphomedocs: Fix typo in warning message #18External link by @janpieperExternal link
  • esphomedocs: Add alternative SPI pin names #24External link
  • esphomelib: Add toggle payload to MQTT switch component #152External link
  • esphomelib: Update custom sensor example #154External link
  • esphomelib: Optimize MQTT client memory consumption a bit #155External link
  • esphomelib: Fix binary sensor initial value reporting #156External link
  • esphomeyaml: Fix binary sensor heartbeat not working #130External link
  • esphomeyaml: Fix MQTT discovery enabled when discovery_retain in config #131External link
  • esphomelib: Fix binary sensor heartbeat filter #157External link
  • esphomelib: Fix SSD1306 reset order for i2c #159External link
  • esphomeyaml: Fix SSD1306 lambda #132External link
  • esphomeyaml: Enable Travis Tests #133External link
  • esphomedocs: Fix typo in display docs #26External link by @jblbExternal link
  • esphomeyaml: Auto-Update esphomelib dev version #134External link
  • esphomeyaml: Add SSD1306 64x48 display #136External link
  • esphomedocs: Typo in display docs #28External link by @yuanlExternal link
  • esphomedocs: Typo fix. #33External link by @corbanmaillouxExternal link
  • esphomelib: Fix typo “noting” #172External link by @TheJulianJESExternal link
  • esphomedocs: Added docker local USB port mapping #31External link by @ladefoged81External link
  • esphomedocs: Fixed typo #30External link by @ladefoged81External link
  • esphomedocs: Add missing (required) name to example. #29External link by @corbanmaillouxExternal link
  • esphomedocs: Add ESP32 BLE workaround docs #34External link
  • esphomelib: Apply effect after changing colors #169External link by @TheJulianJESExternal link
  • esphomelib: Add 64x48 SSD1306 Display #161External link
  • esphomedocs: Fix output link #35External link
  • esphomedocs: Fix pulse counter API typo #36External link
  • esphomedocs: Fix display docs format typo #37External link
  • esphomeyaml: Fix serial monitor opening when logger disabled #138External link
  • esphomeyaml: Add clean MQTT button to dashboard #139External link
  • esphomeyaml: Fix using unicode in lambdas #141External link
  • esphomeyaml: Bump platformio-espressif32 to 1.4.0 #142External link
  • esphomeyaml: Docker default to starting dashboard #143External link
  • esphomedocs: Improve WiFi&Manual IP docs #38External link
  • esphomedocs: Fix PN532 update_interval typo #39External link
  • esphomedocs: Fix Sonoff S20/4CH example configurations #40External link
  • esphomelib: Split FastLED header from source #175External link
  • esphomelib: Fix WiFi AP-only mode #177External link
  • esphomelib: Fix RC Switch Transmitters #178External link
  • esphomelib: Use dynamic JSON buffer #179External link
  • esphomelib: Web Server Print incoming requests #180External link
  • esphomelib: Add option to have different log level over MQTT #176External link
  • esphomelib: Fix MQTT login with anonymous credentials #182External link
  • esphomelib: WiFi: Add power save mode option #181External link
  • esphomeyaml: Fix component loader value error #149External link
  • esphomelib: Fix VectorJsonBuffer for ESP8266 (unaligned address) #183External link
  • esphomedocs: WiFi: Add power save mode option #41External link
  • esphomedocs: Add SSD1306 64x48 Display #27External link
  • esphomeyaml: WiFi: Add power save mode option #150External link

Past Changelogs Copy link to header

CURRENT