Git Product home page Git Product logo

espblinds's People

Contributors

se1exin 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

espblinds's Issues

Stepper support?

Should work with a 360° stepper, even a 270° for a lot of blinds. Make it a much smaller form factor and less complex

Hardware issue

I followed the diagram and wired everything twice but the esp8266 doesn't seem to be turning on. It turns on when connected to my laptop. I know you can't know the problem without seeing the circuit physically so what are the general issues with it?

Compiling errors

These are the errors I am getting:

Arduino: 1.8.20 Hourly Build 2021/12/20 07:33 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:**\ESPBlinds-master\ESPBlinds-master\sketch_apr11a\ESPBlinds.ino: In function 'void mqttReconnect()':
ESPBlinds:282:119: error: no matching function for call to 'PubSubClient::connect(const char [18], const char*&, const char*&, const char [30], int, bool, const char [13], bool)'
282 | if (mqttClient.connect(MQTT_CLIENT_ID, MQTT_USER, MQTT_PASSWORD, MQTT_TOPIC_STATUS, 1, true, "disconnected", false)) {
| ^
In file included from C:**\ESPBlinds-master\ESPBlinds-master\sketch_apr11a\ESPBlinds.ino:3:
C:\Users**\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:119:12: note: candidate: 'virtual boolean PubSubClient::connect(const char*)'
119 | boolean connect(const char* id);
| ^~~~~~~
C:\Users**\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:119:12: note: candidate expects 1 argument, 8 provided
C:\Users**\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:120:12: note: candidate: 'virtual boolean PubSubClient::connect(const char*, const char*, const char*)'
120 | boolean connect(const char* id, const char* user, const char* pass);
| ^~~~~~~
C:\Users**\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:120:12: note: candidate expects 3 arguments, 8 provided
C:\Users**\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:121:12: note: candidate: 'virtual boolean PubSubClient::connect(const char*, const char*, uint8_t, boolean, const char*)'
121 | boolean connect(const char* id, const char* willTopic, uint8_t willQos, boolean willRetain, const char* willMessage);
| ^~~~~~~
C:\Users**\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:121:12: note: candidate expects 5 arguments, 8 provided
C:\Users**\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:122:12: note: candidate: 'virtual boolean PubSubClient::connect(const char*, const char*, const char*, const char*, uint8_t, boolean, const char*)'
122 | boolean connect(const char* id, const char* user, const char* pass, const char* willTopic, uint8_t willQos, boolean willRetain, const char* willMessage);
| ^~~~~~~
C:\Users*\OneDrive\Documents\Arduino\libraries\ESP8266_Microgear/PubSubClient.h:122:12: note: candidate expects 7 arguments, 8 provided
exit status 1
no matching function for call to 'PubSubClient::connect(const char [18], const char*&, const char*&, const char [30], int, bool, const char [13], bool)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

MQTT error

Attempting MQTT connection...failed, rc=-2 try again in 5 seconds

newbie question

Hello,

I'm buying these electronics part and gonna try to make this work for fun project. It says I need npn transistors but I don't find them in your schematic ? Also is that possible to add a picture of the back of your breadcrumb ?

Thanks :)

Thank you!

Hi,
I just wanted to say thanks for publishing these project files. I'm relatively new to the 3D printing and Arduino world, and I used this project to learn how to build a similar device myself, with some improvements. You can find my result at https://github.com/apanteleev/autoblinds and reuse any ideas if you want to.

MQTT & homeassistant

