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:
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
Download the correct STL file for your style of tilt rod
Dont forget to cut the center trace on the stepper motor as shown in the youtube video
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
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
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
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
Ender3 3d Printer: https://amzn.to/2GcznnZ
Dupont Crimper and Connector Set: https://amzn.to/2X1Oeap