Skip to content
forked from esphome/esphome

ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

License

Notifications You must be signed in to change notification settings

krahabb/esphome

 
 

Repository files navigation

ESPHome Discord Chat GitHub release

This is a (personal) fork of the awesome EspHome project. It contains a bunch of additional nodes I've developed for my own use and I'm too lazy to push to upstream repo.

In details I've added/refactored this components:

  • dallas: the original Dallas component in EspHome needs you to hard-code sensor IDs in configuration so you need to identify (by log or other means) and recompile your node when adding or changing physical sensors. My implementation allows to automatically 'discover' any new physical device attached to the relevant ESP interface line and register it in HA without knowing it in advance.
  • scs_bridge: this component talks to SCS bus (by BTicino/Legrand) devices by encoding and decoding the messages exchanged on the bus. This way you can integrate 'legacy' home automation hardware in your HA-EspHome environment and bring some HAwesomeness to this old stuff. The component work is based on the reverse engineered protocol from GuidoPic and needs some dedicated hardware in order to adapt the ESP GPIO to the bus physical layer. Actual implementation exposes basic 'hooks' in order to send/receive raw frames to/from devices and implementation for covers and switches.
  • lc_tech: this component tries to implement a robust control implementation for LC-Technologies multi channel board relays (example aliexpress item). These boards have an ESP8266 acting as a wifi bridge between your LAN and a serial controller which actually drives the relays. There are various 'sketch' implementations online and they mostly work but I've decided to pack everything in a well-defined ESPHome component in order to tidy-up the configuration and programming. Also, since the boards themselves are a bit 'lame' (but they're so cheap..in all regards!), I've implemented a logic to repeatedly send the switch state though the internal board serial since their controller often skips the serial commands (and there's no way to know if it worked or not) so I've decided to keep periodically sending the last command. Now, I can wake up in the morning and have no flooding in my lawn (yes: real life!) since I'm using one of these boards to control sprinklers. At any rate: don't buy these, cheap but not really worth it (And they consume like a SUV).

See the wiki for details and examples.

Official Repositiory: https://github.com/esphome

Official Documentation: https://esphome.io/

About

ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • C++ 69.7%
  • Python 30.0%
  • Other 0.3%