Search found 527 matches

by mackowiakp
23 Apr 2022, 07:31
Forum: ESP Easy: Hardware
Topic: MPU6050 based motion detector
Replies: 23
Views: 7198

Re: MPU6050 based motion detector

I will try as a last resort because I soldered everything nicely and "stuffed" it into a small housing. I ordered a new MPU6050 module because maybe it is the reason, but it has not yet arrived from China. For now, I will try if hard-reset (via any free GPIO) is enough to restore proper op...
by mackowiakp
23 Apr 2022, 07:07
Forum: ESP Easy: Hardware
Topic: MPU6050 based motion detector
Replies: 23
Views: 7198

Re: MPU6050 based motion detector

Yes, it is a very good solution and I had the same. My old washing machine had a two-color LED. It glowed red when the washing machine was running and green when it finished the cycle. But I bought a new washing machine which has a 5 year warranty. So I can't solder anything to it or interfere with ...
by mackowiakp
23 Apr 2022, 04:18
Forum: ESP Easy: Hardware
Topic: MPU6050 based motion detector
Replies: 23
Views: 7198

MPU6050 based motion detector

I made a system that signals the end of the washing machine's washing cycle. I used the ESP-CAM module for this, without the camera module, of course. As a sensor, a module based on MPU 6050 was used, mounted directly to the washing machine drum. I compiled the FW (ESP_Easy_mega_20211225_custom_ESP3...
by mackowiakp
19 Mar 2022, 23:43
Forum: ESP Easy: Software
Topic: Event value as unsigned int
Replies: 4
Views: 5479

Re: Event value as unsigned int

Wow! I haven't found the "abs" function anywhere in the documentation. Well, as you can see, it's my mistake.
Thanks TD-er!
by mackowiakp
19 Mar 2022, 18:07
Forum: ESP Easy: Software
Topic: Event value as unsigned int
Replies: 4
Views: 5479

Re: Event value as unsigned int