I am sort of lost in terms on how to control my blinds motor. I have successfully setup a wifi connection between my esp8266 and MQTT connection also reports as successfull (at that's what the console reports). Now how do I actually operate the motor? I dont see esp8266 on my homeassistant dashboard.

Can't compile

when I compile with Arduino ide 1.9 I get the following errors
can you supply info on compiling the code
THANX
MITCH
If I had a son he would be a son of a Mitch

B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void setup()':
ESPBlinds:64:3: error: 'setupWifi' was not declared in this scope
64 | setupWifi();
| ^~~~~~~~~
ESPBlinds:66:26: error: 'mqttCallback' was not declared in this scope
66 | mqttClient.setCallback(mqttCallback);
| ^~~~~~~~~~~~
ESPBlinds:68:5: error: 'mqttReconnect' was not declared in this scope
68 | mqttReconnect();
| ^~~~~~~~~~~~~
ESPBlinds:71:3: error: 'mqttPublish' was not declared in this scope
71 | mqttPublish(MQTT_TOPIC_ENABLED, 0);
| ^~~~~~~~~~~
ESPBlinds:74:3: error: 'loadFromEeprom' was not declared in this scope
74 | loadFromEeprom();
| ^~~~~~~~~~~~~~
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void loop()':
ESPBlinds:96:5: error: 'mqttReconnect' was not declared in this scope
96 | mqttReconnect();
| ^~~~~~~~~~~~~
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void closeBlinds()':
ESPBlinds:104:3: error: 'mqttPublish' was not declared in this scope
104 | mqttPublish(MQTT_TOPIC_STATE, "closing");
| ^~~~~~~~~~~
ESPBlinds:105:3: error: 'setStepperDirection' was not declared in this scope; did you mean 'stepDirection'?
105 | setStepperDirection(DIRECTION_CLOSE);
| ^~~~~~~~~~~~~~~~~~~
| stepDirection
ESPBlinds:106:3: error: 'setStepperMode' was not declared in this scope
106 | setStepperMode(MODE_CLOSE);
| ^~~~~~~~~~~~~~
ESPBlinds:107:3: error: 'stepFor' was not declared in this scope; did you mean 'stepper'?
107 | stepFor(STEPS_VERTICAL);
| ^~~~~~~
| stepper
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void openBlinds()':
ESPBlinds:114:3: error: 'mqttPublish' was not declared in this scope
114 | mqttPublish(MQTT_TOPIC_STATE, "opening");
| ^~~~~~~~~~~
ESPBlinds:115:3: error: 'setStepperDirection' was not declared in this scope; did you mean 'stepDirection'?
115 | setStepperDirection(DIRECTION_OPEN);
| ^~~~~~~~~~~~~~~~~~~
| stepDirection
ESPBlinds:116:3: error: 'setStepperMode' was not declared in this scope
116 | setStepperMode(MODE_OPEN);
| ^~~~~~~~~~~~~~
ESPBlinds:117:3: error: 'stepFor' was not declared in this scope; did you mean 'stepper'?
117 | stepFor(STEPS_VERTICAL);
| ^~~~~~~
| stepper
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void stepFor(int)':
ESPBlinds:127:3: error: 'setStepperEnabled' was not declared in this scope; did you mean 'stepperEnabled'?
127 | setStepperEnabled(true);
| ^~~~~~~~~~~~~~~~~
| stepperEnabled
ESPBlinds:152:9: error: 'mqttPublish' was not declared in this scope
152 | mqttPublish(MQTT_TOPIC_STEPS, currentStep);
| ^~~~~~~~~~~
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void setStepperMode(int)':
ESPBlinds:163:3: error: 'mqttPublish' was not declared in this scope
163 | mqttPublish(MQTT_TOPIC_MODE, mode);
| ^~~~~~~~~~~
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void setStepperEnabled(bool)':
ESPBlinds:171:5: error: 'mqttPublish' was not declared in this scope
171 | mqttPublish(MQTT_TOPIC_ENABLED, 1);
| ^~~~~~~~~~~
ESPBlinds:174:5: error: 'mqttPublish' was not declared in this scope
174 | mqttPublish(MQTT_TOPIC_ENABLED, 0);
| ^~~~~~~~~~~
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void setStepperDirection(int)':
ESPBlinds:184:5: error: 'mqttPublish' was not declared in this scope
184 | mqttPublish(MQTT_TOPIC_DIRECTION, "forwards");
| ^~~~~~~~~~~
ESPBlinds:187:5: error: 'mqttPublish' was not declared in this scope
187 | mqttPublish(MQTT_TOPIC_DIRECTION, "reverse");
| ^~~~~~~~~~~
B:\Blinds\ESPBlinds\ESPBlinds.ino: In function 'void mqttCallback(char*, byte*, unsigned int)':
ESPBlinds:257:5: error: 'saveToEeprom' was not declared in this scope
257 | saveToEeprom();
| ^~~~~~~~~~~~
ESPBlinds:261:5: error: 'saveToEeprom' was not declared in this scope
261 | saveToEeprom();
| ^~~~~~~~~~~~
ESPBlinds:265:5: error: 'saveToEeprom' was not declared in this scope
265 | saveToEeprom();
| ^~~~~~~~~~~~
ESPBlinds:269:5: error: 'saveToEeprom' was not declared in this scope
269 | saveToEeprom();
| ^~~~~~~~~~~~
ESPBlinds:273:5: error: 'saveToEeprom' was not declared in this scope
273 | saveToEeprom();
| ^~~~~~~~~~~~
exit status 1
'setupWifi' was not declared in this scope
I

Thingiverse link is currently broken.

Hi, currently the thingiverse link provided in the readme is broken.
Would it be possible to get the objects included in the git repo as well for redundancy?

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.