Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Releases: esphome/esphome-core

Web Server, Deep Sleep and WiFi AP mode

18 Apr 17:23
90c746f
Compare
Choose a tag to compare

Yet another version of esphomelib 🎉. This time with an awesome new feature: An integrated web server! If you have App.init_web_server(); (docs) in your application, you will now be able to use a small web server with an easy to use REST API and a nice front end.

screen shot 2018-04-18 at 17 20 13

Beware that this uses a lot of memory and sometimes doesn't work too well with ESP8266s.

This release also includes some major refactors of the base components, now you need to call App.register_sensor() instead of App.make_mqtt_sensor_for() to register a sensor, and the same for other components too.

Next, you'll now be able to be ultra-efficient about energy usage using the new deep sleep component (App.make_deep_sleep_component();, docs). Just tell it when to go into deep sleep and how long to stay in that ultra-efficient energy mode and you're good to go.

Now you also have the option to use the ESP8266/ESP32 as an WiFi Access Point or hotspot. If you use set up both station and AP mode, esphomelib will automatically disable the AP if a connection to the wifi router is successful (docs).

Additionally, the MQTT client has been rewritten with the internal TCP buffer in order to fix a whole bunch of bugs. Other changes include lots of WiFi edge case fixes, MQTT SSL support and a Debug Component.

esphomeyaml has arrived

07 Apr 09:56
e270297
Compare
Choose a tag to compare

The day has come: I just released esphomeyaml, a companion to esphomelib that makes the onboarding experience much better and has way better documentation. Check it out here: https://esphomelib.com/esphomeyaml/index.html

Version 1.2.0 - Lots of changes/features 🎉

01 Apr 20:56
3a2505a
Compare
Choose a tag to compare

Version 1.2.0 is here, and it has lots of awesome new integrations and features. Here are some of highlights:

New I²C sensors

There's lots of new i2c-based sensors supported now:

  • BMP085/BMP180 Temperature+Pressure sensors (docs)
  • HDC1080 Temperature+Humidity sensors (docs)
  • HTU21D Temperature+Humidity sensors (docs, experimental)
  • ADS1115 ADCs (docs, experimental)

Some of them are experimental, because I'm still waiting for them to arrive. If you can verify that one of them works, please notify me.

// You need to call this to initialize the i2c bus.
App.init_i2c(21, 22);

App.make_bmp085_sensor("BMP085 Temperature", "BMP085 Pressure");
App.make_htu21d_sensor("HTU21D Temperature", "HTU21D Humidity");
App.make_hdc1080_sensor("HDC1080 Temperature", "HDC1080 Humidity");
auto *ads1115 = App.make_ads1115_component(0x48);
App.make_mqtt_sensor_for(ads1115->get_sensor(ADS1115_MUX_P0_N1, ADS1115_PGA_6P144), "ADS1115 Voltage");

Documentation & Discord Chat

To make this framework even easier to use, there's now a dedicated website for documentation available at http://esphomelib.com. Currently, there's mostly only API documentation over there, but also some usage examples. My plan is to also write up some more guides like How to create a custom sensor over there.

Additionally, there's also a new discord chat available at https://discord.gg/KhAMKrd. Feel free to ask me questions there and ask for new features. I'm looking forward to it 😀

Other changes

  • The great OTA safe mode feature has been backported to the ESP8266 using some RTC memory magic 😎 (docs)
  • ESP8266 Software PWM support. Now you can create modulated PWM signals using your ESP8266 too (docs):
App.make_esp8266_pwm_output(D2);
  • New status binary sensor (docs) and restart switch (docs). These two new platforms allow you to have the connection status of your device be shown in Home Assistant, and allow you to restart the node remotely.
App.make_status_binary_sensor("Küche Status");
App.make_restart_switch("Küche Neustart");

Status/Restart integrations

  • I've forked all libraries used by esphomelib and made changes so that you as a user no longer to specify build_flags in your platform.ini. Yay for usability 🎉
  • The memory requirements have been reduced quite a bit using some advanced C++ techniques.
  • The Dallas (DS18b20) integration and the 1-Wire protocol have been completely rewritten for esphomelib in order to fix some timing issues. The Dallas temperature sensors now are a lot more stable (docs).
  • A bunch of bug fixes. Many thanks to everybody that reported issues!

Version 1.1.0 - OTA Safe mode and a bunch of refactoring

23 Mar 21:07
3d4532f
Compare
Choose a tag to compare

Another big release of esphomelib - this time with lots of refactoring (to get ready for an upcoming awesome feature, stay tuned) and bug fixing.

  • Added a guide for creating custom sensors: Creating Custom Sensor Components
  • Refactored GPIO Pins (#15) - All components now support inverted pins and pinMode() effortlessly
  • OTA Safe Mode (#18) - erroneously in previous release notes
  • esphomelib now stores the Application instance globally for you → less boilerplate code.
  • Ultrasonic sensor support, like HC-SR04 (#16)

Introducing OTA Safe Mode

Have you ever had it happen that you accidentally uploaded a faulty OTA update to your ESP device and accidentally broke the runtime so you had to get out the old USB cable? Well, with OTA Safe mode by esphomelib no more!

If you include change your init_log() line to the following:

App.init_ota()->start_safe_mode();

your ESP board will automatically detect boot loops and go into OTA update mode without running any of the Application mode for 2 minutes. So in those phases you can still upload your code via OTA and never have to use USB cables anymore 🎉🎉🎉

Other changes:

  • MQTT Sensor Filter pipeline changes (#17)
  • Cleaned up polling components (#20)
  • Callback Manager - Simpler callback managing (#21)

Version 1.0.0 - ESP8266 Support 🎉

20 Mar 18:50
b89da91
Compare
Choose a tag to compare

Lots of work went into this release, and I'm starting to work a lot on this project again. This release has a lot to offer:

  • ESP8266 support 🎉🎉🎉
  • Completely reworked logging engine - MQTT is now 42% better :)
  • Integrated ADC for both ESP32 and ESP8266
  • Pulse Counter for ESP32
  • Improved code documentation (guides for each feature will be available soon ☀️)
  • Refactored many parts of sensors
  • Created a proper Filter pipeline for sensors
  • Safe mode for OTA updates (esphomelib now tries to go in a safe mode if it detects a boot loop)
  • Fixed tons of bugs.

Hope you like it :)

Fans

24 Jan 12:12
Compare
Choose a tag to compare

Add Home Assistant Fan helpers to Application.

Add MQTT topic_prefix

24 Jan 09:25
Compare
Choose a tag to compare

This release adds a feature that allows all MQTT topics to have a certain prefix (defined by set_topic_prefix()) and adds some basic sanitization checks.

Fix platformio lib crawler

23 Jan 13:28
Compare
Choose a tag to compare
Remove export

Should fix some issues with the lib crawler

Version 0.1.2 - PlatformIO fixes

22 Jan 18:06
Compare
Choose a tag to compare

Fixes platformio manifest.

Initial release v0.1

21 Jan 18:03
Compare
Choose a tag to compare
Include travis ci build status