ESP Easy Mega
Moderators: rtenklooster, Voyager, BertB, Stuntteam
Forum rules
You have entered the experimental forum, beware!!!
You have entered the experimental forum, beware!!!
Re: ESP Easy Mega
Hello,
I tried it, loaded down the git repository and installed Arduino IDE on a newly installed computer so everything should be clean.
Added the board manager, libs etc as usual of course.
Compiling ends up in a "missing SSD1306.h" error. i can't find the header file anywhere so this message is correct.
Where can i find the file?
Regards
Shardan
Addendum:
I just tried to get atom and platformio to run on Win-7.
I can open the cloned file folder and files, that's it.
F7 just does nothing, it is not connected to any action in the settings.
Seems that it needs Python (v2? v3?) and maybe some more things on top?
Addendum2
Installed atom and git on my Server running SuSE Leapfrog , cloned the git.
Result: starting "atom ESPEasy-platformio" does nothing. Just the prompt comes back at once, that's all.
No error message, nothing in the log file.
Seems this needs some reworking.....
I tried it, loaded down the git repository and installed Arduino IDE on a newly installed computer so everything should be clean.
Added the board manager, libs etc as usual of course.
Compiling ends up in a "missing SSD1306.h" error. i can't find the header file anywhere so this message is correct.
Where can i find the file?
Regards
Shardan
Addendum:
I just tried to get atom and platformio to run on Win-7.
I can open the cloned file folder and files, that's it.
F7 just does nothing, it is not connected to any action in the settings.
Seems that it needs Python (v2? v3?) and maybe some more things on top?
Addendum2
Installed atom and git on my Server running SuSE Leapfrog , cloned the git.
Result: starting "atom ESPEasy-platformio" does nothing. Just the prompt comes back at once, that's all.
No error message, nothing in the log file.
Seems this needs some reworking.....
Regards
Shardan
Shardan
Re: ESP Easy Mega
Hello again,
meanwhile i got atom starting on my linux machine, was my fault.
But anyways..... starting "atom ESPEasy-platformio opens atom and the cloned repository.
Pressing [F7] does just nothing as with windows.
There is something missing on standard installations.
meanwhile i got atom starting on my linux machine, was my fault.
But anyways..... starting "atom ESPEasy-platformio opens atom and the cloned repository.
Pressing [F7] does just nothing as with windows.
There is something missing on standard installations.
Regards
Shardan
Shardan
Re: ESP Easy Mega
Hello again...
The description is somewhat short about some installation points:
I managed to get platformio to run with Win-7. You have to install clang (LLVM), python 2.7.x and git.
Then open atom, go to file -> settings -> install and sear for "platformio-ide", install it.
With the first run it installed the tool chain without error messages but complaioned about missing source files.
I copied the source files manually, then it complained about libraries:
"fatal: Not a git repository (or any of the parent directories): .git"
This appears on different libraries debending on the build (Mini...)
That's an issue that should be fixed as many people use windows.
At least i got it to work on one of my SuSE servers.
With SuSE you have to install clang (LLVM) which is not installed by default.
Then open atom, click edit -> preferences -> install and search for "platformio-IDE", install it.
Should be mentioned that the compiled files are under ./<home folder>/ESPEasy-Platformio/.pioenvs/<version>/firmware.bin
(version = dev, mini, normal or test).
Regards
Shardan
The description is somewhat short about some installation points:
I managed to get platformio to run with Win-7. You have to install clang (LLVM), python 2.7.x and git.
Then open atom, go to file -> settings -> install and sear for "platformio-ide", install it.
With the first run it installed the tool chain without error messages but complaioned about missing source files.
I copied the source files manually, then it complained about libraries:
"fatal: Not a git repository (or any of the parent directories): .git"
This appears on different libraries debending on the build (Mini...)
That's an issue that should be fixed as many people use windows.
At least i got it to work on one of my SuSE servers.
With SuSE you have to install clang (LLVM) which is not installed by default.
Then open atom, click edit -> preferences -> install and search for "platformio-IDE", install it.
Should be mentioned that the compiled files are under ./<home folder>/ESPEasy-Platformio/.pioenvs/<version>/firmware.bin
(version = dev, mini, normal or test).
Regards
Shardan
Regards
Shardan
Shardan
Re: ESP Easy Mega
thanks for trying and for all the info.
will try to make a nice windows howto on the wiki this weekend. tried it myself and there where a lot of little issues indeed.
(so far i used linux and had everything setup already)
will try to make a nice windows howto on the wiki this weekend. tried it myself and there where a lot of little issues indeed.
(so far i used linux and had everything setup already)
Re: ESP Easy Mega
People, i made some changes, so the released zip-file has the same layout as people where used to:
https://github.com/letscontrolit/ESPEas ... 2.0.0-dev2
This should allow people to use at least the Arduini IDE to compile the sources. (until I documented some more about the new stuff with platform io)
Please let me know how it works for you. (for now testing,dev and stable all have the same plugins, I still have to add plugin sets support to version 2)
Edwin
https://github.com/letscontrolit/ESPEas ... 2.0.0-dev2
This should allow people to use at least the Arduini IDE to compile the sources. (until I documented some more about the new stuff with platform io)
Please let me know how it works for you. (for now testing,dev and stable all have the same plugins, I still have to add plugin sets support to version 2)
Edwin
Re: ESP Easy Mega
I am testing the ESPEasy_v2.0.0-dev2_test_ version. Installing was no problem.
I hope you will give the 2560 version some attention to (the i2c part of it)
I hope you will give the 2560 version some attention to (the i2c part of it)
Re: ESP Easy Mega
i meant this side projectpsy0rz wrote:You mean the arduino mega 2560?
http://www.letscontrolit.com/wiki/index.php/ArduinoEasy
viewtopic.php?f=18&t=2234
Re: ESP Easy Mega
I didnt know about this project, and for some it can be a bit confusing: We have ESPEasy mega, which is actually for the ESP8266. (I renamed it to ESPEasy version 2 for clearance)frank wrote: i meant this side project
http://www.letscontrolit.com/wiki/index.php/ArduinoEasy
viewtopic.php?f=18&t=2234
And now it seems there is actually a port of ESPEasy for the Arduino Mega. (and it ISNT called ESPEasy Mega...wait wut?)
I dont think i have the time and interest to support that version, nor do I have practical use myself for an arduino with ethernet. It also means yet another repository to support and fix bugs on.
If someone would extend the ESPEasy code base to also support Arduino Megas (with a bunch of ifdefs), i would be interested to merge it into ESPEasy.
Offcourse its always possible someone else will continue development of EasyArduino. (please contact Martinus if you do)
Edwin
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: ESP Easy Mega
Quite right, Arduino is a little bit obsolete with esp8266nor do I have practical use myself for an arduino with ethernet.
Mega + ethernet shield cost + size cannot match the new solutions
Re: ESP Easy Mega
I was working on a howto for Windows when I realized that working with submodule is making things much more complex.
So i'm going to rearrange the files in the ESPEasy mega-branch in such a way that its compatible with platformio and then make a nice howto for it.
Releases will still be in the zip-file format that people are used to.
The Howto about installing platformio on windows is ready: http://www.letscontrolit.com/wiki/index ... Platformio
So i'm going to rearrange the files in the ESPEasy mega-branch in such a way that its compatible with platformio and then make a nice howto for it.
Releases will still be in the zip-file format that people are used to.
The Howto about installing platformio on windows is ready: http://www.letscontrolit.com/wiki/index ... Platformio
Re: ESP Easy Mega
Ok that escalated quickly into multiple howtos and a complete course 
The links to the howtos are on the bottom of this page: http://www.letscontrolit.com/wiki/index ... evelopment
It explains everything about Atom, platformio, Github and pull requests.
Please let me know if its usefull and understandable.
Edwin