[int#n] stands for integer (signed). Of course It is possible to eliminate minus from number in rule. But is any direct way?
by mackowiakp
19 Mar 2022, 17:41
Forum: ESP Easy: Software
Topic: Event value as unsigned int
Replies: 4
Views: 5479

Event value as unsigned int

Is it possible to take value of event in rule as unsigned integer from given value?
by mackowiakp
16 Mar 2022, 13:40
Forum: ESP Easy: Hardware
Topic: Another question about Sonnoff DUAL R2
Replies: 4
Views: 6042

Re: Another question about Sonnoff DUAL R2

Yep. Security first !
zlew.jpg
zlew.jpg (14.23 KiB) Viewed 6020 times
by mackowiakp
16 Mar 2022, 09:07
Forum: ESP Easy: Hardware
Topic: Another question about Sonnoff DUAL R2
Replies: 4
Views: 6042

Re: Another question about Sonnoff DUAL R2

Thanks a lot for your quick reply. However, I would like to clarify one thing. because any connection inside is relative to mains. It is true in case of single channel Sonoff, POW ver and many others. But my copy of Sonnoff DUAL R2 has onboard "ordinary" power supply circuit which totally ...
by mackowiakp
16 Mar 2022, 03:54
Forum: ESP Easy: Hardware
Topic: Another question about Sonnoff DUAL R2
Replies: 4
Views: 6042

Another question about Sonnoff DUAL R2

Is it possible to use TX and/or RX serial port pins as additional input/output for push-on switch in ESPEasy FW? If so, whats are GPIO numbers of TX and RX pins? Serial port is disabled in ESP setup. I can not use already present onboard solder plates labelled as Button1 and Button2 because I use it...
by mackowiakp
13 Mar 2022, 12:56
Forum: ESP Easy: Hardware
Topic: Sonoff + POW + temp/hum sensors
Replies: 2
Views: 5935

Re: Sonoff + POW + temp/hum sensors

THX for answer !
by mackowiakp
13 Mar 2022, 07:24
Forum: ESP Easy: Hardware
Topic: Sonoff + POW + temp/hum sensors
Replies: 2
Views: 5935

Sonoff + POW + temp/hum sensors

Is there any type of Sonoff device that would have one relay, POW and input to the temperature sensor? I can't find anything like this on Ali or Shopee. As I understand it, if the ESPEasy firmware is installed, the DTH22 temperature and humidity sensor can be used instead of the original temperature...
by mackowiakp
13 Mar 2022, 07:17
Forum: ESP Easy: Hardware
Topic: Sonnoff DUAL R2
Replies: 6
Views: 6521

Re: Sonnoff DUAL R2

Thanks all for help!
by mackowiakp
11 Mar 2022, 18:21
Forum: ESP Easy: Hardware
Topic: Sonnoff DUAL R2
Replies: 6
Views: 6521

Re: Sonnoff DUAL R2

@Ath

You mean that ESPEasy_ESP82xx_mega-20211224 You found as a stable one?
by mackowiakp
11 Mar 2022, 18:00
Forum: ESP Easy: Hardware
Topic: Sonnoff DUAL R2
Replies: 6
Views: 6521

Re: Sonnoff DUAL R2

THX
by mackowiakp
11 Mar 2022, 17:25
Forum: ESP Easy: Hardware
Topic: Sonnoff DUAL R2
Replies: 6
Views: 6521

Sonnoff DUAL R2

I bought a Sonoff Dual R2 module. As far as I know it uses an 8285 processor. I have a few questions. - what is the pinout, i.e. GPIO`s used for relay1 and relay2, the onboard LED indicating WiFi connection and the LED indicating that the device is on? The latter is probably not connected to any GPI...
by mackowiakp
05 Jan 2022, 10:33
Forum: ESP Easy: Software
Topic: ESP32 WiFi encryption
Replies: 7
Views: 6969

Re: ESP32 WiFi encryption

THX for explanation!
by mackowiakp
05 Jan 2022, 04:29
Forum: ESP Easy: Software
Topic: ESP32 WiFi encryption
Replies: 7
Views: 6969

Re: ESP32 WiFi encryption

I checked how ESP32 and ESP8266 behave after power cycle and after soft reset, connected to the same AP with WPA/WPA2/PSK enabled (without open).
ESP32 shows [Encryption Type: open] in both cases, while ESP8266 always shows WPA/WPA2/PSK encryption.
by mackowiakp
04 Jan 2022, 20:26
Forum: ESP Easy: Software
Topic: ESP32 WiFi encryption
Replies: 7
Views: 6969

Re: ESP32 WiFi encryption

THX for answer.
I think It is the first situation.
by mackowiakp
04 Jan 2022, 18:12
Forum: ESP Easy: Software
Topic: ESP32 WiFi encryption
Replies: 7
Views: 6969

Re: ESP32 WiFi encryption

Look at WiFi scan below. The AP`s I talking about are the first two. Both are WPA/WPA2/PSK.
So You think (as I understand) that [Enchyption: open] statement is a bug and transmission is encrypted?
by mackowiakp
04 Jan 2022, 17:49
Forum: ESP Easy: Software
Topic: ESP32 WiFi encryption
Replies: 7
Views: 6969

ESP32 WiFi encryption

ESPEasy_ESP32_mega-20211224 ESP32 module shows [Encryption Type: open]. Does it mean that the transmission to the AP is not encrypted? The WiFi scan in the ESP Easy menu shows that the AP has WPA/WPA2/PSK encryption turned on. This is shown in the first screenshot. Interestingly, the ESP8266 module ...
by mackowiakp
02 Jan 2022, 14:40
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

In my case that it also affected WiFi in very old versions of FW.
Or strange readouts form sensors like 2500 hPa or so.
Now - i sensor is visible by ESP - readouts are correct.
by mackowiakp
02 Jan 2022, 14:15
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

Yes, one found. The fact is that in previous versions of the FW the entire bus was hanging and there was no WiFi access to the device. I don't know if it has anything to do with it, but it did. The device, however, "lived" because the LED that I connected specially was blinking and turned ...
by mackowiakp
02 Jan 2022, 02:34
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

Yes, there was communication. After swapping the SDA / SCL, I did a scan of the I2C devices and of course it showed no existence of any. After restoring the previous settings, I did the I2C scan again and only the BMP180 was detected. It is strange that one of the connected sensors is usually "...
by mackowiakp
02 Jan 2022, 01:42
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

OK, there's a problem with I2C again. I swapped SCL and SDA, saved it and changed it again (as You suggested). Unfortunately it didn't help. As usual, it was helpful to turn off the power for a while, wait about 30 seconds for the electrolytic capacitors to discharge (there are lots of them "on...
by mackowiakp
01 Jan 2022, 03:39
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

OK, will try if it happens next time.
But if so, is it possible to done this procedure from rule?
by mackowiakp
01 Jan 2022, 00:16
Forum: ESP Easy: Hardware
Topic: ESP Easy Mega - LAN connect ?
Replies: 14
Views: 8882

Re: ESP Easy Mega - LAN connect ?

THX and Happy New Year !
by mackowiakp
31 Dec 2021, 16:39
Forum: ESP Easy: Hardware
Topic: ESP Easy Mega - LAN connect ?
Replies: 14
Views: 8882

Re: ESP Easy Mega - LAN connect ?

OK, but can I use my USB to UART device for the first programming instead dedicated extra module?
I also use it for programming, for example, "ordinary" ESP32 modules that do not have onboard USB port.
by mackowiakp
31 Dec 2021, 14:43
Forum: ESP Easy: Hardware
Topic: ESP Easy Mega - LAN connect ?
Replies: 14
Views: 8882

Re: ESP Easy Mega - LAN connect ?

OK. There is something like this on Ali: https://www.aliexpress.com/item/4001122992446.html I do not understand why the more expensive set includes an additional module. Is this cheaper part not enough for operation and programming? Can anybody answer me to this question? As I understand SD slot wil...
by mackowiakp
31 Dec 2021, 13:01
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

BMP085/180 'survived' (I2C addr - 0x77). read-interval - 120 sec BME680 (I2C addr - 0x76) - no. read-interval - 120 sec "Try clear I2C bus when stuck:: - checked Soft reboot from console did not help. Hard reset via GPIO5 connected to RST - also not. Turning off the power for 4-5 minutes helped...
by mackowiakp
31 Dec 2021, 12:09
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

Today after 5 days of using ESPEasy_ESP82xx_mega-20211224 (custom compilation), the I2C bus "lost" one of the two connected sensors.
Interestingly, one was working properly all the time.
by mackowiakp
29 Dec 2021, 15:40
Forum: ESP Easy: Software
Topic: Probably wrong value of %iswifi% system variable
Replies: 8
Views: 6203

Re: Probably wrong value of %iswifi% system variable

Below my script. I use PWM to light LED because onboard LED on ESP-CAM is extremally bright, dedicated to light-up area in front of camera. Of course it is very easy to change it to use WiFi events for trigger action. on System#Boot do timerSet,1,300 // watchdog timerset,2,4 // OnBoard LED EndOn On ...
by mackowiakp
29 Dec 2021, 14:38
Forum: ESP Easy: Software
Topic: Probably wrong value of %iswifi% system variable
Replies: 8
Views: 6203

Re: Probably wrong value of %iswifi% system variable

Yes, this is a workaround. Just please note the sequence of events. I had a simple rule script that worked fine on ESPEasy_ESP32_mega-20210223. I have installed the latest version of the FW and the device has stopped working properly. I started looking for the cause and reported the potential proble...
by mackowiakp
29 Dec 2021, 13:19
Forum: ESP Easy: Software
Topic: Probably wrong value of %iswifi% system variable
Replies: 8
Views: 6203

Re: Probably wrong value of %iswifi% system variable

More info. The HW is ESP-CAM without camera module connected. The only sensor connected is I2C Gyro - MPU 6050 as vibration detector. Defined rule works as: - every 4 sec %iswifi% variable is checked - if %iswifi% < 7 - onboard LED - short flash. In other case LED on. - if %ifwifi% < 7 for at least ...
by mackowiakp
29 Dec 2021, 07:02
Forum: ESP Easy: Software
Topic: Probably wrong value of %iswifi% system variable
Replies: 8
Views: 6203

Probably wrong value of %iswifi% system variable

ESPEasy_ESP32_mega-20211224 (custom version). Below output of system variables. %iswifi% variable is equal 2. The unit is fully connected to WiFi, IP address assigned and so. In this case this value should be 7 according to docu. Value "2" is not listed as possible value of %iswifi% at all...
by mackowiakp
17 Dec 2021, 16:33
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

First I2C hangs after install FW ESP_Easy_mega_20211005_custom_ESP8266_4M1M.
Soft reboot does not help. Hardware reset via RST pin - too.
What helps, power cycle with 30 sec of power off.
by mackowiakp
24 Oct 2021, 05:34
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

Still no I2C issues/errors. Look nice !!!
by mackowiakp
12 Oct 2021, 17:11
Forum: ESP Easy: General Discussion
Topic: Virtual sensor in Domoticz for BME680
Replies: 16
Views: 11798

Re: Virtual sensor in Domoticz for BME680

Well, actually that format is documented
Yep. I haven't looked into the documentation for a long time, so I don't know what was added.
Anyway, "Use RTFM Technology First" ! (Read The Fu..en Manual) :D :D :D
by mackowiakp
12 Oct 2021, 16:26
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

Seams to work better since ESP_Easy_mega_20211005_custom_ESP8266_4M1M. No I2C malfunctions so far.
by mackowiakp
12 Oct 2021, 14:35
Forum: ESP Easy: General Discussion
Topic: Virtual sensor in Domoticz for BME680
Replies: 16
Views: 11798

Re: Virtual sensor in Domoticz for BME680

The name of parameters as define in task of device BME680. See screenshots:
Screenshot_20211012_142142.jpg
Screenshot_20211012_142142.jpg (182.63 KiB) Viewed 8510 times
Screenshot_20211012_142225.jpg
Screenshot_20211012_142225.jpg (90.08 KiB) Viewed 8510 times
Screenshot_20211012_142233.jpg
Screenshot_20211012_142233.jpg (92.58 KiB) Viewed 8510 times
by mackowiakp
12 Oct 2021, 13:59
Forum: ESP Easy: General Discussion
Topic: Virtual sensor in Domoticz for BME680
Replies: 16
Views: 11798

Re: Virtual sensor in Domoticz for BME680

Where is this format documented [BME680#Temperature];[BME680#Humidity]? I think - nowhere. Domoticz has no 4 parameters virtual sensor, suitable for BME680. At least in the version I'm using. So I SendToHTTP first temp, humidity and calculated value of environment condition in rule and separately p...
by mackowiakp
11 Oct 2021, 10:53
Forum: ESP Easy: General Discussion
Topic: Virtual sensor in Domoticz for BME680
Replies: 16
Views: 11798

Re: Virtual sensor in Domoticz for BME680

For example sending AQI readout to virtual Domoticz sensor from physical BME680 connected to ESP SendToHTTP 192.168.0.25,8080,/json.htm?type=command&param=udevice&idx=142&nvalue=0&svalue=[BME680#AQI] else 192.168.0.25 - IP of Domoticz server 8080 - Domoticz port 142 - id of virtual s...
by mackowiakp
01 Oct 2021, 16:40
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

Re: I2C bus possible problem.

When this happens, do you see errors on all I2C addresses when performing an I2C scan? in 95% cases, wrong measurements gives BMP180, in 5% - BME680. I did not notice the case of both wrong measurement results. But it is really hard to test. Yes. Such situation occur several times per day and then ...
by mackowiakp
30 Sep 2021, 16:09
Forum: ESP Easy: Software
Topic: I2C bus possible problem.
Replies: 19
Views: 10289

I2C bus possible problem.

Build: ESP_Easy_mega 20210820_custom_ESP8266_4M1M I have two sensors connected to the I2C bus, BMP180 and BME680. BMP180 is installed in a winter garden (together with whole esp based unit) and BME680 outside the building. The wall in the garden is thin, hence the length of the wires 15 cm max. Some...
by mackowiakp
19 Aug 2021, 17:50
Forum: ESP Easy: General Discussion
Topic: Problem after reinstalling VS-Code+Platformio on Linux
Replies: 7
Views: 5509

Re: Problem after reinstalling VS-Code+Platformio on Linux

And the case was explained. As usual, a stupid error. Catalog ~ /.platformio I have physically on another disk but there is a symbolic link to ~ /.platformio. And the group was not this.
Sometimes a man has an eclipse of the mind ....
by mackowiakp
02 Aug 2021, 20:14
Forum: ESP Easy: General Discussion
Topic: Problem after reinstalling VS-Code+Platformio on Linux
Replies: 7
Views: 5509

Re: Problem after reinstalling VS-Code+Platformio on Linux

I installed PlatformIO as a plugin. But for really, The icon of Platfotmaiao is not present
by mackowiakp
02 Aug 2021, 19:48
Forum: ESP Easy: General Discussion
Topic: Problem after reinstalling VS-Code+Platformio on Linux
Replies: 7
Views: 5509

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

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

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

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...