Coder Social home page Coder Social logo

eg321 / esp32-motorized-roller-blinds Goto Github PK

View Code? Open in Web Editor NEW
87.0 9.0 20.0 8.05 MB

Control your motorized blinds with Web interface/ MQTT. Easy integration with automation systems like Home Assistant and OpenHab. 3d printing model for Leroy Merlin blinds.

Home Page: https://www.thingiverse.com/thing:4093205

License: MIT License

C++ 100.00%
home-assistant homeassistant openhab home-automation

esp32-motorized-roller-blinds's People

Contributors

eg321 avatar nidayand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-motorized-roller-blinds's Issues

Apple HomeKit future support?

Добрый день, разработчик!
Возможно ли добавить интеграцию с Apple HomeKit ?
Ваш проект гораздо мощнее других существующих и поддержка имеется, поэтому и спрашиваю)
Спасибо!

Failed to open config file

after connecting to the ap and setting up the motor pins, saving and resetting it wont connect to my wifi.
i'm using a nodemcu v3 board and have little to no experience with platformio, but i think i know the basics.

image

General - Installation

Hi,

I'am to this esp8266 programing, I do have a question how to get to compile right, are getting some errors when I open the project in VS. are there a list of dependencies needed to be installed along ?

Best regards
Phillip

Add ADC reading to MQTT

Thanks to the author for a wonderful project !!!
Is it possible to implement ADC reading and output the result in MQTT into the project (ESP8266 pin A0)?

Different Stepper Motor

Hello. I tried to make a curtain with the motor that is written in the article, but it turned out to be too weak for my curtain. I have tried both 5 volt and 12 volt versions. I also changed power supplies, however The roller blind only went down but didn't go up. Hence the question: is it possible to connect a nema17 instead of28BYJ-48. And how to do it?

Moving from my old nidayand fork

Ive done another fork from nidayand original project and still use it about 3 years.
Now I want to change my 3pcs 8266 to one ESP32. The problem is I use 3 separate buttons for 3 blinds, long press - up, short - down for each
I want to update everything but leave 3 separate buttons on my fancy touch panel))
Your code seems complicated, may be u can provide some help or advices, how to add extra bottons and change yhe functionality.
Thanks.

v2 boot loop

Ive built and flashed v2 esp8266 version but it is stuck in a boot loop. This is the output from the esp exception decoder

Exception 28: LoadProhibited: A load referenced a page mapped with an attribute that does not permit loads
PC: 0x40220284
EXCVADDR: 0x0003aaaa

Decoding stack results

question about more than 4 stepper

Hi Egor. Thank you for the work done. If it doesn't bother you, help me with advice on how to expand this firmware to work with a little more motors. everything works great with 4 stepper motors. I haven't figured out the home assistant yet, but I hope I'll set it up somehow. Is it possible to make a connection via a pcf8574 type expander over the i2c bus, I just need a slightly larger number of steppers. How can I increase the number of motors in the interface? To be honest, I want to connect 16 steppers, and I don't want to occupy 4 esp 32 with them. But there is a necessary number of expanders. There are examples of connecting stepper motors via i2c on the network, but only for arduino, and unfortunately I didn't find anything with the esp. Thank you in advance for the answer.

Control via MQTT

Hey, unfortunately I don't understand which commands can be sent via MQTT to enable an action.
for example to lower the blinds.

Stepper Motor stuck.

Hi eg321!

I just installed your 2.0.1 Binary on a Wemos D1 Mini, but there is something wrong with the pin layout or something. IN3 and IN4 are permanently lit.

Can you perhaps provide some guidance on the pin layout in your software? I get the feeling 1 isn't 1 but perhaps meant as (e.g) GPIO5?

Thanks in advance!

folder.ino

Hello I start with Arduino and I don't understand how to add the code? I can't find a.ino file in your folder

Slow RPM when using 3 Motors

Hello,

first of all respect for this nice Code. I use it on 7 of my Windows now and it works very well so far, with one exception.

