Search found 531 matches

by mackowiakp
02 Aug 2021, 19:48
Forum: ESP Easy: General Discussion
Topic: Problem after reinstalling VS-Code+Platformio on Linux
Replies: 7
Views: 5624

Problem after reinstalling VS-Code+Platformio on Linux

Due to the disk failure, I had to reinstall VSCode and Platformio on my Linux based PC. Supposedly I did everything according to Platformio and Letscontrol wiki`s. But as you can see in the attached screenshot, the options related to LetsControl don't show up in the bottom toolbar. Maybe someone wil...
by mackowiakp
26 Jul 2021, 05:47
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Today the device hanged itself for the first time. As a result, the GPIO rule-initiated hard-reset did not work. I know for sure that there was a hanging, because the simple rule "LED blinking" did not work. The LED was on all the time, not blinking. The power cycle helped. So I will have ...
by mackowiakp
09 Jul 2021, 14:25
Forum: ESP Easy: General Discussion
Topic: "IF" statement in rule
Replies: 4
Views: 4994

Re: "IF" statement in rule

THX. Thats the way I think !
by mackowiakp
09 Jul 2021, 13:25
Forum: ESP Easy: General Discussion
Topic: "IF" statement in rule
Replies: 4
Views: 4994

Re: "IF" statement in rule

I am not storing value in the value task but in user variable #3. The "Truth" is that absolute value of difference between previews and current pressure value is not bigger then 10. And - as I wrote - measurement values are taking into account 5 min after initialization (restart). It shoul...
by mackowiakp
09 Jul 2021, 12:54
Forum: ESP Easy: General Discussion
Topic: "IF" statement in rule
Replies: 4
Views: 4994

"IF" statement in rule

I use the BME680 as an atmospheric pressure sensor. The measurement is made every 2 minutes. Sometimes (once in several thousand measurements) an erroneous measurement occurs. Everything is OK, if it is a completely pointless measurement of the 2500 HPa type. It is easy to omit such a measurement us...
by mackowiakp
04 Jul 2021, 11:24
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Yes, its strange but its a feature of my one personal ESP. I check another one, works as docu stands. "Chinese copy of Chinise copy..."
by mackowiakp
04 Jul 2021, 10:52
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

My part of ESP shorts GPIO5 to GND itself during boot time (for a fraction of sec). Why? I really dont know. It should not.
I just connected transistor to GPIO5 via resistor and transistor shorts RST to GND when command GPIO,5,1.
That's just for the more precise explanation.
by mackowiakp
04 Jul 2021, 07:28
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

All you need was a cable? Not in my case. GPIO5 shorted to GND at boot time for a fraction of a second, causing boot-loop. Hence, I had to use an intermediate transistor. You see "Chinese copy of the Chinese copy" of nodeMCU does not equal other "Chinese copy of the Chinese copy"...
by mackowiakp
03 Jul 2021, 19:59
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Yep, for me working too. Using additional transistor to inverse signal level.
by mackowiakp
03 Jul 2021, 04:32
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Yes, its free for sure. In my case I2C use GPIO2 (SCL) and GPIO4 (SDA). I made a lot of changes/tests during the lifetime of this particular unit and some things are in non-default place.
by mackowiakp
03 Jul 2021, 03:51
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Wait, I have GPIO5 (D1) free ! Be so kind to test. Its totally independent input/output !
by mackowiakp
03 Jul 2021, 03:46
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

So external hardware timer/watchdog seams to be solution for actual and future problems.
Lets solder 15 cents worth IC to external board. :D
by mackowiakp
03 Jul 2021, 03:30
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Dont know at this moment. Probably no. I have to check during a day (at this moment is 3:30 AM in my country).
The unit is located 20 m from my house.
Your idea sounds good. Will test ASAP.
by mackowiakp
03 Jul 2021, 02:26
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

After quick test on prototype ESP, I can say it works. But the problem is with desired device. All GPIOs that do not change state during boot are busy and unfortunately must remain so. But the D5 changes state for each minutes, resetting/force "sleep" the dust sensor. Dust sensor has a ver...
by mackowiakp
03 Jul 2021, 01:08
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Yep, good idea. Will test !
by mackowiakp
02 Jul 2021, 19:49
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

Yes, using for example 4541 based timer + relay or transistor resolve the problem. But it is additional hardware, soldering etc.
I just looking for simpler way that is via software (forcing hardware watchdog reset or so).
by mackowiakp
02 Jul 2021, 18:45
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Re: Power cycle-like ESP reset

OK. I will try. But as I wrote, it happens very rarely, so I don't know when I will be able to write something about the results.
But such a "reset" as from power cycle would be useful ....
by mackowiakp
02 Jul 2021, 17:59
Forum: ESP Easy: General Discussion
Topic: Power cycle-like ESP reset
Replies: 24
Views: 9990

Power cycle-like ESP reset

FW ESPEasy_ESP82xx_mega-20210503 custom compilation (Custom.h) Is it possible to perform a reset of ESP in the way power cycle-like ? The problem is that 3 devices are connected to one ESP via I2C. Very rarely - it happened probably 3-4 times a year - something "jammed" on the I2C bus and ...
by mackowiakp
15 Jun 2021, 15:27
Forum: ESP Easy: Hardware
Topic: I2C current sensor
Replies: 2
Views: 5885

Re: I2C current sensor

OK, THX for advice !
by mackowiakp
15 Jun 2021, 03:37
Forum: ESP Easy: Hardware
Topic: I2C current sensor
Replies: 2
Views: 5885

I2C current sensor

Does anybody knows I2C Hall effect current sensor (10A DC) ? If so, is it supported by ESP Easy? And second question. Is there any optoisolated extender of I2C bus ? I want to measure DC current over cable appx 5 m long. So using ordinary connection can disturb normal ESP work and/or cause distortio...
by mackowiakp
22 May 2021, 11:29
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

So better keep a copy of your edits in a notepad to be sure.
Thats what I do. "Only real heroes lives without backup".
I just don't know why my wife doesn't understand it ... :lol:
by mackowiakp
22 May 2021, 11:16
Forum: ESP Easy: Software
Topic: Value of %iswifi% variable
Replies: 2
Views: 3594

Re: Value of %iswifi% variable

THX. Clear for me !
by mackowiakp
22 May 2021, 11:08
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

What browser do you use?
Last version available in my Linux repo that is Firefox 78,10 ESR 64 bit
Will try with Chrome.
Also do you have a password set?
Yes, I have.
by mackowiakp
22 May 2021, 11:04
Forum: ESP Easy: Software
Topic: Value of %iswifi% variable
Replies: 2
Views: 3594

Value of %iswifi% variable

What does it mean value of %iswifi% system variable?
In my case it shows "7".
Does it mean that if value is grater then "0" that mean that WiFi is connected and when equal "0" disconnected?
by mackowiakp
22 May 2021, 11:00
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

I have a problem with rules in this release. Sometimes it save content of edited rule, but in most cases - not.
Is any workaround?
by mackowiakp
21 May 2021, 17:46
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

YEP ! THX once more !
by mackowiakp
21 May 2021, 17:03
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

THX. Yep. After flashing "factory", Custom.h compiled bin works!
by mackowiakp
21 May 2021, 16:21
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

Hmmm. I try ready binary ESP_Easy_mega_20210223_custom_ESP32_4M316k.bin and own compilation with Custom.h, but in first case there is no WiFi AP available from ESP in second case, predefined credentials to WiFi HotSpot does not connect to AP.
Any idea?
by mackowiakp
21 May 2021, 15:42
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

OK. Will try ESP32 20210223
by mackowiakp
21 May 2021, 15:17
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

There is custom_ESP32_4M316
by mackowiakp
21 May 2021, 13:24
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

Re: ESP32CAM

It has 4M.
So will try my favorite (so far) 20191208 release. Not ETH support for sure.
by mackowiakp
21 May 2021, 13:07
Forum: ESP Easy: Hardware
Topic: ESP32CAM
Replies: 16
Views: 10090

ESP32CAM

I have the opportunity to buy greater amount, and very cheaply, ESP32-CAM modules, but without camera modules. Can ESP Easy be installed on it (via USB-UART converter) and used for simple applications such as controlling a relay and one I2C device? I tried one and you can install an example sketch o...
by mackowiakp
18 May 2021, 13:06
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

Probably not all of them ;-). But for example most ticket vending machines, ATM machines, information lines in banks, information boards in state offices, shops etc. have the option of Ukrainian and/or Russian language. So for future projects. And these are beavers 150 meters from my house. Pests .....
by mackowiakp
18 May 2021, 12:26
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

OK. Work in progress ! When the new, official release of the sources will be available, and I get from China the LCD version with a character generator containing Cyrillic characters in the second half of CharROM (such version is available on Ali), I will add mapping of Cyrillic codes to CharROM add...
by mackowiakp
18 May 2021, 11:39
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

Yep. WORKS on test device ! No WiFi issue too (so far). One small remark. I place in my code string "Czekaj..." ("Wait" in my language) in place "ESP Easy". So current binary during initialization LCD display "ESP EasyCzekaj..". Be kind to remove one of them, ...
by mackowiakp
17 May 2021, 10:38
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

I test Your current binary on NodeMCU with 2x16 LCD while target unit (properly displying Polish characters) use 4x20 LCD and mega-20191208 sources. Also be so kind to include in Custom.h driver _P013_HCSR04 (ultrasonic sensor). I would like to quote one of my very old posts here with (i think very ...
by mackowiakp
17 May 2021, 09:49
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

Still no Polish letters. Did not notice WiFi issue.
by mackowiakp
17 May 2021, 03:50
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

I revert for additional test to FW from this previous link: https://www.dropbox.com/s/z3blareqkux85q6/ESP_Easy_mega_20210515_custom_ESP8266_4M1M.bin?dl=0 What I notice by testing bit longer (using NodeMCU v2 and 3) is WiFi connection problem again. Connection to AP was finally established, but it ta...
by mackowiakp
16 May 2021, 14:52
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

With this software above, there is no problems with connection to WiFi AP after intended soft reboot. But still no Polish letters as on photo already posted. Two test devices was used in this case. Node MCU v2 and v3. Practically no difference between units but from different producer (probably). To...
by mackowiakp
16 May 2021, 09:34
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

One more problem I noticed with this FW.
If reboot will be done from the "Tools" menu either by command or by clicking menu option, ESP will not connect to the network.
You have to do power cycle.
by mackowiakp
16 May 2021, 09:08
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

I just downloaded new FW on test device, but Polish letters are not display

LCD config:
Screenshot_20210516_090113.png
Screenshot_20210516_090113.png (75.79 KiB) Viewed 8772 times
Display result:
by mackowiakp
15 May 2021, 20:12
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

Yep it works ! There is only one problem. You made some tweaks to some software that does not yet have official release. The compiled FW version you sent me in this post https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8528#p52439 did not have a directive in Custom.h #define USES_P012_POL...
by mackowiakp
12 May 2021, 11:56
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Re: Disable device for 3 sec from rule

Hmmm. My FW is probably too old. mega-20191208

Code: Select all

Command unknown: "taskenable,5"
by mackowiakp
12 May 2021, 06:17
Forum: ESP Easy: Software
Topic: Disable device for 3 sec from rule
Replies: 28
Views: 8911

Disable device for 3 sec from rule

I have have several sensors connected to ESP, including 20x4 LCD, ultrasonic sensor (working as a switch) and ordinary push on button. Ultrasonic sensor is time consuming device and LCD is slow device so both "disable" processor for a while. If in the same moment something is loaded to LCD...
by mackowiakp
10 May 2021, 02:01
Forum: ESP Easy: Software
Topic: ESP82xx_mega-20210503 WiFi problem
Replies: 55
Views: 17325

Re: ESP82xx_mega-20210503 WiFi problem

I wish you a quick return home!
Our landscape is a bit different. The country is almost 8 times larger than the Netherlands and 1/3 of the area is covered with forest.
by mackowiakp
09 May 2021, 15:02
Forum: ESP Easy: Software
Topic: ESP82xx_mega-20210503 WiFi problem
Replies: 55
Views: 17325

Re: ESP82xx_mega-20210503 WiFi problem

I did as you advised - and it works!

So greetings from Gdańsk. Does it look a bit like Amsterdam? Nothing unusual. The Old Town was built by the Netherlands...

IMG_0275.jpg
IMG_0275.jpg (510.34 KiB) Viewed 2132 times
by mackowiakp
07 May 2021, 10:40
Forum: ESP Easy: Software
Topic: ESP82xx_mega-20210503 WiFi problem
Replies: 55
Views: 17325

Re: ESP82xx_mega-20210503 WiFi problem

OK. Will add necessary lines to rule.

BTW. Still no crash with new FW You post me :D :D :D
by mackowiakp
07 May 2021, 03:29
Forum: ESP Easy: Software
Topic: ESP82xx_mega-20210503 WiFi problem
Replies: 55
Views: 17325

Re: ESP82xx_mega-20210503 WiFi problem

Why would you want to force it? All the time I refer to the situation that occurs with me (and maybe not only with me), i.e. frequent power cuts. As I understand, it works at this moment like this. If the first AP ("better") "disappears", the ESP will switch to the second. fallb...
by mackowiakp
06 May 2021, 17:50
Forum: ESP Easy: Software
Topic: ESP82xx_mega-20210503 WiFi problem
Replies: 55
Views: 17325

Re: ESP82xx_mega-20210503 WiFi problem

No crash so far.... :D But let's consider a situation like mine. So frequent power losses of either one or the other AP. I set "WiFidisconnect" every 59 minutes, so that in the event of losing power to one of the APs, ESP would switch to the "better" AP after no more than 1 hour....