Search found 11 matches

by mrh_icb
28 Nov 2020, 04:42
Forum: ESP Easy: Software
Topic: Factory Reset via Reset Button
Replies: 0
Views: 10226

Factory Reset via Reset Button

A feature suggestion, which resulted from a recent application of ESPEasy in a home automation project: Factory Reset via Double (or Tripple) push of the reset button. Sometimes it is useful to factory reset a device and return to AP selection mode, without connecting the ESP to the PC for re-flashi...
by mrh_icb
28 Nov 2020, 01:03
Forum: ESP Easy: Software
Topic: Arithmetic in GPIO command with dummy values [solved]
Replies: 5
Views: 10582

Re: Arithmetic with dummy values

I had a look at the source code, and wow, there was this little bugger: // Only if TmpStr starts with '=' then call Calculate(). Otherwise do not call it if (TmpStr[0] != '=') { returnValue = str2int(TmpStr); } else { So the following works: gpio 0,=1-[CFG#inv0] log: 87328352: ACT : gpio 0,=1-1 8732...
by mrh_icb
28 Nov 2020, 00:27
Forum: ESP Easy: Software
Topic: Arithmetic in GPIO command with dummy values [solved]
Replies: 5
Views: 10582

Re: Arithmetic with dummy values

Thanks for the replies, I tried both but neither worked: With CFG#inv0=0 , The first solution gave me: gpio 0,(1-[CFG#inv0]) log: 84991164: ACT : gpio 0,(1-0) 84991166: GPIO : port#0: set to 0 The second solution gave me: gpio 0,[!CFG#inv0] log: 85147628: ACT : gpio 0, 85147630: GPIO : port#0: set t...
by mrh_icb
27 Nov 2020, 05:05
Forum: ESP Easy: Software
Topic: Arithmetic in GPIO command with dummy values [solved]
Replies: 5
Views: 10582

Re: Arithmetic with dummy values

Here is corresponding log output. CFG#inv0 was 1, so I'd expect GPIO-0 to be set to 0, but it ended up a 1: 15473617: ACT : gpio 0,1-1 15473619: GPIO : port#0: set to 1 15473622: ACT : gpio 2,1 15473624: GPIO : port#2: set to 1 15473710: SW : GPIO=0 State=1 Output value=1 15473746: SW : GPIO=2 State...
by mrh_icb
27 Nov 2020, 04:48
Forum: ESP Easy: Software
Topic: Arithmetic in GPIO command with dummy values [solved]
Replies: 5
Views: 10582

Arithmetic in GPIO command with dummy values [solved]

I have a simple rule which sets 2 GPIOs to opposite polarity. I am using a dummy device CFG with a value inv0 to configure the polarity, like this: gpio 0,1-[CFG#inv0] gpio 2,[CFG#inv0] CFG#inv0 is either 0 or 1, The second GPIO command works as expected, however the expression in the first GPIO com...
by mrh_icb
08 Nov 2020, 02:43
Forum: ESP Easy: Software
Topic: sendTo UDP reliability
Replies: 3
Views: 6182

sendTo UDP reliability

I am running into an issue with Inter-ESPEasy UDP packet drops. About 1 in 20 SendTo commands get dropped. This is my setup: - 5 ESP8266 (Wemos D1 minis) in Inter-ESPEasy Network, controlling 10 roller shades - each ESP controls 2 roller shade motors, the Wemos board is powered via buck converter fr...
by mrh_icb
08 Nov 2020, 01:56
Forum: ESP Easy: Software
Topic: simple web output [feature request]
Replies: 14
Views: 14150

Re: simple web output [feature request]

I use it for a simple web page hosted on the ESP itself, so I do not need any external hubs or web server, and I can still control lights, roller shades, etc. from my phone. The web page triggers rule events. Basic example: <head><title>Shade Control</title></head> <body> <div class="content&qu...
by mrh_icb
27 Oct 2020, 02:10
Forum: ESP Easy: Software
Topic: simple web output [feature request]
Replies: 14
Views: 14150

Re: simple web output [feature request]

Reviving this thread, does the template processing still work? I tried espeasy mega 20200829, but the {{tags}} do not get replaced,
by mrh_icb
09 Oct 2020, 04:54
Forum: ESP Easy: General Discussion
Topic: Sonoff Relay, UDP SendTo, and Wifi interference
Replies: 2
Views: 5907

Sonoff Relay, UDP SendTo, and Wifi interference

I ran into an interesting issue, when trying to use Global Sync / ESPEasy P2P to network several Sonoff BASIC relays. It seems that RF interference is caused by the Sonoff relay, which causes UDP packets dopped over Wifi. I thought I report my finding, in case anybody runs into it. I used 2 Sonoff B...
by mrh_icb
09 Oct 2020, 03:39
Forum: ESP Easy: Hardware
Topic: WIFI : Disconnected! Reason: '(200) Beacon timeout'
Replies: 74
Views: 138223

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

yes, I flashed empty 1MB image between versions
by mrh_icb
08 Oct 2020, 06:16
Forum: ESP Easy: Hardware
Topic: WIFI : Disconnected! Reason: '(200) Beacon timeout'
Replies: 74
Views: 138223

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

I am also facing the same issue on Sonoff BASIC R2 PCB V1.1 (ESP8266EX/1MB flash) with Release mega-20200929 Flash command: esptool --port /dev/ttyUSB0 --baud 115200 write_flash -fm dout -fs 1MB 0x00000 ESP_Easy_mega_20200929_normal_ESP8266_1M.bin 60254 : Info : WIFI : Disconnected! Reason: '(200) B...