Search found 251 matches

by mackowiakp
27 Sep 2020, 18:56
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

In fact, I use LUA script to call BASH script. Why? Because I not so clever in LUA. So LUA script looks like: local sensor = '<name_of_virt_switch>' commandArray = {} if (devicechanged[sensor] == 'On') then os.execute ("/home/pi/Pobrane/get_temp1") os.execute ("/usr/bin/wget -q -O - http://localhost...
by mackowiakp
27 Sep 2020, 14:57
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

Once thanks for very helpful infos !
by mackowiakp
27 Sep 2020, 14:29
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

:D :D :D
One more question.What is the limitation of amount parameters that could be passed in single asyncevent request? Eight is not too much?
by mackowiakp
27 Sep 2020, 13:41
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

THX. Will try when my grandson allows :D
by mackowiakp
27 Sep 2020, 13:16
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

Asyncevent works properly in mega-20191208. For test needs I created two simple events: On display_off do LCDCMD,off endon On display_on do LCDCMD,on endon than, I run it from server using commands: wget -O - "http://<ESP_IP>/control?cmd=asyncevent,display_off" and wget -O - "http://<ESP_IP>/control...
by mackowiakp
27 Sep 2020, 06:14
Forum: ESP Easy: Software
Topic: Two questions concerning display variables on LCD
Replies: 5
Views: 1053

Re: Two questions concerning display variables on LCD

OK. Formatting number on LCD works as docu stands. Good work, unknown form me until now...
by mackowiakp
26 Sep 2020, 19:03
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

Yes, "event" works. "Asyncevent" will try tomorrow.
by mackowiakp
26 Sep 2020, 19:00
Forum: ESP Easy: Software
Topic: Two questions concerning display variables on LCD
Replies: 5
Views: 1053

Re: Two questions concerning display variables on LCD

Well. The man forgives and forgets. The woman will forgive. But forget - never forget. :lol:
by mackowiakp
26 Sep 2020, 14:40
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

OK, THX. Will try. Is it new feature? I ask because I use ESPEasy_mega-20191208.
by mackowiakp
26 Sep 2020, 14:30
Forum: ESP Easy: Software
Topic: Two questions concerning display variables on LCD
Replies: 5
Views: 1053

Re: Two questions concerning display variables on LCD

In the meantime, I ran several tests by manually inserting values into the variable. It seems that when changing from VAR to INT, rounding is used. For example, now the value of the variable (specifically pressure) is 1001.78. This is the value of the variable read from the ESP menu (Tools-> System ...
by mackowiakp
26 Sep 2020, 13:42
Forum: ESP Easy: Software
Topic: Two questions concerning display variables on LCD
Replies: 5
Views: 1053

Two questions concerning display variables on LCD

First. Lets assume that value of variable no.1 is equal 1234.56. If I use such command to display it on 4x20 LCD: LCD,1,1,[INT#1] does value variable no.1 will be display as "rounded to the nearest" (in this case display as 1235) or simply decimals positions will be cut? Second. Each variable has tw...
by mackowiakp
26 Sep 2020, 13:25
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

I think that it is not solution of my problem. In my case, ESP sends to Domoticz SendToHTTP request. This cause "push" of virtual button. LUA script associated with this button takes from Domoticz DB 8 parameters and sends one by one (via WGET HTTP) to ESP, placing them in the individual positions o...
by mackowiakp
24 Sep 2020, 20:48
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

OK. THX If it is impossible, then it is impossible...
by mackowiakp
24 Sep 2020, 18:35
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Re: Fill all dummy sensor entries in one json

Code: Select all

http://<ip>/control?cmd=TaskValueSet,<sensor_number>,<position_number>,<value>
by mackowiakp
24 Sep 2020, 17:57
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1397

Fill all dummy sensor entries in one json

Is it possible to fill all entries in quad dummy sensor in one json HTTP call from server to ESP instead fill it one by one (4 singe jason calls).
by mackowiakp
13 Sep 2020, 09:19
Forum: ESP Easy: Software
Topic: Properly recognize click, double click and longpress
Replies: 4
Views: 1611

Re: Properly recognize click, double click and longpress

I solved the problem by using the "inotifywait" command in the Domoticz bash script. Nevertheless, I leave the following possibility for easyESP developers to consider. E.g. Add a checkbox in the switch definition. And if this checkbox is checked and if the use of a button with double-click and/or l...
by mackowiakp
13 Sep 2020, 08:35
Forum: ESP Easy: Software
Topic: VS1053 mp3 decoder support
Replies: 3
Views: 1224

Re: VS1053 mp3 decoder support

Yes, the MP3 player module is supported. But it is a module that plays mp3 files stored on an SD card. The slot for such card is located on the module.
Well, so once I get the VS1053 module from Ali, I'll have to write something myself. Based on the project mentioned above but compatible with easyESP.
by mackowiakp
12 Sep 2020, 21:13
Forum: ESP Easy: Software
Topic: VS1053 mp3 decoder support
Replies: 3
Views: 1224

VS1053 mp3 decoder support

Is VS1053 MP3 decoder or similar in the project supported? I did not find a suitable module in the repository. But maybe I missed something. The goal was to make an internet radio. Such projects are on GitHub, such as https://github.com/karawin/Ka-Radio. But I would prefer to base all ESPs on the sa...
by mackowiakp
04 Sep 2020, 10:31
Forum: ESP Easy: Projects / Applications
Topic: 4x20 LCD custom characters
Replies: 10
Views: 15186

Re: 4x20 LCD custom characters

Nice idea!
by mackowiakp
04 Sep 2020, 08:39
Forum: ESP Easy: Software
Topic: Properly recognize click, double click and longpress
Replies: 4
Views: 1611

Re: Properly recognize click, double click and longpress

ESPEasy_mega-20191208, because this version works perfectly for me, without any HW/SW/Watchdog-reboot. And I will not change anything that works perfectly for me.
by mackowiakp
04 Sep 2020, 08:36
Forum: ESP Easy: Projects / Applications
Topic: 4x20 LCD custom characters
Replies: 10
Views: 15186

Re: 4x20 LCD custom characters

@mackowiakp could you add instruction on how to add national characters? I'm not sure where and how to add them. Sorry for the long delay in responding, but I was in India. And I came back, not with COVID but with some parasite. And I had to "visit" the Institute of Maritime and Tropical Medicine. ...
by mackowiakp
04 Sep 2020, 07:29
Forum: ESP Easy: Software
Topic: Properly recognize click, double click and longpress
Replies: 4
Views: 1611

Properly recognize click, double click and longpress

I want to use push-on (monostable) switch to change radio channels oan on/off via Domoticz. Single click, channel up/turn on, double click channel down, longpress - radio off The switch setup on the picture below: Screenshot_20200904_072159.png The problem is case of double-click, it first generate ...
by mackowiakp
09 Aug 2020, 06:11
Forum: ESP Easy: Hardware
Topic: Sonoff as wall plug
Replies: 6
Views: 2585

Re: Sonoff as wall plug

THX for replay !
by mackowiakp
08 Aug 2020, 16:05
Forum: ESP Easy: Hardware
Topic: Sonoff as wall plug
Replies: 6
Views: 2585

Re: Sonoff as wall plug

Hmm. I found out such WiFi plug. Looks nice. Does anybody had try to run Easyesp on it?

Image
by mackowiakp
08 Aug 2020, 10:59
Forum: ESP Easy: Hardware
Topic: Sonoff as wall plug
Replies: 6
Views: 2585

Re: Sonoff as wall plug

OK, thank you very much colleagues for advice. I will look for the S20 version on Ali with an EU plug/socket (because this is the standard in my country).
by mackowiakp
08 Aug 2020, 08:55
Forum: ESP Easy: Hardware
Topic: Sonoff as wall plug
Replies: 6
Views: 2585

Sonoff as wall plug

Has any of your colleagues used Sonoff of the type shown in the photo?
Can it be disassembled without damaging the housing and install ESPeasy?
It looks cool because it has the form of a plug, so you don't have to cut the original cables in the controlled device.

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

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: 2864

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: 3272

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: 3272

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: 3218

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: 9802

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: 3218

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: 9802

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: 9802

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: 3218

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: 4548

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: 4548

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: 5220

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: 5220

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: 5220

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: 5220

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: 5220

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: 5359

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: 8477

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: 8477

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: 8477

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: 8477

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: 8477

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.