Total Daily Energy, components/sensor/total_daily_energy, sigma.svg
MY9231/MY9291 LED driver, components/my9231, my9231.svg
It's time for another release of esphomelib: 1.9.0. This release is quite different from the last one,
it doesn't focus that much on new integrations with a "modest" amount of 7 new integrations. No, most of the
development has been focused on improving the core architecture and making the esphomelib ecosystem easier to use.
Because that's my main goal of this project: Providing a great user-experience so that you can focus on building
awesome things with DIY hardware!
The features I'm particularly excited about are:
*:ref:`esphomeflasher <esphomeflasher>` - Experiencing problems flashing esphomelib firmwares using esphomeyaml?
No problem, esphomeflasher is a tool designed to make that super easy. Just let esphomeyaml generate the binary and flash
from your PC.
*:doc:`Over-the-Air Updates </esphomeyaml/components/ota>` have been completely re-written to make them a lot more
stable.
* A lot of work has been put in to provide more context in YAML validation errors. Sometimes, esphomeyaml will even
try to give you suggestions for how to fix a validation error!
* A new release cycle: esphomeyaml now also has a :ref:`beta release channel <faq-beta>` kind of like Home Assistant. This helps to
iron out the most important bugs before each stable release
* And of course, lots of stability improvements and bug fixes :)
Thank you very much to everybody who contributed to this release with new code or by
:ref:`reporting bugs <faq-bug_report>`!
New Components
--------------
- There's a new base component called :doc:`text sensors </esphomeyaml/components/text_sensor/index>` for using
text-based inputs, not just numbers like the generic :doc:`sensors </esphomeyaml/components/sensor/index>` did
(:yamlpr:`166`, :docspr:`52`)
- The new MQTT Subscribe Sensors allow you to get external data into esphomelib's ecosystem via MQTT
(:libpr:`193`, :yamlpr:`175`, :docspr:`50`)
- Added :doc:`CSE7766 Power Sensor </esphomeyaml/components/sensor/cse7766>` to support power measurements
on the Sonoff Pow R2 (:libpr:`277`, :yamlpr:`190`, :docspr:`59`)
- Thanks to :ghuser:`puuu`, the LED driver in the Sonoff B1 (MY9231) is now supported!
(:libpr:`266`, :yamlpr:`227`, :docspr:`80`)
- Added the :doc:`PMSX003 Particulate Matter Sensor </esphomeyaml/components/sensor/pmsx003>`
(:libpr:`229`, :yamlpr:`192`, :docspr:`58`)
- Added support for :doc:`A4988 Stepper Motors </esphomeyaml/components/stepper/index>` (:libpr:`239`,
:yamlpr:`206`, :docspr:`68`)
- Added :doc:`total daily energy sensor </esphomeyaml/components/sensor/total_daily_energy>` to accumulate the total
power usage over one day (:libpr:`256`, :yamlpr:`220`)
New Features
------------
- Compiling for ESP32s is now possible on RPis 🎉
- esphomelib now has a new tool: `esphomeflasher <https://github.com/OttoWinter/esphomeflasher>`__ to simplify
flashing on Windows/MacOS machines **without having to install esphomeyaml**. So if esphomeyaml for some reason
can't find your USB port, you now can use the esphomeflasher app. See :ref:`esphomeflasher`.
- ESP8266s now save the states of lights/switches/... internally and restores them on boot.
Additionally, esphomelib can now operate in fully offline mode if your WiFi network goes down
or the MQTT broker is unreachable, see :ref:`automation-networkless`
(:libpr:`258`, :libpr:`267`, :yamlpr:`229`)
- The :doc:`Over-the-Air Update </esphomeyaml/components/ota>` process was quite buggy sometimes and the Arduino-library
esphomelib used was doing some weird stuff. The OTA-process has now been completely re-written to be more stable
(:libpr:`204`, :yamlpr:`177`).
- Add support for the Home Assistant device registry. If you're using `Home Assistant 0.81.0 <https://www.home-assistant.io/blog/2018/10/26/release-81/>`__
or higher you will see a list of all components for each esphomelib node in the integrations screen
(:libpr:`233`).
- The current esphomelib version and compilation time are now printed on each boot
(:libpr:`189`, :yamlpr:`159`):
..code-block:: text
[13:57:33][I][application:092]: You're running esphomelib v1.9.0 compiled on Nov 3 2018, 13:55:11
- Stack traces in the USB logs are now automatically decoded to make debugging easier
(:yamlpr:`214`)
- Added :ref:`mqtt-on_json_message` and :ref:`mqtt-publish_json_action` to make using JSON for MQTT payloads easier
(:libpr:`230`, :yamlpr:`193`, :docspr:`60`)
- The remote (IR) components have received support for Samsung's IR protocol
(:yamlpr:`176`, :docspr:`48`)
- Added :ref:`component-update_action`, :ref:`logger-log_action` and :ref:`script-execute_action` for simplifying