thehookup / Motorized_MQTT_Blinds

Motorized_MQTT_Blinds
299 stars 75 forks source link

Esphome #75

Open timknowlden opened 1 year ago

timknowlden commented 1 year ago

Has anybody used this hardware and schematic with esphome as the software? I've got all the hardware and printing a mount but I would like to integrate using esphome and home assistant preferably.

abnormalend commented 1 year ago

This was my plan, though I'm waiting on my hardware to come so I haven't started yet. I'll publish my esphome code if I get it working.

timknowlden commented 1 year ago

This was my plan, though I'm waiting on my hardware to come so I haven't started yet. I'll publish my esphome code if I get it working.

I built these up with listed components, it turns out though that sadly the drivers are not supported by esphome

UhtredTheBold commented 11 months ago

I'm a bit late to this party but I'm automating my blinds and so far I've been testing different drivers on my bench. I would also prefer to use esphome, so I've invested some time here.

I've successfully got esphome working with the tmc2008 drivers and 28byj 48 (and 12v bipolar mod) steppers using the standard A4988 component. The only code changes I had to make were inverting the sleep pin and increasing the range of the min/max range considerably.

I haven't mounted everything in my blinds yet but I hope to do a full test next week. They have the advantage of being really quiet in comparison to the DRV8825.

I can post more info if there's any interest.

koverly commented 11 months ago

I can post more info if there's any interest.

@UhtredTheBold - I'm looking at ordering the hardware to build this as well and am very interested in any info you have to share. And did you mean the tmc2208 trinamic driver? I couldn't find a tmc2008 stepper driver.

koverly commented 11 months ago

I did stumble on this older reddit post that had ESPHome code that could be used as a reference. https://www.reddit.com/r/homeassistant/comments/lw68lu/i_remade_the_hook_ups_motorized_blinds_with/

UhtredTheBold commented 11 months ago

That's gold, good find. I do wonder if esphome should rename the a4988 component to generic_stepper, or something like that, because it works on at least 3 different stepper drivers.

koverly commented 10 months ago

I have the parts now and am starting to experiment. I'll post what I find

tronikos commented 5 months ago

https://github.com/tronikos/esphome-blinds