1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-06 02:40:56 +01:00
Go to file
Brandon Davidson 1b8d242505 Enable use of alternate hardware UARTs for logging (#427)
* Enable use of alternate hardware UARTs for logging

Enable use of Serial1 on ESP8266 and Serial1/Serial2 on ESP32 for logging.
This is frequently done on ESP8266 to allow use of Serial for UART TX+RX,
while maintaining logging output on Serial1 which is TX-only via GPIO2.

* ESPHOMELIB_UART -> UART_SELECTION_UART; HW_UART -> HARDWARE_UART

* Add test3 to travis; remove test4

* Set DEBUG_ESP_PORT based on logger UART setting
2019-02-13 11:20:22 +01:00
.github Add native ESPHome API (#265) 2018-12-18 19:31:43 +01:00
docker Add local mDNS responder for .local (#386) 2019-02-10 16:57:34 +01:00
esphomeyaml Enable use of alternate hardware UARTs for logging (#427) 2019-02-13 11:20:22 +01:00
esphomeyaml-beta Revert "Enable aarch64" 2019-01-22 21:34:45 +01:00
esphomeyaml-edge Add local mDNS responder for .local (#386) 2019-02-10 16:57:34 +01:00
tests Enable use of alternate hardware UARTs for logging (#427) 2019-02-13 11:20:22 +01:00
.dockerignore Fix docker build 2018-09-25 10:30:45 +02:00
.gitignore [Huge] Util Refactor, Dashboard Improvements, Hass.io Auth API, Better Validation Errors, Conditions, Custom Platforms, Substitutions (#234) 2018-12-05 21:22:06 +01:00
.gitlab-ci.yml Upgrade HassIO Ubuntu Base to 2.2.1 (#368) 2019-01-19 16:48:35 +01:00
.travis.yml Enable use of alternate hardware UARTs for logging (#427) 2019-02-13 11:20:22 +01:00
CODE_OF_CONDUCT.md Add Code of Conduct (Contributor Covenant) (#168) 2018-10-12 11:26:26 +02:00
CONTRIBUTING.md Create CONTRIBUTING.md (#169) 2018-10-12 11:26:05 +02:00
Dockerfile Fix install pillow in docker image (#338) 2019-01-15 20:13:09 +01:00
LICENSE Create LICENSE 2018-07-28 16:33:01 +02:00
MANIFEST.in Add ACE searchbox 2019-01-03 19:54:21 +01:00
pylintrc Add local mDNS responder for .local (#386) 2019-02-10 16:57:34 +01:00
README.md Fix readme broken link (#174) 2018-10-12 12:05:48 +02:00
repository.json [Huge] Util Refactor, Dashboard Improvements, Hass.io Auth API, Better Validation Errors, Conditions, Custom Platforms, Substitutions (#234) 2018-12-05 21:22:06 +01:00
requirements.txt Add local mDNS responder for .local (#386) 2019-02-10 16:57:34 +01:00
setup.cfg Add native ESPHome API (#265) 2018-12-18 19:31:43 +01:00
setup.py Add local mDNS responder for .local (#386) 2019-02-10 16:57:34 +01:00

esphomeyaml for esphomelib

Getting Started Guide: https://esphomelib.com/esphomeyaml/guides/getting_started_command_line.html

Available Components: https://esphomelib.com/esphomeyaml/index.html

esphomeyaml is the solution for your ESP8266/ESP32 projects with Home Assistant. It allows you to create custom firmwares for your microcontrollers with no programming experience required. All you need to know is the YAML configuration format which is also used by Home Assistant.

esphomeyaml will:

  • Read your configuration file and warn you about potential errors (like using the invalid pins.)
  • Create a custom C++ sketch file for you using esphomeyaml's powerful C++ generation engine.
  • Compile the sketch file for you using platformio.
  • Upload the binary to your ESP via Over the Air updates.
  • Automatically start remote logs via MQTT.

And all of that with a single command 🎉:

esphomeyaml configuration.yaml run

Features

  • No programming experience required: just edit YAML configuration files like you're used to with Home Assistant.
  • Flexible: Use esphomelib's powerful core to create custom sensors/outputs.
  • Fast and efficient: Written in C++ and keeps memory consumption to a minimum.
  • Made for Home Assistant: Almost all Home Assistant features are supported out of the box. Including RGB lights and many more.
  • Easy reproducible configuration: No need to go through a long setup process for every single node. Just copy a configuration file and run a single command.
  • Smart Over The Air Updates: esphomeyaml has OTA updates deeply integrated into the system. It even automatically enters a recovery mode if a boot loop is detected.
  • Powerful logging engine: View colorful logs and debug issues remotely.
  • Open Source
  • For me: Makes documenting esphomelib's features a lot easier.

Special Thanks

Special Thanks to the Home Assistant project. Lots of the code base of esphomeyaml is based off of Home Assistant, for example the loading and config validation code.