Search found 224 matches

by mackowiakp
19 Dec 2019, 09:19
Forum: ESP Easy: General Discussion
Topic: Vacation
Replies: 1
Views: 821

Vacation

Since I am going on vacation where it is warm, I would like to thank very much for the excellent work that all the developers involved in the project have done so far. And for the fact that I could always count on your help and good advice. There is still a lot of work but everything starts to work ...
by mackowiakp
10 Dec 2019, 05:10
Forum: ESP Easy: Software
Topic: New SD card support
Replies: 1
Views: 1110

New SD card support

As I can see in release mega-20191208, there is an entry in file platformio_esp82xx_envs.ini: ; TEST: 4096k version + FEATURE_ADC_VCC + FEATURE_MDNS + FEATURE_SD ---------- [env:test_ESP8266_4M1M_VCC_MDNS_SD] extends = esp8266_4M1M platform = ${testing.platform} build_flags = ${testing.build_flags} ...
by mackowiakp
10 Dec 2019, 02:27
Forum: ESP Easy: Software
Topic: mega-20191208 - 2.2.2 or 2.6.2 SDK?
Replies: 3
Views: 1221

Re: mega-20191208 - 2.2.2 or 2.6.2 SDK?

OK, thank you for the explanation, because I got a little lost in this numbering.
by mackowiakp
09 Dec 2019, 11:46
Forum: ESP Easy: Software
Topic: mega-20191208 - 2.2.2 or 2.6.2 SDK?
Replies: 3
Views: 1221

mega-20191208 - 2.2.2 or 2.6.2 SDK?

After compiling (both custom and normal) ver of ESP FW based on mega-20191208 I got something like this: [maciek@Piotr normal_ESP8266_4M1M]$ strings firmware.bin|grep "2\.2\.2" 2.2.2-dev(38a443e) And: SDK.png But release notes stands that [PIO] Update to core 2.6.2 So what ver of SDK is used as defa...
by mackowiakp
06 Dec 2019, 15:55
Forum: ESP Easy: Software
Topic: Using SDK3 couse duble CPU load
Replies: 4
Views: 1250

Re: Using SDK3 couse duble CPU load

In Poland we say: "Man is not a camel. He must drink"..... :mrgreen:
by mackowiakp
06 Dec 2019, 10:37
Forum: ESP Easy: Projects / Applications
Topic: Collect data from ESP on SD card in router
Replies: 7
Views: 1449

Re: Collect data from ESP on SD card in router

Not all SD card solutions have some kind of wear-leveling active and you are probably writing to a card formatted with a FAT32 filesystem. Both are a perfect receipt for writing often to just a few sectors on the SD card and wearing down the card in weeks or maybe months. Yeah. As Freddie Mercury s...
by mackowiakp
06 Dec 2019, 04:28
Forum: ESP Easy: Software
Topic: Using SDK3 couse duble CPU load
Replies: 4
Views: 1250

Re: Using SDK3 couse duble CPU load

Well. So we have to wait, believing in a better future ...
by mackowiakp
05 Dec 2019, 18:56
Forum: ESP Easy: Projects / Applications
Topic: Collect data from ESP on SD card in router
Replies: 7
Views: 1449

Re: Collect data from ESP on SD card in router

Nothing wrong. Its very good solution. But I want to reduce amount of equipment. I have to use router because necessity to connect external WiFi and GSM antennas because of coverage and necessity of connection three other units over wired Ethernet. If OpenWRT router will be able to collect data from...
by mackowiakp
05 Dec 2019, 17:39
Forum: ESP Easy: Projects / Applications
Topic: Collect data from ESP on SD card in router
Replies: 7
Views: 1449

Collect data from ESP on SD card in router

I would like to mount 6 ESPs with different sensors in a certain location. Measurements should be stored on the router's SD card as flat files (CSV for example). The router (all ESP`s are connected to that router over WiFi) would be equipped with OpenWRT (Asus) and would transmit data via LTE to a c...
by mackowiakp
05 Dec 2019, 16:32
Forum: ESP Easy: Software
Topic: Using SDK3 couse duble CPU load
Replies: 4
Views: 1250

Using SDK3 couse duble CPU load

I don't know if my Colleagues have similar experience, but using SDK3 causes me almost two times more load of CPU than using 2.6.0 or default 2.6.1. I tried on two different devices, one has only 2 active relays, ADC and DTH22. The second one has more sensors but also has very extensive rules, which...
by mackowiakp
28 Nov 2019, 15:08
Forum: ESP Easy: Software
Topic: Warning during compilation
Replies: 9
Views: 1609