The links to the howtos are on the bottom of this page: http://www.letscontrolit.com/wiki/index ... evelopment
It explains everything about Atom, platformio, Github and pull requests.
Please let me know if its usefull and understandable.
Edwin
Re: ESP Easy Mega
Wow, excellent piece of work on the documentation, very clear, now I understand these concepts that have eluded me for a long time ! Thank you!
Although I saw platformio in my research more than a year ago, I did not see a need, and as Martinus went the self-build / create route on Arduino, I did not understand the need, this probably goes for others in the community as well.
On this site: http://www.ikravets.com/computer-life/p ... ergia-ides I get a nice summary of 'why platformio'.
Anything else you could add to set our minds at ease of going platformio? I assume the build and compile process, and updating of libs are so much easier?
Last thing, what does the inclusion of platformio do to our GNU general public license? Does it influence that?
Thank you for your dedication and hard work, again !
Although I saw platformio in my research more than a year ago, I did not see a need, and as Martinus went the self-build / create route on Arduino, I did not understand the need, this probably goes for others in the community as well.
On this site: http://www.ikravets.com/computer-life/p ... ergia-ides I get a nice summary of 'why platformio'.
It thus makes sense why you are taking us to it !PlatformIO Library Manager makes it extremely simple to find, install and keep libraries up-to-date.
What is more, PlatformIO is an awesome and smart cross-platform code builder. You have no need to install any IDE or compile any tool chains. PlatformIO has pre-built different development platforms including: compiler, debugger, uploader (for embedded) and many other useful tools.
Anything else you could add to set our minds at ease of going platformio? I assume the build and compile process, and updating of libs are so much easier?
Last thing, what does the inclusion of platformio do to our GNU general public license? Does it influence that?
Thank you for your dedication and hard work, again !
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: ESP Easy Mega
Ill post more later (type on phone)
just want to say that i also want to keep the current way of working with Arduino available. so people that dont like the new way do not have to worry its going to be 100% platformio only. (thats why im not yet using the library dependency functions of platformio for example)
i will test Arduino ide later and update the wiki accordingly.
just want to say that i also want to keep the current way of working with Arduino available. so people that dont like the new way do not have to worry its going to be 100% platformio only. (thats why im not yet using the library dependency functions of platformio for example)
i will test Arduino ide later and update the wiki accordingly.
-
- New user
- Posts: 1
- Joined: 04 Mar 2017, 02:32
Re: ESP Easy Mega
Anyone able to explain how the different rulesets work? Are they just more space, or can you swap entire rule sets in mega?
I.e., I could set up Ruleset #1 with time events for every half hour, and ruleset #2 with time events for once every hour. Then I can send a command to tell the firmware to operate on ruleset #1, then two days later send a command, and have it operate on ruleset #2?
Thanks!
Andy
I.e., I could set up Ruleset #1 with time events for every half hour, and ruleset #2 with time events for once every hour. Then I can send a command to tell the firmware to operate on ruleset #1, then two days later send a command, and have it operate on ruleset #2?
Thanks!
Andy
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: ESP Easy Mega
Hi.
It look like ESP Easy Mega don't work with a SENSOR_TYPE_TRIPLE and Domoticz HTTP...
I tested new I2C Soil Moisture device and have this problem, no data sent to Domoticz.
Anyone know about this?
Regards
alberto
It look like ESP Easy Mega don't work with a SENSOR_TYPE_TRIPLE and Domoticz HTTP...
I tested new I2C Soil Moisture device and have this problem, no data sent to Domoticz.
Anyone know about this?
Regards
alberto
Re: ESP Easy Mega
This is fixed in https://github.com/letscontrolit/ESPEas ... 2.0.0-dev6
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: ESP Easy Mega
Well...It's incredible how fast is fixing ESP Easy bugs....
Great work!
Regards
Alberto

