Comments on: Automating Blinds with a Retrofitted External Motor https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/ I occasionally write about things. Usually these things are about computers. Sun, 25 Dec 2022 15:41:34 +0000 hourly 1 https://wordpress.org/?v=5.7.15 By: daniel https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-14992 Sun, 25 Dec 2022 15:41:34 +0000 https://blog.christophermullins.com/?p=650#comment-14992 src/main.cpp: In function ‘void setup()’:
src/main.cpp:581:76: error: invalid conversion from ‘esphome::globals::RestoringGlobalsComponent*’ to ‘int’ [-fpermissive]
581 | end_position = new globals::RestoringGlobalsComponent({end_position});
| ^
| |
| esphome::globals::RestoringGlobalsComponent*
In file included from src/esphome.h:24,
from src/main.cpp:3:
src/esphome/components/globals/globals_component.h:31:40: note: initializing argument 1 of ‘esphome::globals::RestoringGlobalsComponent::RestoringGlobalsComponent(T) [with T = int]’
31 | explicit RestoringGlobalsComponent(T initial_value) : value_(initial_value) {}
| ~~^~~~~~~~~~~~~
*** [/data/garage/.pioenvs/garage/src/main.cpp.o] Error 1
========================= [FAILED] Took 16.43 seconds =========================

I get this:/ and dont understand what is wrong

]]>
By: daniel https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-14991 Sun, 25 Dec 2022 15:34:08 +0000 https://blog.christophermullins.com/?p=650#comment-14991 Hello I am trying to use you code and PCB to drive a Nema 17 stepper motor. All i want is the sett a start and a stop. WHY is this so hard to understand ESPhome. 
I can get the motor to spin like 1mm that is alla:/ 

]]>
By: chris https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-13754 Wed, 28 Sep 2022 20:24:24 +0000 https://blog.christophermullins.com/?p=650#comment-13754 @Daniel, the D1 mini is connected to the ground plane on the reverse side of the board.

]]>
By: chris https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-13753 Wed, 28 Sep 2022 20:18:44 +0000 https://blog.christophermullins.com/?p=650#comment-13753 Sorry for the giga late reply here, totally missed this until now. You definitely need to use an A4988 or at least something with the same footprint and pinout.

]]>
By: daniel https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-13500 Fri, 09 Sep 2022 08:47:41 +0000 https://blog.christophermullins.com/?p=650#comment-13500 i did not get it to work… but i have study the PCB, havet test it out yet. But i cant find any Ground to the D1 mini. Or am i missing somthing?

]]>
By: #garten https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-13390 Wed, 31 Aug 2022 11:01:17 +0000 https://blog.christophermullins.com/?p=650#comment-13390 Ich bin neu im Forum und möchte mich kurz vorstellen.
Ich habe einen grossen Garten und erfreue mich jeden Augenblick darin. Zudem grilliere ich leidenschaftlich und habe so immer gute Essen vom Holzkohlegrill und kühle Getränke.

]]>
By: Olivier https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-12770 Mon, 18 Jul 2022 23:38:40 +0000 https://blog.christophermullins.com/?p=650#comment-12770 Ordered 3 pcb with all the parts.. I wasnt able to make a single motor spin 🙁  I’ll try to change the a4988 driver

]]>
By: daniel https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-12015 Sun, 22 May 2022 16:42:07 +0000 https://blog.christophermullins.com/?p=650#comment-12015 I hope this will make my life better, i order 5 PCB. i am not good at coding at all, dont even understand it.
 
but can i sett a stop on the motor?
and can i sett the speed?

]]>
By: StJohnny22 https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-8970 Sat, 02 Jan 2021 06:34:01 +0000 https://blog.christophermullins.com/?p=650#comment-8970 forgot to include the link to thingiverse stepper motor housing

]]>
By: StJohnny22 https://blog.christophermullins.com/2020/02/16/automating-blinds-with-a-retrofitted-external-motor/comment-page-1/#comment-8969 Sat, 02 Jan 2021 06:32:14 +0000 https://blog.christophermullins.com/?p=650#comment-8969 You are the man!  I recently decided to do this exact project except for using this stepper motor housing to pull the blind cords.
Man I cant thank you enough for laying out the ESPHome yaml and everything! Just ordered the parts I dont have laying around and cant believe I’m going to be able to automate my blinds for less than $10/ea. 
Thanks again mate.

]]>