Re: Warning during compilation

Yep. "Anticipation is very difficult, especially for the future" - Niels Bohr
by mackowiakp
28 Nov 2019, 12:59
Forum: ESP Easy: Software
Topic: Warning during compilation
Replies: 9
Views: 1609

Warning during compilation

During compilation custom_ESP8266_4M1M using mega-20191127 I got such warning: warning: Calling missing SConscript without error is deprecated. Transition by adding must_exist=0 to SConscript calls. Missing SConscript 'pre_custom_esp82xx.py' File "/home/maciek/.platformio/penv/lib64/python3.7/site-p...
by mackowiakp
25 Nov 2019, 18:03
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 10
Views: 2205

Re: SD support compilation errors

Yes, both from VS menu and from VS terminal.
by mackowiakp
25 Nov 2019, 17:37
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 10
Views: 2205

Re: SD support compilation errors

OK. But I want to inform, that after revering changes in "platformio_esp82xx_base.ini" and in "define_plugin_sets.h" files, that is disabling SD card support, it is not possible to compile any firmware. As I wote. In this case no Custom.h, own plugins and any other my changes, all taken "as is" from...
by mackowiakp
25 Nov 2019, 11:05
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 10
Views: 2205

Re: SD support compilation errors

Still the same: entry in platformio_esp82xx_base.ini: [esp82xx_common] extends = common board_build.f_cpu = 80000000L build_flags = ${debug_flags.build_flags} ${mqtt_flags.build_flags} -DHTTPCLIENT_1_1_COMPATIBLE=0 build_unflags = -DDEBUG_ESP_PORT lib_deps = https://github.com/TD-er/ESPEasySerial.gi...
by mackowiakp
25 Nov 2019, 10:15
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 10
Views: 2205

Re: SD support compilation errors

Now I just take all files from git source "as is". No Custom.h, normal, default SDK. No my changes except uncomment "#define FEATURE_SD: in default "define_plugin_sets.h" file. Then from VS terminal run: [maciek@Piotr ESPEasy-mega-20191123]$ pio lib install "SD" Library Storage: /home/maciek/TMP/ESP...
by mackowiakp
25 Nov 2019, 07:18
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 10
Views: 2205

Re: SD support compilation errors

Still can not compile (mega-20191123, Custom.h). Error during linking: Linking .pio/build/custom_sdk3_ESP8266_4M1M/firmware.elf /home/maciek/back/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: address 0x3fffc448 of .pio/build/custom_s...
by mackowiakp
24 Nov 2019, 17:17
Forum: ESP Easy: Software
Topic: 13,3 inch e-paper display plugin
Replies: 0
Views: 1641

13,3 inch e-paper display plugin

I am trying to transfer the ability to operate a 13,3-inch 1600×1200 mono or 3 color e-paper display from a commercial project I did to the ESPeasy platform. The problem is the very long refresh time of this type of display. It takes 5-6 seconds to fully change all pixels on screen. Entering new scr...
by mackowiakp
24 Nov 2019, 16:23
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

As usual. As we say "Only this one does not make mistakes, which does nothing".
by mackowiakp
23 Nov 2019, 20:14
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Does this mean I have to concatenate all files to make it work? Or are you now using the platformio.ini file from the old configuration from a few days ago? Nope. I use platformio.ini "as is" from file labeled "Source code (zip)" in "Assets". This file contains all platformio.ini while ESPEasy_mega...
by mackowiakp
23 Nov 2019, 19:41
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

But I try to use original platformio.ini to compile normal 4M1M and it compile me firmware with and without my own plugins.
by mackowiakp
23 Nov 2019, 19:33
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Works ! But I tested only normal 4M1M. Now I add two my own plugins that is FM tuner and 15 inch epaper display and remove unnecesery for me plugins to keep bin size appx 800 kB.
by mackowiakp
23 Nov 2019, 19:07
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Problem solved. Simply file labeled as "ESPEasy_mega-20191123.zip" is not complete (as it was earlier)
But file labeled "Source code (zip)" is complete and it is possible to compile what I need.
by mackowiakp
23 Nov 2019, 18:05
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