Great work!
Regards
Alberto
Re: ESP Easy Mega
finally I got platformio running, but when opening the directory containing the unzipped release 6 I find empty library folders. Consequently compilaton isn´t possible. Am I the only one? how can I download a complete zip-archive?
Re: ESP Easy Mega
we have many great contributorsalbertobonati wrote: ↑13 Mar 2017, 17:21 Well...It's incredible how fast is fixing ESP Easy bugs....![]()
Great work!
Regards
Alberto

Re: ESP Easy Mega
"did you download the correct zip? (espeasy...zip)"
yes, and crosschecked several times before posting. Problem disappeared after using winzip instead of winrar. thanks for answering.
yes, and crosschecked several times before posting. Problem disappeared after using winzip instead of winrar. thanks for answering.
Re: ESP Easy Mega
Hello,
any progress with a HowTo for compiling on Arduino IDE?
Regards
Shardan
any progress with a HowTo for compiling on Arduino IDE?
Regards
Shardan
Regards
Shardan
Shardan
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: ESP Easy Mega
Hi.
What about this annoyng message?
FS : Daily flash write rate exceeded!
I read somethingh in this forum but don't understand if I can disable it or have to wait 24 hours..
Best regards
Alberto
What about this annoyng message?
FS : Daily flash write rate exceeded!
I read somethingh in this forum but don't understand if I can disable it or have to wait 24 hours..
Best regards
Alberto
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: ESP Easy Mega
Hi, I answer myself, this line in ESPEasy.ino set value:
#define MAX_FLASHWRITES_PER_DAY 100 // per 24 hour window
No way to reset it other then change value on file?
regards
alberto
#define MAX_FLASHWRITES_PER_DAY 100 // per 24 hour window
No way to reset it other then change value on file?
regards
alberto
Re: ESP Easy Mega
Yep you can just change it.
Its to protect your flash in case something goes wrong with a plugin. This way it cant write 100.000.000 times a day in such cases.
Maybe we should make the default higher though.
Edwin
Its to protect your flash in case something goes wrong with a plugin. This way it cant write 100.000.000 times a day in such cases.

