Giter VIP home page Giter VIP logo

esphome-config's Introduction

ESPHome-Config

ESPHome configuration.

Usage

  • Run ESPHome in Docker container.
  • Sync Git repository in ESPHome config folder.
    • cd /data/appdata/esphome/config
    • git pull https://github.com/ptr727/ESPHome-Config .
  • Deploy secrets.yaml.
  • Use VSCode and open remote SSH folder.

Device Templates

TuyaConvert

  • Generic bootstrap template used when converting Tuya devices to ESPHome using TuyaConvert.
  • See blog post for firmware conversion details.

Ayococr X5P WiFi Plug

EFUN SH331 WiFi Power Monitoring Plug

  • Template for the EFUN SH331W US 120V AC WiFi power monitoring wall plug.
  • See blog post for firmware conversion details.

Sonoff TH10/TH16 WiFi Relay

Sonoff S31 WiFi Power Monitoring Plug

  • Template for the Sonoff S31 US 120V AC WiFi power monitoring wall plug.
  • Follow the Tasmota guide for flashing instructions, but use the ESPHome firmware.

Notes

Renaming a Device

  • Rename HA entities:
    • Stop HA container using docker stop home-assistant.
    • Reset config permissions:
      • sudo chown -R nobody:users /data/appdata/home-assistant/config
      • sudo chmod -R u=rwx,g=rwx+s,o=rx /data/appdata/home-assistant/config
    • Edit core.config_entries and rename title and host.
    • Edit core.device_registry and rename name.
    • Edit core.entity_registry and rename unique_id and original_name.
  • Set new ESPHome device name:
    • Set use_address in wifi config, see notes.
    • Update firmware.
    • Delete or uncomment use_address.
    • Update firmware.
  • Restart HA container using docker start home-assistant.
  • Troubleshooting:
    • Look at ESPHome integration entities, fix incorrect entries.
    • E.g. search for entities named foo_2, delete foo, and rename foo_2 to foo.
    • E.g. replace short entity names with fully qualified names.

esphome-config's People

Contributors

ptr727 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.