Giter VIP home page Giter VIP logo

ha-wordclock-esphome-ita's Introduction

ha-wordclock-esphome

General

This project is just for documentation purposes and our attempt (together with a friend) to build an Wordclock, which is thightly bound to homeassistant using esphome. It uses the time and fastled plattform of esphome to controll the clock.

Features:

  • Get time from HA instance
  • Controll color and brightness from ha
  • Controll status leds from ha with service calls
  • uses esphome for OTA/API
  • supports minutes LEDS

Image of final wordclock

Shopping list:

  • Mirror 30x30 (IKEA LOTS - 7.99EUR/4Pack)
  • Woodframe
  • Wood for Back and inlay
  • ESP8266
  • 125x WS2812B LEDS
  • Glue, wires and solder

Maschines needed: (All files are attached in ZIP Package)

  • Laser engraver

Installation:

  • Mount the LED Stripes to the backplate and solder them based on following layout:
     ESXISTXFÜNF    1.......11
     ZEHNZWANZIG    22......12
     DREIVIERTEL    23......33
     XXNACHVORXX    44......34
     HALBXZWÖLFX    45......55
     ZWEIXSIEBEN    ....
     XDREIXXFÜNF    ....
     ELFNEUNVIER    ....
     XACHTZEHNRS    ....
     XSECHSXXUHR    109.......101
     ICONS          110.......120
     MINUTES        124.......121

Image of final wordclock

  • Connect Ground and 5V and Data Pin of WS2812 to D5 Pin to the ESP8266
  • Copy wordclock.yaml and wordclock.h into /config/esphome directory
  • Using esphome GUI you can flash wordclock.yaml to an esp8266

Home Assistant integration:

Add the esphome to your Home Assistant instance. You should now see the Dummy Light "Wordclock", which allows you to controll the brightness and color of the Wordclock. Additionaly there is a service esphome.wordclock_setled, which allow you to set color to individual LEDS (e.g. the status icons) This Service takes: number (PIN Number of LED, see above), red (0-255), green (0-255), blue (0-255)

service: esphome.wordclock_setled
data:
  number: 115
  green: 0
  red: 255
  blue: 0

ha-wordclock-esphome-ita's People

Contributors

leinich 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.