Maybe we should make the default higher though.
Edwin
Re: ESP Easy Mega
Great concept. just managed to flash mega to a 1M sonoff device. Where can I find info on howto trigger notifications using rules?
Re: ESP Easy Mega
Sorry it took so long. Use at least v2.0.0-dev7 and the changes i made here: https://www.letscontrolit.com/wiki/inde ... are_Upload
Re: ESP Easy Mega
I think I saw some explanation somewhere from martinus, but i dont know where anymore.
I didnt actually test notifications myself yet.
Re: ESP Easy Mega
Hello,
i just tried the Arduino IDE with the 2.0.0.dev7....
Really: Many, many thanks!
Works like a charme.
--------------------------------------------------------------------
Don't count your chickens
It compiles like a charme and uploads but it does not work.
Settings: ESP-12E / 1 M SPIFFS, uploaded without a problem but it does not boot.
This is the result:
This is a misbehaviour of the Arduino IDE, not one from the sketch!
The following workaround works:
I've used the "Ctrl - Alt + S" (export compiled binary) comand from Arduino IDE.
It builds a -bin-File in the same folder the ESPEasy.ino resides in.
I copied the .bin to my old flash tool from the R14x-versions and renamed it to ESPEasy_R200_4096.bin
Then i was able to flash it to my testing nodeMCU without issues:
i just tried the Arduino IDE with the 2.0.0.dev7....
Really: Many, many thanks!
Works like a charme.
--------------------------------------------------------------------
Don't count your chickens
It compiles like a charme and uploads but it does not work.
Settings: ESP-12E / 1 M SPIFFS, uploaded without a problem but it does not boot.
This is the result:
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
ªU
INIT : Booting version: (custom)
FS : Mount successful
Resetting factory defaults...
RESET: Reboot count: 103
RESET: To many reset attempts
PID:0
Version:0
INIT : Incorrect PID or version!
Resetting factory defaults...
RESET: Reboot count: 103
RESET: To many reset attempts
Exception (0):
epc1=0x40106f65 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3fff4160 end: 3fff43d0 offset: 01a0
>>>stack>>>
3fff4300: 0000001c 00000000 3fff32e4 401004d8
3fff4310: 3fff32e4 3fff32e4 3fff550c 40202e39
3fff4320: 00000000 00000001 00000116 4010020c
3fff4330: 0000001c 00000000 3fff32e4 00000000
3fff4340: 0000001c 00000000 3fff32e4 402389c8
3fff4350: 00000001 3fff3184 3fff33b0 3fff3184
3fff4360: 3fffdad0 3fff33a0 4023a4bc 3fff33a0
3fff4370: 3fffdad0 3fff32e4 3fff1a50 40207de5
3fff4380: 3fffdad0 3fff32e4 3fff1a50 4022212d
3fff4390: feefeffe feefeffe feefeffe 3fff551c
3fff43a0: 0000002f 00000023 feefeffe feefeffe
3fff43b0: 3fffdad0 00000000 3fff339a 4023a500
3fff43c0: feefeffe feefeffe 3fff33b0 40100718
<<<stack<<<
The following workaround works:
I've used the "Ctrl - Alt + S" (export compiled binary) comand from Arduino IDE.
It builds a -bin-File in the same folder the ESPEasy.ino resides in.
I copied the .bin to my old flash tool from the R14x-versions and renamed it to ESPEasy_R200_4096.bin
Then i was able to flash it to my testing nodeMCU without issues:
Code: Select all
INIT : Booting version: (custom)
FS : Mount successful
INIT : Free RAM:24952
INIT : I2C
INIT : SPI not enabled
WIFI : No SSID!
WIFI : No SSID!
INIT : Normal boot
WD : Uptime 0 ConnectFailures 0 FreeMem 19728
WD : Uptime 1 ConnectFailures 0 FreeMem 19696
WD : Uptime 1 ConnectFailures 0 FreeMem 19560
WD : Uptime 2 ConnectFailures 0 FreeMem 19560
Last edited by Shardan on 19 Mar 2017, 13:14, edited 2 times in total.
Regards
Shardan
Shardan
Re: ESP Easy Mega
Hi,
I am a bit of a novice at playing with the ESP8266 and flashing stuff.
I have successfully flashed the V2 dev 7 using the flashtool in the download. I have tried loading up separate Arduino as in Tutorial which I couldn't really get to work right ( conflicts with exisiting arduino) so then I loaded up Atom and sort of have that working though still don't think I know how to flash correctly with that.
What I really want to do is be able to use the SHT30 temperature wemos shield and I see that there is an alpha plugin for it
https://github.com/dzikus/ESPEasyPlugin ... _SHT3X.ino
I have tried to include this and compile it along with others but no success so far. Could you please add this to one of your new testing builds ?
Thanks
I am a bit of a novice at playing with the ESP8266 and flashing stuff.
I have successfully flashed the V2 dev 7 using the flashtool in the download. I have tried loading up separate Arduino as in Tutorial which I couldn't really get to work right ( conflicts with exisiting arduino) so then I loaded up Atom and sort of have that working though still don't think I know how to flash correctly with that.
What I really want to do is be able to use the SHT30 temperature wemos shield and I see that there is an alpha plugin for it
https://github.com/dzikus/ESPEasyPlugin ... _SHT3X.ino
I have tried to include this and compile it along with others but no success so far. Could you please add this to one of your new testing builds ?
Thanks
Re: ESP Easy Mega
hi,
its any change to continuos develop more fautures for MCP23017?
because with 12 task we are limited and mcp have 16 ports, ok i know that can control it by http but inst the same, because every guys how have sonoff relay board wih push swict inside can put all work because 1 task is for relay and other for push switch, so in my case 8 task for relay and 8 for pushswitch.
if 12 are ok so we can think about control gpio or mcpgpio by rules like this:
if [mcpgio,1]=1 or if [gpio,12]=1
and
on mcpio,1 do or on gpio,12 do
another think is have a inversed button on them.
MCP23017 its a great tool to estent gpio so why not bring more things.
appreciate a lot
maluko
its any change to continuos develop more fautures for MCP23017?
because with 12 task we are limited and mcp have 16 ports, ok i know that can control it by http but inst the same, because every guys how have sonoff relay board wih push swict inside can put all work because 1 task is for relay and other for push switch, so in my case 8 task for relay and 8 for pushswitch.
if 12 are ok so we can think about control gpio or mcpgpio by rules like this:
if [mcpgio,1]=1 or if [gpio,12]=1
and
on mcpio,1 do or on gpio,12 do
another think is have a inversed button on them.
MCP23017 its a great tool to estent gpio so why not bring more things.
appreciate a lot
maluko
Re: ESP Easy Mega
Hello,
I have updated 2 Wemos D1 UNITS, FROM GIT version: v2.0.0-dev4 to dev7.
now the NTP time is not working any more.
is this a know problem.
It give this Local Time:1970-01-01 0:17
Thanks in advanced
Ed
I have updated 2 Wemos D1 UNITS, FROM GIT version: v2.0.0-dev4 to dev7.
now the NTP time is not working any more.
is this a know problem.
It give this Local Time:1970-01-01 0:17
Thanks in advanced
Ed
Re: ESP Easy Mega
ESP Easy only tries 3 times to get a reply from ntp server, if these fail, you get not time... i had this a few times also... so, just try again.. other reason could also be a firewall which blocks ntp...
Re: ESP Easy Mega
I'd support this as i use several devices that have 8 switching chanels on a PCF8574 and 8 current metering channels.maluko wrote: ↑19 Mar 2017, 13:59 hi,
its any change to continuos develop more fautures for MCP23017?
because with 12 task we are limited and mcp have 16 ports, ok i know that can control it by http but inst the same, because every guys how have sonoff relay board wih push swict inside can put all work because 1 task is for relay and other for push switch, so in my case 8 task for relay and 8 for pushswitch.
if 12 are ok so we can think about control gpio or mcpgpio by rules like this:
if [mcpgio,1]=1 or if [gpio,12]=1
and
on mcpio,1 do or on gpio,12 do
another think is have a inversed button on them.
MCP23017 its a great tool to estent gpio so why not bring more things.
appreciate a lot
maluko
But there might be a problem.
As far as i understood the tasks use up RAM which is a very limited ressource with the ESP8266.
I'm not sure if it is possible to extend the number of possible tasks without running into collisions
with other processes and their needs for RAM.
Regards
Shardan
Regards
Shardan
Shardan
Re: ESP Easy Mega
Hello Martinus,
I'm trying to get the e-mail notification, but I do not have the syntax for the rules.
Could you give me the code?
Many Thanks
Jotoc
I'm trying to get the e-mail notification, but I do not have the syntax for the rules.
Could you give me the code?
Many Thanks
Jotoc
Re: ESP Easy Mega
Hello,
i've just noticed that the IR-library is disabled due to a bug.
When will it be back?
Regards
Shardan
i've just noticed that the IR-library is disabled due to a bug.
When will it be back?
Regards
Shardan
Regards
Shardan
Shardan
Re: ESP Easy Mega
this new road is a good road for espeasy,
i follow espeasy since some early builds.
but the new way has the same different places to look for getting it going as in the old days...
looking around the forum, looking around the wiki,
and (tanks good) now looking in the github issues.
but also hard to get to know that actually only ver200-dev7 compiles ok in arduino ide.
than also getting (on windows) the libs together.
and this is called to be the same valid alternative to platform.io.
i had it compiled, but after all (like in the old days) still dazzled where to discuss bug-fixing with the devs..
forum? git-hub issues to dev7, or only binaries?....
well, lets see how this develops..
and still, like the old days: good work!!! keeep on going, devs!!
i follow espeasy since some early builds.
but the new way has the same different places to look for getting it going as in the old days...
looking around the forum, looking around the wiki,
and (tanks good) now looking in the github issues.
but also hard to get to know that actually only ver200-dev7 compiles ok in arduino ide.
than also getting (on windows) the libs together.
and this is called to be the same valid alternative to platform.io.
i had it compiled, but after all (like in the old days) still dazzled where to discuss bug-fixing with the devs..
forum? git-hub issues to dev7, or only binaries?....
well, lets see how this develops..
and still, like the old days: good work!!! keeep on going, devs!!
Re: ESP Easy Mega
it wasn't actually a bug. with the new IR library we just hit our IRAM limit it seems. (and there is only 2-3k of IRAM to start with)
I created an overview of the different plugin sizes: https://github.com/letscontrolit/ESPEas ... _sizes.txt
I'm currently trying to reduce memory usage of the various plugins, but we might have to disable some plugins by default in the next versions.
The question then is: which one(s) do we disable. only the ones that use IRAM make sense. in somecases the IRAM is used by libraries, like the neopixel libs. In that case we would have to disable all the neopixel plugins to get that memory back.
Re: ESP Easy Mega
We're tring to do our best, but i understand that it can be a bit chaotic at times.tozett wrote: ↑04 Apr 2017, 21:30 this new road is a good road for espeasy,
i follow espeasy since some early builds.
but the new way has the same different places to look for getting it going as in the old days...
looking around the forum, looking around the wiki,
and (tanks good) now looking in the github issues.
but also hard to get to know that actually only ver200-dev7 compiles ok in arduino ide.
than also getting (on windows) the libs together.
and this is called to be the same valid alternative to platform.io.
i had it compiled, but after all (like in the old days) still dazzled where to discuss bug-fixing with the devs..
forum? git-hub issues to dev7, or only binaries?....
well, lets see how this develops..
and still, like the old days: good work!!! keeep on going, devs!!
Do you have any suggestions on how we can make things more clear, so that we can save other people some time?
A hint or url at the right places might help a lot: the problem is that the people like me are deep into the code right now. So it gets hard to see where hints, documentation or links are needed after a certain point.
Currently we're trying to get a stable and usable version 2.0.0 for everybody to work with.
Re: ESP Easy Mega
hm....psy0rz wrote: ↑04 Apr 2017, 21:36it wasn't actually a bug. with the new IR library we just hit our IRAM limit it seems. (and there is only 2-3k of IRAM to start with)
I created an overview of the different plugin sizes: https://github.com/letscontrolit/ESPEas ... _sizes.txt
I'm currently trying to reduce memory usage of the various plugins, but we might have to disable some plugins by default in the next versions.
The question then is: which one(s) do we disable. only the ones that use IRAM make sense. in somecases the IRAM is used by libraries, like the neopixel libs. In that case we would have to disable all the neopixel plugins to get that memory back.
Make a kind of "choice board" so the users may choose the libs/plugins they need?
Maybe similiar to the choice of stablel/testing/dev we have nowadays in the yource.
At least for my purposes i don't need 70% of the plugins and i think it's same for many users.
Just i need the IR plugin for my remote controls

