Search found 372 matches

by Micha_he
11 Apr 2021, 17:42
Forum: ESP Easy: General Discussion
Topic: Custom WebUI
Replies: 39
Views: 17782

Re: Custom WebUI

Here's my last (test-)example webgui.esp. Round buttons's with color and state-text change, without external icons: <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .circle {width:80px; height:80px;border-radius:50%;display: inline-flex;cursor:p...
by Micha_he
09 Apr 2021, 15:52
Forum: ESP Easy: General Discussion
Topic: Custom WebUI
Replies: 39
Views: 17782

Re: Custom WebUI

I noticed a few things during my test with a custom dashboard: The device values like [task#value] are only replaced in the html/css-code, if the website has the extension '.esp'. If I renamed it to *.html it didn't work. The <style>-tag must enclosed with a <head>-tag, to work with android-webview ...
by Micha_he
08 Apr 2021, 13:49
Forum: ESP Easy: General Discussion
Topic: Custom WebUI
Replies: 39
Views: 17782

Re: Custom WebUI

Here the test's with a custom dashboard.esp (uploaded to the filesystem) isn't work, too.

Has someone a simple example ? I need a simple button to fire a event when I pressed him.
by Micha_he
08 Apr 2021, 13:39
Forum: ESP Easy: General Discussion
Topic: Any news to use a Switch/Dimmer with 50Hz input
Replies: 3
Views: 3790

Re: Any news to use a Switch/Dimmer with 50Hz input

Does the pulse-counter only generate an event on the interval setting or on every change ?
by Micha_he
08 Apr 2021, 13:29
Forum: ESP Easy: General Discussion
Topic: Any news to use a Switch/Dimmer with 50Hz input
Replies: 3
Views: 3790

Any news to use a Switch/Dimmer with 50Hz input

I have not noticed all the ESPEasy-changes in the last months... Are there any news on making a 50Hz-input workable with ESPEasy, without modify the circuit with a electrolytic capacitor? As used e.g. by MOES-switches input's. Can we configure the switch-input-plugin (or modify the source-code), so ...
by Micha_he
31 Mar 2021, 20:46
Forum: ESP Easy: Hardware
Topic: Timer: convert seconds in minutes
Replies: 20
Views: 11387

Re: Timer: convert seconds in minutes

Maybe with SubString in a Rule!? Look here: https://espeasy.readthedocs.io/en/lates ... Substring#
by Micha_he
25 Mar 2021, 09:28
Forum: ESP Easy: Hardware
Topic: Sonoff DUAL R3 - ESP32
Replies: 23
Views: 27888

Re: Sonoff DUAL R3 - ESP32

@jgrad: Any news? Did you get a ESPEasy-image to work on it?
by Micha_he
20 Mar 2021, 20:46
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 24
Views: 19664

Re: Different power consumption in sleep-modes !?

No, I don't have any of these ESP's.

Edit: I've created a issue on GitHub: https://github.com/letscontrolit/ESPEasy/issues/3556
by Micha_he
20 Mar 2021, 15:25
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 24
Views: 19664

Re: Different power consumption in sleep-modes !?

All tested units show the same behavior! With the current GIT-source and the firmware release 20210223 I've measure the following DeepSleep-current: ESP12F: 9,6mA Wroom02: 10,8mA With the modified (negated if-clause) DeepSleep.cpp, the DeepSleep-current sink to the following values: ESP12F: 18µA Wro...
by Micha_he
19 Mar 2021, 19:59
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 24
Views: 19664

Re: Different power consumption in sleep-modes !?

With the inverted check # if !defined(CORE_POST_2_5_0) the firmware works as expected. Both ('Sleep awake time' on config page and 'DeepSleep,0'-command) results in a power consumption of ~20µA ;-) Can we modify the firmware, so that DeepSleep works properly on all ESP's ? I'll test and measure some...
by Micha_he
19 Mar 2021, 15:51
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 24
Views: 19664

Re: Different power consumption in sleep-modes !?

Info: In the firmware 'ESP_Easy_mega_20200608_normal_ESP8266_1M_VCC' works both, 'Sleep awake time' on config page and 'DeepSleep,0'-command.

I'll test your hint with the inverted check later today and report the results here.
by Micha_he
19 Mar 2021, 15:21
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 24
Views: 19664

Re: Different power consumption in sleep-modes !?

I'll bring the thread up again. The problem, that the deepsleep of my ESP-01 uses ~12mA instead of correctly ~20µA, is now (tested firmware ESP_Easy_mega_20210223 and the current sourcecode from GIT) always present, DeepSleep via Config-page and via 'DeepSleep,0'-command. A test with a firmware 'ESP...
by Micha_he
16 Mar 2021, 13:47
Forum: ESP Easy: Software
Topic: Problem with %unixday%
Replies: 7
Views: 4932

Re: Problem with %unixday%

The if-comparison seems to work. The problem was a reboot shortly after the Clock#Time-event.
And that reset the gpio-output. All test over the last days, are worked.
by Micha_he
14 Mar 2021, 11:49
Forum: ESP Easy: Software
Topic: Modulo operation in rules
Replies: 6
Views: 4891

Re: Modulo operation in rules

That works. But not in a if-condition. I must assign it to a var and usw then the var in the if-condition.
by Micha_he
14 Mar 2021, 11:22
Forum: ESP Easy: Software
Topic: Modulo operation in rules
Replies: 6
Views: 4891

Re: Modulo operation in rules

Tested with:
  • ESP_Easy_mega_20210223_hard_SONOFF_POW_4M1M
  • ESP_Easy_mega_20210223_hard_other_POW_ESP8285_1M
by Micha_he
14 Mar 2021, 11:13
Forum: ESP Easy: Software
Topic: Modulo operation in rules
Replies: 6
Views: 4891

Re: Modulo operation in rules

But on the linked page, isn't a example for mod, or? And the rule Let,4,{mod:15:7} Logentry,%v4% ends in the log 2312470: ACT : Let,4,{mod:15:7} 2312473: Calculate: Unknown token 2312478: ACT : Logentry,0 2312483: 0 and the rule Let,4,mod(15,7) Logentry,%v4% produce this 2732473: ACT : Let,4,mod(15,...
by Micha_he
14 Mar 2021, 10:43
Forum: ESP Easy: Software
Topic: Modulo operation in rules
Replies: 6
Views: 4891

Modulo operation in rules

Has someone a tip, how I can use the modulo-operator/-function (mod(x,y) or {mod:x:y} ) in a rule if-condition?
I can find help in the docs...

Thanks
by Micha_he
12 Mar 2021, 13:01
Forum: ESP Easy: Software
Topic: Problem with %unixday%
Replies: 7
Views: 4932

Re: Problem with %unixday%

:?: :roll: Isn't %unixday% the DAYS since 01.01.1970 ???

Why multiple from 60 ? The number should be the same since all the day, or?

I will continue tests at the weekend, then on another ESP with more memory so I can see log-entries.
by Micha_he
12 Mar 2021, 11:42
Forum: ESP Easy: Software
Topic: Problem with %unixday%
Replies: 7
Views: 4932

Re: Problem with %unixday%

Yes, I checked the content of INT#1 (resp. %v1%). It's correct.
by Micha_he
12 Mar 2021, 09:53
Forum: ESP Easy: Software
Topic: Problem with %unixday%
Replies: 7
Views: 4932

Problem with %unixday%

I've a problem with the following rule. The event isn't executed: on System#Boot do Let,1,18698 // for test today endon on Clock#Time=All,06:30 do if %unixday%=[INT#1] Event, TestEvent endif endon Firmware is the last official 'hard_other_POW_ESP8285_1M', NTP is set and working, variable 1 is correc...
by Micha_he
03 Mar 2021, 14:02
Forum: ESP Easy: Hardware
Topic: Replace SPI-Flash... Different codes
Replies: 5
Views: 8154

Re: Replace SPI-Flash... Different codes

The W25Q64FVSIG flashes are arrived today. They are working currently on two of my ESP01 (replaced P25Q80H).
Now they have 8MB and I can update them with OTA...
by Micha_he
01 Mar 2021, 12:16
Forum: ESP Easy: General Discussion
Topic: Other way to get value of a var in minimal 1MB
Replies: 2
Views: 3672

Re: Other way to get value of a var in minimal 1MB

Too complicated. I use only a quick solution to check the value while design a rule...

I've found a workaround.

A command "%v1% produce an error 'Command unknown: xxx', but replace the '%v1% with actual value.
Not nice, but it works.
by Micha_he
01 Mar 2021, 10:31
Forum: ESP Easy: General Discussion
Topic: Other way to get value of a var in minimal 1MB
Replies: 2
Views: 3672

Other way to get value of a var in minimal 1MB

I use the 'hard_other_POW_ESP8285_1M' image on my Neo CoolCam plug. This image has no sysinfo-page and no page for a log. The serial interface is not reachable, while it's in operation. Is there a chance to get the current value of a variable %v1%, which is modified with a rule, with the web-interfa...
by Micha_he
27 Feb 2021, 15:42
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

I didn't understand the complete discussion, but I mean no. My problem is: I need a system to compile some (more than one custom) special configurations and would like to make it available (manual) to others if necessary. But this in one simple configfile or script. The default VSCode/Platformio env...
by Micha_he
26 Feb 2021, 18:32
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

Another result confirms your thesis: I've read 1MB first from address 0x0 and then from 0x100000, both 1MB files are 100% identical. I'm now stop this analysis and go back to the 'hard_other_POW_ESP8285_1M'-image, until we've a compile-service to compile a 1MB-POW-ESP8266 image. My imagination would...
by Micha_he
26 Feb 2021, 15:23
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

I've done another test, with flash a blank 2MB. No problems, flash successful: NeoBlank2M.jpg Here's the sysinfo from the fresh flashed 'hard_Shelly_PLUG_S_2M256'-image: Flash Chip ID: Vendor: 0x85 (PUYA, supported) Device: 0x6014 Flash Chip Real Size: 1024 kB Flash IDE Size: 2048 kB Flash IDE Speed...
by Micha_he
26 Feb 2021, 10:52
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

TD-er wrote: 26 Feb 2021, 10:21 Even on the 1M builds, the sysinfo page should show the detected flash size.
Which parameter shows the 'detected' flash size?
Last you said, the sysinfo-page show only the size which was specified for the image while it build !?
by Micha_he
26 Feb 2021, 08:05
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

As sure as I can be. A picture says more as thousand words... NeoCoolcam.jpg Flash: Manufacturer=85 / Device=6014 What does the sysinfo page tell you? Too late, I've flashed the 'other POW 1MB 8285' image. Maybe with the next device, I've three of them. Is it possible, that the flash-chips are large...
by Micha_he
25 Feb 2021, 21:58
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

TD-er wrote: 25 Feb 2021, 16:17 You cannot use a 2M bin file on an 1M flash.
Maybe, but I've flashed it, it's booting and I can configure it.
TD-er wrote: 25 Feb 2021, 16:17 There is a "POW" image for 1M flash units.
But the only POW-1M is a image for 8285. But I mean, you said it will work on 8266 also?!
I'll test it...
by Micha_he
25 Feb 2021, 08:18
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

My NEO Coolcam NAS-WR01W are arrived. Opened, serial connected and 'xxx_hard_Shelly_PLUG_S_2M256.bin'-image flashed. Seems good, except that the name-change wasn't saved on the first attempts. But now it's ok. Now I've take a look at the flash-device: It's a PUYA P25Q80. But this flash has only 1MB....
by Micha_he
19 Feb 2021, 18:49
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17847

Re: Energy (AC) - HLW8012/BL0937

Look here https://espeasy.readthedocs.io/en/lates ... /P076.html
and execute it in your ESP under /Tools/Command.
by Micha_he
19 Feb 2021, 18:31
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17847

Re: Energy (AC) - HLW8012/BL0937

device1.png
device1.png (81.12 KiB) Viewed 17492 times
But the configuration data (three Ref parameter), can be other at your device.
You can use the hlwcalibrate-command to calibrate your device.
by Micha_he
19 Feb 2021, 18:08
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17847

Re: Energy (AC) - HLW8012/BL0937

hardware.png devices.png Task 4 is only for my special case, to remember last values... on System#Boot do AsyncEvent,Schalten=0 endon on MQTT#Connected do AsyncEvent,HoleStatus endon on Taster#Status=1 do AsyncEvent,Schalten endon on Schalten do if %eventvalue%=1 if [Relais#Status]=0 GPIO,12,1 endi...
by Micha_he
19 Feb 2021, 17:38
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17847

Re: Energy (AC) - HLW8012/BL0937

Data from my SONOFF POW R2, Board V2.0:

Relais GPIO12
Push-Button GPIO0
Wifi-Status-Led (D5, blue) GPIO13 (inversed)
Status-Led (D6, red) internal connected to Relais or GPIO12
by Micha_he
12 Feb 2021, 14:15
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

@TD-er: Even the one in rules?
by Micha_he
12 Feb 2021, 14:02
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

I have to make a back door in the rules.
GPIO16 to GND ;-)
by Micha_he
12 Feb 2021, 12:56
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

Smotek7 wrote: 12 Feb 2021, 12:41 SendTo,%sysname%/status,"Disabled"
'SendTo' sends only a command from one ESPEasy-unit, to another. Syntax: SendTo,<target-unit-nr>,<command>
In your usage it makes no sense! You can delete the line...
by Micha_he
12 Feb 2021, 11:43
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

You don't need MQTT for the usage of rules !

Simply omit the publish-commands or replace them with "LogEntry, 'text in the log'" in your rule example.
by Micha_he
12 Feb 2021, 11:18
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

But 'publish' is MQTT !? When you need a info in the log, you should use 'LogEntry'

Info: https://espeasy.readthedocs.io/en/lates ... mmand.html
by Micha_he
12 Feb 2021, 11:01
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

Instead... on WiFi#Connected do If [Switch#State]=0 publish,%sysname%/status,"Start" better use... on MQTT#Connected do If [Switch#State]=0 publish,%sysname%/status,"Start" when you publish to the MQTT server. And, I mean, you must set the 'Sleep awake time' to 0 to disable it, w...
by Micha_he
12 Feb 2021, 10:47
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

Smotek7 wrote: 12 Feb 2021, 09:54 connected GPIO16 (D0) to GND
but the board does not sleep,
It may be that I'm wrong. But I mean, the Deep-Sleep is temporary disabled, if you connect GPIO16 to GND.
by Micha_he
11 Feb 2021, 14:10
Forum: ESP Easy: Hardware
Topic: ESP8266 warming, heat radiation
Replies: 30
Views: 15716

Re: ESP8266 warming, heat radiation

Maybe it's the DS18b20 itself !?
If the time between the measurements is to low, the DS18b20 warms up itself.
by Micha_he
29 Jan 2021, 08:15
Forum: ESP Easy: Hardware
Topic: Replace SPI-Flash... Different codes
Replies: 5
Views: 8154

Replace SPI-Flash... Different codes

I would like to replace some of my (ESP01) flash chips with larger flash chips.

Can I use a Winbond W25Q64FVSSIG for this? Or what is the difference to W25Q64BVSSIG, except that it's slower?
Does anyone have information about this letter in the product-code?
by Micha_he
27 Jan 2021, 09:47
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

Nice thanks. Then I can order some to test them with ESPEasy :)
by Micha_he
26 Jan 2021, 16:10
Forum: ESP Easy: Hardware
Topic: Smart plugs supported by EasyESP
Replies: 48
Views: 39033

