• Stars
    star
    297
  • Rank 140,075 (Top 3 %)
  • Language
    C++
  • Created over 5 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Motorized_MQTT_Blinds

Motorized_MQTT_Blinds

I forked to add a couple of other base sizes. This is a great project to get the idea of how things work, but the contollers weren't staying connected with my HomeAssistant instance. I ultimately use the hardware from this repo with Tasmota configured in Cover mode instead. The instructions look daunting, but it takes longer to read than to set up, and it's been running rock solid for months now...

Make sure you use 2208's for noise control, otherwise you can have a rude awakening!

This repository is to accompany my Motorized_MQTT_Blinds video:

IMAGE ALT TEXT HERE

Parts List

Stepper Motors: https://amzn.to/2D5rVsF

Stepper Drivers: https://amzn.to/2OZqW1W

NodeMCU: https://amzn.to/2I89xDF

12V Power Supply: https://amzn.to/2G2ZJrf

Buck Converter: https://amzn.to/2UsQ7jA

3D Printing

Download the correct STL file for your style of tilt rod

Wiring Schematic

alt text

Dont forget to cut the center trace on the stepper motor as shown in the youtube video

File setup

Fill out the entire USER CONFIGURATION section of the code.

You should leave "STEPS_TO_CLOSE" at 12 to start with. It can be adjusted for your specific blinds

Home Assistant YAML

Replace "BlindsMCU" with your MQTT_CLIENT_ID if you changed it in the file setup

Home Assistant 2022.7.5 and Later:

mqtt:
  cover:
    - name: "BlindsKitchen"
      command_topic: "BlindsMCU/blindsCommand"
      position_topic: "BlindsMCU/positionState"
      set_position_topic: "BlindsMCU/positionCommand"
      retain: true
      payload_open: "OPEN"
      payload_close: "CLOSE"
      payload_stop: "STOP"
      position_open: 0
      position_closed: 12

Home Assistant 2022.6.5 and Earlier:

cover:
  - platform: mqtt
    name: "Motorized Blinds"
    command_topic: "BlindsMCU/blindsCommand"
    set_position_topic: "BlindsMCU/positionCommand"
    position_topic: "BlindsMCU/positionState"
    retain: true
    payload_open: "OPEN"
    payload_close: "CLOSE"
    payload_stop: "STOP"
    position_open: 0
    position_closed: 12

Optional - PCB Design for 3 blind system

Project File:

GERBER FILE:Sender Board: https://github.com/thehookup/Motorized_MQTT_Blinds/blob/master/THU_Sender_Board.zip

GERBER FILE:Receiver Board: https://github.com/thehookup/Motorized_MQTT_Blinds/blob/master/THU_Receiver_Board.zip

User Submitted PCBs

GERBER FILE: Dave Morris Quad Blind: https://github.com/thehookup/Motorized_MQTT_Blinds/blob/master/Dave_Morris_4_Blind_With_Power.zip

GERBER FILE:Joshua Garrison Single Blind: https://github.com/thehookup/Motorized_MQTT_Blinds/blob/master/Joshua_Garrison_Single_Blind.zip

Recommended Tools

Ender3 3d Printer: https://amzn.to/2GcznnZ

Dupont Crimper and Connector Set: https://amzn.to/2X1Oeap

Alexa only support available in the releases tab of this repo!

More Repositories

1

Holiday_LEDs_2.0

Tested and 100% working, this new version is easier to setup and can support 6 zones dynamically
C++
199
star
2

MQTT-Roomba-ESP01

Making an old roomba smarter using and ESP01
C++
119
star
3

Wireless_MQTT_Doorbell

A smart wireless mqtt doorbell from a cheap 433mhz doorbell.
C++
94
star
4

MQTT_Window_Sensors

Wireless MQTT Window Sensors with the ESP-01
C++
80
star
5

RGBW-Sunrise-Animation-Neopixel-

MQTT RGBW Sunrise animation with brightness and color control via MQTT
C++
73
star
6

Node-RED-Examples

Example flows to get started with Node-RED and hass.io
JavaScript
65
star
7

ESP32_Ceiling_Light

An ESP32 based ceiling light with 8 individually dimmable channels
C++
59
star
8

Holiday_LEDS

C++
50
star
9

MQTT_Motorized_Curtains

Stepper motor controlled MQTT curtains - Home Assistant Integrated
C++
47
star
10

shelly1tasmota

Shelly 1 Tasmota .bin file
C++
39
star
11

Shelly-RGBW2

A repository for Shelly RGBW2 control in Home Assistant via MQTT
37
star
12

E131-MQTT-RGBW-Lights

Control Zemismart lights and the Sonoff B1 via E131 (xlights or vixen)
C++
27
star
13

PoolMCU

Pentair and Other Pool Automation with ESP8266
C++
25
star
14

WS2812B_RGB_Classroom_Timer

Custom timer using WS2812B individually addressable LEDs
C++
20
star
15

MQTT_Motorized_Shades

MQTT Motorized Roller Shades
C++
14
star
16

MQTT_Computer_Power

Control your computer's power with a Wemos D1 Mini
C++
13
star
17

Alexa-Enabled-LED-Clock

A project to demonstrate the power of Amazon Alexa Hue emulation
C++
6
star
18

Misc

Misc. Stuff
C++
4
star
19

backups

automated hassio backups
4
star
20

Simple-Timer-Library

Simple Timer Lib
C++
3
star
21

Tesla_Model3

Home Assistant Homekit Tesla Model 3 Integration + Node-RED Flows
2
star
22

HomeSchoolTracker

Alexa Enabled Home School Tracker and Timer
C++
1
star
23

EchoIRControl

IR Control for Echo Dot Bluetooth
C++
1
star