Regards
Shardan
Regards
Shardan
Shardan
Re: ESP Easy Mega
a system to select one/or a set of plugins would be fine.
[x] Plugin 01-function-RAMuse:0100
[x] Plugin 02-function-RAMuse:0125
...
or a parser for plugin [1,2,3-45,47...]
like in the rules...
...
or a memory set:
plugins with no memory/medium/full...
[x] Plugin 01-function-RAMuse:0100
[x] Plugin 02-function-RAMuse:0125
...
or a parser for plugin [1,2,3-45,47...]
like in the rules...
...
or a memory set:
plugins with no memory/medium/full...
Re: ESP Easy Mega
Currently you can "disable" plugins by just deleting them.
Shardan: the IR plugins have been re-enabled, but now ESPeasy doenst compile. The only way to compile it is to "disable" some plugins.
I could make a nice config-file where you can select your plugins.
Altough the point of ESPEasy is to be able to grab one binary firmware file, flash it, and then select the plugin from the build in webgui.
Shardan: the IR plugins have been re-enabled, but now ESPeasy doenst compile. The only way to compile it is to "disable" some plugins.
I could make a nice config-file where you can select your plugins.
Altough the point of ESPEasy is to be able to grab one binary firmware file, flash it, and then select the plugin from the build in webgui.
Re: ESP Easy Mega
i try to stay close to the new development for the coming days (except easter-holdays...,sorry),
and think over it. i have no spontaneus idea, but as soon as an idea arises, i'll come here up with it ...
Re: ESP Easy Mega
i dont know if you a going this route,
but to my failing memory, i think, i suggested years ago
(for the quoted point above, to help simple "users" with all the specials of plugins),
something to have for plugins like this clickable webgui for nodemcu
https://nodemcu-build.com/
dont know, if "travis (?) can handle this, or if it is the right thing,
and overall its more work for someone to build...
Re: ESP Easy Mega
For sure it's the best way if you can make an "all in one" binary.psy0rz wrote: ↑04 Apr 2017, 21:46 Currently you can "disable" plugins by just deleting them.
Shardan: the IR plugins have been re-enabled, but now ESPeasy doenst compile. The only way to compile it is to "disable" some plugins.
I could make a nice config-file where you can select your plugins.
Altough the point of ESPEasy is to be able to grab one binary firmware file, flash it, and then select the plugin from the build in webgui.
But let me be the devil's advocate:
As the ESP has limited ressources it will run into the same problem with every new plugin comming up.
So my suggestion would be a binary with the common plugins compiled in and a
kind of config file to get the other plugins in and some common ones out.
It should work on the Arduino IDE - my platform.io has died again after it was working for a while for no obvious reason.
A solution like the one suggested by tozett would be nice too but makes it difficult to test own changes in the code.
BTW, the actual suource code from github is not working anymore if you do a fresh install - it complains about
missing libraries even before starting compilation. Compiling exits with a
Code: Select all
D:\arduino-1.6.13-Test\arduino-1.6.13\portable\sketchbook\ESPEasy\_C002.ino:9:25: fatal error: ArduinoJson.h: No such file or directory
Shardan
Regards
Shardan
Shardan
Re: ESP Easy Mega
Yeah, you shouldnt use the link called "Source code". Github adds that automaticly and it misses the submodules.
Use the first link instead, called ESPEasy_v2.0.0-dev7.zip.
I'll see what i can do to remove or otherwise correct that source code file.
I'll ask the nodemcu-build guy if he wants to share his code or add ESPEasy to his site. (Its from Uncle Bob, he's an awesome dude)
Use the first link instead, called ESPEasy_v2.0.0-dev7.zip.
I'll see what i can do to remove or otherwise correct that source code file.
I'll ask the nodemcu-build guy if he wants to share his code or add ESPEasy to his site. (Its from Uncle Bob, he's an awesome dude)
Re: ESP Easy Mega
I didn't use the "Source Code" link but downloaded using the "clone / download" to get the actual version... seems to create the same thing.psy0rz wrote: ↑04 Apr 2017, 22:14 Yeah, you shouldnt use the link called "Source code". Github adds that automaticly and it misses the submodules.
Use the first link instead, called ESPEasy_v2.0.0-dev7.zip.
I'll see what i can do to remove or otherwise correct that source code file.
I'll ask the nodemcu-build guy if he wants to share his code or add ESPEasy to his site. (Its from Uncle Bob, he's an awesome dude)
Maybe just add the actual libraries to the repository so that "download .zip" gives a complete actual version?
Anyways, i can't offer help with coding. My programming knowledge is completely outdated.
But if needed i could help with Wiki and HowTo's to keep the documentation up with development.
Regards
Shardan
Regards
Shardan
Shardan
Re: ESP Easy Mega
Ah that explains it: If you use the clone/download button it also creates an incomplete zipfile.Shardan wrote: ↑04 Apr 2017, 22:32
I didn't use the "Source Code" link but downloaded using the "clone / download" to get the actual version... seems to create the same thing.
Maybe just add the actual libraries to the repository so that "download .zip" gives a complete actual version?
Anyways, i can't offer help with coding. My programming knowledge is completely outdated.
But if needed i could help with Wiki and HowTo's to keep the documentation up with development.
Regards
Shardan
I could indeed just add the libraries instead of using submodules to work around these problems. I like the idea of submodules, but there are also many problems with them.
You can one of these things:
- Use the git commandline to actually clone it: git clone --recursive https://github.com/letscontrolit/ESPEasy.git
- Use the git desktop app like explained on the wiki to clone it for you.
- Use the latest release zip-file that conains everything (ESPEasy_v2.0.0-dev7.zip)
- Just use the sourcecode zip file you have and add the libraries from ESPEasy_v2.0.0-dev7.zip to it. However we just updated some libraries so i dont know if that works.
So yeah..maybe we just need to stop using submodules to get out of this mess for good.

Re: ESP Easy Mega
Would it work if one installs the dev7-zipfile and copy the newer libs and sources over the existing dev7-directories?
Regards
Shardan
Shardan
Who is online
Users browsing this forum: No registered users and 3 guests