Re: Smart plugs supported by EasyESP

I understand it correctly, the 'Neo Coolcam NAS-WR01W' housing is screwed and it can be opened without destroying it?
Thanks for your help and your description...

Micha
by Micha_he
18 Jan 2021, 10:51
Forum: ESP Easy: General Discussion
Topic: Schedule reboot issue
Replies: 3
Views: 3673

Re: Schedule reboot issue

Or start a 60s timer at your time (12:00) and reboot when the timer expire.
by Micha_he
14 Jan 2021, 10:32
Forum: ESP Easy: General Discussion
Topic: MCP23017
Replies: 10
Views: 4328

Re: MCP23017

Here I can't help you. I've changed the expander from PCF8574 to MCP23017 at monday and I use only 6 output-ports.
If I set they to a specified state, I've not saw any wrong state after some minutes. Longer tests I've not performed yet.
by Micha_he
13 Jan 2021, 20:42
Forum: ESP Easy: General Discussion
Topic: MCP23017
Replies: 10
Views: 4328

Re: MCP23017

Look at the MCP23017-plugin documentation, which you can find, when you click at the '?', at the top oft the device config.
by Micha_he
13 Jan 2021, 08:39
Forum: ESP Easy: General Discussion
Topic: MCP23017
Replies: 10
Views: 4328

Re: MCP23017

I've setup a MCP23017 yesterday. Firmware 4M1M is from ~ november/december last year. I'll look in the log today evening, but all ports (1-6) works perfectly. In your log and in your config I see 'Port 0' !? Port numbers are from 1 to xxx, or ? Maybe this was different in R120 !? Edit: The log from ...
by Micha_he
27 Dec 2020, 17:52
Forum: ESP Easy: Software
Topic: Rules - calculate absolute value
Replies: 4
Views: 4481

Re: Rules - calculate absolute value

You can use '[value]^2^.5'