And have you concatenated all ini files in a single file (still using the extends option), like I asked? As I wrote, I copied platformio.ini from mega-20191119, and it works OK. It is simmilar to concentration. If You want to concentrate all *.ini files into single platformio.ini than You have belo...
by mackowiakp
23 Nov 2019, 14:13
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Another thing is why compilation of single file takes up to 30 sec. I have Intel 8 cores, 16 threads, 3.6 GHz processor and M2 on-board SSD drive so another compilations I have just "on click".
As I look to the "top" output, PIO can use practically only one tread. In my meaning - bug.
by mackowiakp
23 Nov 2019, 13:47
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

The multi-file .ini is a feature of PIO 4.0 ( https://docs.platformio.org/en/latest/p ... ic-options )
The extends option is part of PIO 4.1
Yeah. Documentation says so. But - in my opinion - there is a bug in PIO 4.1.
So maybe you should consider returning to the previous platformio.ini format?
by mackowiakp
23 Nov 2019, 13:35
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

What you can do, is to concatenate all .ini files into a single platformio.ini file and see if that's working. You should do it in the order of the .ini files mentioned in the "extra_configs" parameter and perhaps also remove that from the new .ini file. I made it de facto by copy platformio.ini fr...
by mackowiakp
23 Nov 2019, 13:15
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

As I wrote. Taken "as is" from zip file. No changes I made. But now for test, I copied platformio.ini from mega-20191119. And it works OK, it was possible to compile without problems for example normal_core_260_sdk222_alpha_ESP8266_4M1M. And BTW. What does it mean in release notes "Change to SDK 201...
by mackowiakp
23 Nov 2019, 12:40
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

[maciek@Piotr source]$ pio upgrade --dev Please wait while upgrading PlatformIO ... PlatformIO has been successfully upgraded to 4.1.1b3 Release notes: https://docs.platformio.org/en/latest/history.html Warning! Please restart IDE to affect PIO Home changes [maciek@Piotr source]$ pio --version Plat...
by mackowiakp
23 Nov 2019, 12:04
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Is this a terminal from within VScode? By running it from within the terminal in VScode, you make sure you have the same Python virtual env running as used when trying to build it in VS code. Yes, this is terminal from VS. Python version used by VS (from VS terminal) : [maciek@Piotr source]$ python...
by mackowiakp
23 Nov 2019, 10:43
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

No, it is not matter of path. Simply I changed ESP easy source version, without reload VS. After reload terminal takes proper path. so You have: > Executing task: platformio run < Error: Please setup environments in `platformio.ini` file The terminal process terminated with exit code: 1 Terminal wil...
by mackowiakp
23 Nov 2019, 10:33
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Code: Select all

[maciek@Piotr source]$ ~/back/.platformio/penv/bin/pio --version
PlatformIO, version 4.1.0
But now I notice that after upgrade (5 or 6 days ago) it lost PATH to pio binary. So I have to enter full path. Will investigate.
But maybe somebody else have the same problem? Any idea?
by mackowiakp
23 Nov 2019, 09:51
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

After depressing F7 nothing appears. No menu. Both in working version (mega-20191119) and not-working starting from mega-20191122. I use "Run task" option located in bottom menu strip. If I click on the icon, pop-up menu is display. I use VS on Linux (not Atom). As I remember, in Atom after depressi...
by mackowiakp
23 Nov 2019, 07:04
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

I try today mega-20191123 - the same problem. Once more. Zip file taken "as is" from git, decompress and loaded as new project to PIO.
by mackowiakp
23 Nov 2019, 05:40
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

But have you tried by reverting your changes? In other words, do you get build errors with the version as it is now present on the Github repo? As I wrote earlier, changes revering by removing former whole ESPEasy_mega-20191122 dir and decompressing ESPEasy_mega-20191122.zip file once again. "Clean...
by mackowiakp
23 Nov 2019, 05:33
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Flying Domotic wrote:
22 Nov 2019, 18:11
Try :

Code: Select all

env_default = normal_ESP8266_4M1M
I did it. The result is the same
by mackowiakp
22 Nov 2019, 13:44
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Oh and make sure you restart the IDE after changing the platformio.ini file.
Also when you fetch the current repo from GitHub and it has platformio.ini changed.
Of course I did it.
by mackowiakp
22 Nov 2019, 13:41
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

Changes revering by removing former whole ESPEasy_mega-20191122 dir and decompressing ESPEasy_mega-20191122.zip file once again. "Clean" taken "as is" from git. Run "build" > Executing task: platformio run < Error: Please setup environments in `platformio.ini` file The terminal process terminated wi...
by mackowiakp
22 Nov 2019, 13:26
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

I have the newest version of platformio (VS platform)

Code: Select all

[maciek@Piotr source]$ pio upgrade
You're up-to-date!
PlatformIO 4.1.0 is currently the newest version available
But still can not even run any task (clean, compile or so) because of platformio.ini error as listed earlier.
by mackowiakp
22 Nov 2019, 10:01
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

Re: platformio.ini problem in mega-20191122

I dont understand. Vagrant - for what? Is it necessary to use virtualization? It was not needed so far.
by mackowiakp
22 Nov 2019, 06:45
Forum: ESP Easy: General Discussion
Topic: platformio.ini problem in mega-20191122
Replies: 40
Views: 2779

platformio.ini problem in mega-20191122

I really dont know how to play with new platformio.ini in mega-20191122. I uncommented line (and only that one): default_envs = normal_ESP8266_4M1M But I still get error: > Executing task: platformio run < Error: Please setup environments in `platformio.ini` file The terminal process terminated with...
by mackowiakp
16 Nov 2019, 12:04
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 10
Views: 2205

SD support compilation errors

mega-20191116 - Which one library have to be added for proper support of SD card? I try #ID: 868 but I got only log list of errors during compiling. [maciek@Piotr source]$ platformio lib search "header:SD.h" Found 5 libraries: SD == #ID: 161 This library aims to expose a subset of SD card functional...
by mackowiakp
02 Nov 2019, 20:43
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Re: Two advice please - *.ino development

OK, so You have "tune" command: if (command == F("tune")) { if (validIntFromString(param, freq)) { if (freq >= minFreq && freq <= maxFreq) { radio.setFrequency(freq*10); // PCONFIG(4) = freq; if (loglevelActiveFor(LOG_LEVEL_INFO)) { String log = F("FM : Freq="); log += freq; addLog(LOG_LEVEL_INFO, l...
by mackowiakp
02 Nov 2019, 19:49
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Re: Two advice please - *.ino development

Also I don't know in what unit you have to give the frequency. Frequency must be given in the form for example for frequency 105,7 MHz must be 10570 You don't have supplied a link to the RDA5807M library https://github.com/mathertel/Radio/blob/master/src/RDA5807M.cpp What's strange is that your com...
by mackowiakp
02 Nov 2019, 19:30
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Re: Two advice please - *.ino development

For example:

Code: Select all

volfm,10
I learn all the syntax`s needed one by one, because I'm going to publish the code as "Develop" on Github.
And I still don't know how to write parameters to flash in other sections than SAVE.
by mackowiakp
02 Nov 2019, 17:16
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Re: Two advice please - *.ino development

Below full code I wrote so far. #ifdef USES_P089 //####################################################################################################### //############################# Plugin 089: P089_RadioFM ############################################ //#########################################...
by mackowiakp
02 Nov 2019, 11:06
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Re: Two advice please - *.ino development

OMG !!! You are right. So I changed this part of code to the one listed below. But still can not write "volfm" value as PCONFIG(1) to flash. What to do? if (command == F("volfm")) { int volfm; String log = F("FM : vol="); if (validIntFromString(param, volfm)) { if (volfm < 1) volfm = 0; if (volfm > ...
by mackowiakp
01 Nov 2019, 18:58
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Re: Two advice please - *.ino development

As for the case PLUGIN_WEBFORM_LOAD and PLUGIN_WEBFORM_SAVE, they work with me correctly. I enter data from the GUI and write correctly. Then I use the values PCONFIG(..) in the program code and everything is OK. But I want to write to the PCONFIG(..) variable in the PLUGIN_WRITE section to save the...
by mackowiakp
01 Nov 2019, 17:32
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Re: Two advice please - *.ino development

The first secret was explained. Just a chip has no possibility to change the I2C address. The chip has permanent addresses 0x10 and 0x11. Hence, these addresses were explicitly entered in the RDA5807M.cpp file. The address selection menu is therefore unnecessary. But I still don't know how to store ...
by mackowiakp
31 Oct 2019, 20:45
Forum: ESP Easy: Software
Topic: Two advice please - *.ino development
Replies: 14
Views: 3161

Two advice please - *.ino development

Below is the code for the FM tuner on which I started working. It works, but I don't really know why :lol: I have two questions. The variable PCONFIG(0) contains the tuner I2C address. But the PLUGIN_INIT section not use any address. Oddly enough, the whole thing works on the default address, regard...