I have two double Windows, where i can use a Wemos D1 Mini to run two 28RYJ Motors. It work very well so far on the Wemos, i only use the 5V Version but when i set the RPM to max 20, it can lower and raise the blinds without Problems. The Speed is acceptable. But i have a bigger Window mit 3 Blinds on it, so i needed to use a ESP32Dev1 to use more than two Motors. When i control one Motor, it lower and raises a little bit slower then the Wemos D1. But the main Problem is, when i use all three Motors at the same time, the RPM is reduced to maybe 8-10-ish?! It goes very slow up and down. I tried to change the RPM and wiped the Settings and raised it to 40 RPM, but it does not help. The Motors always driving at the same Speed. Maybe the RPM is ignored in the Config?! But i think it has something to do with driving all three Motors at the same time. Maybe the ESP32 is to slow for that? Do you know any Solution for it or what i can try to fix it? I can accept the slow speed for the Moment, but when there is a fix to open and close them a little bit faster, i would very appreciate it.

And i have a suggestion for upcoming Version - maybe it is possible to use different RPM Speeds for Up and Down Movements? Because i recognized, the Down RPM can be much higher than the Up-Movement of the 28RYJ, especially on the 5V Version of the Motor. Because there is Tourqe on the Motor, when the blinds are lowering.

Would really love to see new Versions here, because its a nice Program, it works very nice but the configuration is a problen to wipe the complete Settings all the time.

Thank you very much and greetings from Germany,
Caliban

Different RPM Speed in Home and Settings-Screen

Hello again,

i noticed another strange behaviour in this Script. The RPM Speed is a different in the Settings Screen, where i can set the Min and Max Position for the Blind then in the Home-Screen, where i actually control the Blinds. It is in the Settings always faster then in the Home Screen, it may cause the Problem the Motor will skip steps or have not enough Torgue to lift the Blind, when not running on 12v. For example i set the RPM to 30 in the Setup Routine, it can raise and lower the Blind in the Homescreen but when i try to lower the Blind in the Settingsscreen to set max Positions, the Motor has another higher pitched Sound and it runs faster but sometimes it stops for a Second and then it moves again. This is causing the Problem the min and max Position is not correct at the End. Its just running to fast. But it seems to depent on the set RPM in the Setup. Maybe there is a Value added to the RPM Value for the Setup-Screen? It feels always like i set 30 RPM and it moves like 30+20 RPM in the Settings Screen. Or maybe 30*2.

I tried to find something in the Code that is causing that, but my knowlegde seems to be on the limit, so i don't find it.

Maybe you can give some sort of Info how to fix it or fix it in your Code? It would be much easier to setup the Blinds at higher RPM without loosing Steps.

Greetings,
Caliban

Flashing

Hi
I would like to use your code, and flash it to a Nodemcu ESP8266. But how do I do that? The wiki-page doesn't clear it up for me. I have downloaded the zip of the latest release and esperiff tool you mention, but how do I get on from here?

Looped reboots at Wemos D1 mini

Hey thanks for the answer. I tried it on platformio and i works fine. but i have a new issue that i cant solve. if is set the wifi settings in ap and restart and watch monitoring, the wemos locks like they dont connect or just reboots every time. So there is my wifi ssid then try to connect and then repeat with exception error 28, do i must need mqtt? i think no, so i dont know why it dont work. I reset the setting many times and be sure all values are correct but no success.

Originally posted by @develarts in #8 (comment)

turn motor speed (variable)

In testing, when blinds have more length 28byj can not up it.
I change variable "motor speed" to low level (10) and motor worked.
Maybe turn this variable to configuration page.

Thanks.
WBR, Igor.

connexion wifi

Hello I installed version 2.0.1 but I still have wifi connection problems when I disconnect it for a while when I connect it again it connects and disconnects as early

static ip and watchdog

Thanks for great project and freeware it :) It's realy working in my SmartHome system (mechanical part another) for three month.
Now, I have 2 suggestions for update (discussed earlier) :

  1. Abbility to assign ESP static IP address.
  2. Watchdog attached to router/ip address/server etc.

Many thanks
WBR, Igor.

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.