Code Monkey home page Code Monkey logo

home_automation's Introduction

Setup

Hardware

Local Pi address: 192.168.1.13 Local Home Assistant address: 192.168.1.13:8123 Local Octoprint address: 192.168.1.13:5000

On laptop

On router

Statically reserve 192.168.1.13 for the Pi.

On raspberry pi

Adding a new smart plug

  • Connect to the tasmota wifi. If the tasmota wifi isn't appearing:
    • It's possible the specific power outlet isn't playing well with the plug, for whatever reason. Try another outlet.
    • It's possible the plug was already configured to the home network. Visit http://192.168.1.1/ and look among "Attached Devices" for devices similar to TASMOTA-XXX-YYY.
  • Provide the home network wifi credentials
  • Provide a new hostname (Configuration > Configure Other > Device Name + Friendly Name)
  • Provide the 192.168.1.13 host to the MQTT Tasmota settings (Configuration > Configure MQTT)
    • Port is 1883
  • Add toggle in Home Assistant

Adding a new IR command

  • Hook up the base of NPN transistor to pin 22, with the transistor in series with an IR LED and a 330 ohm resistor.
  • Hook up an IR receiver module to pin 22, 3.3V and GND.
  • cd esphome
  • esphome run remotecontrol.yaml
  • Watch the serial output and record the values in remotecontrol.yaml under a new button
  • Run esphome run remotecontrol.yaml again to deploy the changes

home_automation's People

Contributors

dlakata avatar

Watchers

 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.