Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code not compiling properly #2

Closed
qasimahmed565 opened this issue Mar 30, 2020 · 2 comments
Closed

Code not compiling properly #2

qasimahmed565 opened this issue Mar 30, 2020 · 2 comments

Comments

@qasimahmed565
Copy link

Hello. I'm just staring out in programming and decided to upload this firmware to a sonoff 4ch I had lying around.
the issue is that I'm unable to compile the code successfully in Arduino IDE. I have all the libraries and installed everything as you have suggested in your YouTube video but still it gives an error about the <esp8266WebServerSecureAxTLS.h> and <esp8266WebServerSecureBearSSL.h> files.
commenting out these two libraries solves the issue but I cant access the webpage created by sonoff.
I also do not have the No SPIFFS options in the board settings.
I would be extremely thankful if you can figure out the issue.

@bruxy70
Copy link
Owner

bruxy70 commented Mar 31, 2020

I have tested again, and on my PC it compiles smoothly, no errors.
I use esp8266 v 2.5.0. Can you try with this version?
Then I also use ArduinoJson: 5.13.4
There are newer versions, but this is what I used at the time I made it. And I am afraid that especially the board might not be properly supporting new versions.

@qasimahmed565
Copy link
Author

downgrading the esp8266 from 2.6.3 to 2.5.0 fixed the issue.
thanks alot!!
there is one improvement that could be made which is that if the blind is fully open or fully closed then that respective button could be disabled. For example if the blind is fully open then pressing the open button should do nothing whereas as of now it still turns on the relay for a few seconds.

other than that it is a great code offering much better features than tasmota.

@bruxy70 bruxy70 closed this as completed Apr 28, 2020
@bruxy70 bruxy70 pinned this issue Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants