Coder Social home page Coder Social logo

esphome-lctech-4chanel-modules's Introduction

Abstract

ESPHome configuration to drive LC-Technology relay modules. Tested on a 12V 4 channel version with nuvoton MCU. See detailed writeup of this project in my blog:

https://ncrmnt.org/?p=3333

Running & flashing

esphome xxx.yaml run

Configs

This repository contains 2 sample configs

  • gatekeeper.yaml

A config I used to drive Nice Flor-S remote control buttons.

  • relay-simple.yaml

A config that just exposes all relays for your fun.

  • relay.yaml

Same as the above, but with LEDs and buttons. Needs alternative nuvoton firmware

nuvoton firmware.

Stock firmware only supports relay control. I've also created an alternative firmware for nuvoton MCU that exposes three LEDs with PWM (RGB) and reports button states. You'll need nuvoton's ISP and a Windows box (or a VM) to flash it. I used linux to develop the firmware and a windows box to flash it.

Just grab the firmware.hex from here: https://github.com/nekromant/lctech-relay-altfw

Legal stuff

Copyright © 2019 Andrew 'Necromant' Andrianov [email protected] This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.

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.