Search found 257 matches

by dynamicdave
09 Apr 2023, 19:09
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22558

Re: Very long time connecting to WiFi

I've just downloaded release ESP_Easy_mega_20230409_normal_ESP8266_4M1M.bin and flashed it on a Wemos D1 Mini. It seems a lot faster at booting-up and/or reconnecting the WiFi in about 5 to 6 secs. Previous releases, for me on the Wemos, were very slow. Thanks guys for another great release. PS: Hap...
by dynamicdave
07 Mar 2023, 12:22
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22558

Re: Very long time connecting to WiFi

Just tried that option - no difference in boot time.
It will be interesting to see if my friend in Boston, USA (who also uses Wemos D1 devices) encounters the same boot-up time.

If I revert to Mega_20220809_normal_ESP8266_4M1M.bin, the boot time is 5secs
by dynamicdave
07 Mar 2023, 10:40
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22558

Re: Very long time connecting to WiFi

Just tried... normal_beta_ESP8266_4M1M
It takes the same length of time (approx 15s) to boot-up/connect.
by dynamicdave
07 Mar 2023, 09:10
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22558

Re: Very long time connecting to WiFi

I mainly tested stability on the latest ESP8266 SDK3.x ("beta" builds) and not the older SDK. Where do I find that version? The sequence I performed was... I downloaded ESPEasy_mega_20230306_ESP82xx_binaries.zip from the website, then unzipped it and used ESP_Easy_mega_20230306_normal_ESP...
by dynamicdave
07 Mar 2023, 08:50
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22558

Re: Very long time connecting to WiFi

Just flashed ESP_Easy_mega_20230306_normal_ESP8266_4M1M onto a Wemos D1 Mini (that I've been using for a year or two with various releases of ESPeasy). It takes nearly 15-seconds from pressing the Tools > Reboot option to when the blue LED comes on. Are there any specific options I should be using w...
by dynamicdave
18 Jan 2023, 17:07
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22558

Re: Very long time connecting to WiFi

I've encountered the same problem (long time to connect to WiFi) on the last two releases on a Wemos D1 Mini.

The last release that gave an acceptable connect time for me was... Mega_20220809_normal_ESP8266_4M1M.bin
by dynamicdave
16 Jun 2022, 09:48
Forum: ESP Easy: General Discussion
Topic: Measure & Power ESP8266 with an INA219 and Battery
Replies: 5
Views: 4287

Re: Measure & Power ESP8266 with an INA219 and Battery

I've deleted my circuit in case it caused confusion.
by dynamicdave
13 Jun 2022, 08:03
Forum: Introduce yourself
Topic: Hi all. Im newbie.
Replies: 3
Views: 4423

Re: Hi all. Im newbie.

That's a wide-open question with loads of potential answers. What hardware, software and sensors have you access to? I assume you are running ESPeasy on some sort of platform (which one)? Can you give us some idea of what projects previous students at your university have tackled? Also is this a fir...
by dynamicdave
07 Jan 2022, 10:49
Forum: ESP Easy: Software
Topic: MQTT Import topic subscribe fields too short
Replies: 20
Views: 12961

Re: MQTT Import topic subscribe fields too short

Thanks for your swift response.
It's not an issue as I can handle it the way I'm doing it now.
Much better for the 'Team' to concentrate on higher priority features/issues.
by dynamicdave
07 Jan 2022, 08:44
Forum: ESP Easy: Software
Topic: MQTT Import topic subscribe fields too short
Replies: 20
Views: 12961

Re: MQTT Import topic subscribe fields too short

Thus, if it were possible to set the user prefix globally, it would be cool! A theoretical solution would be to add string type vars to ESPEasy. Besides general purpose use, they could be used as string substitutes in the application you mentioned. For example, initialize the string var at boot in ...
by dynamicdave
12 Nov 2021, 14:29
Forum: ESP Easy: Hardware
Topic: Wemos D1 mini - which GPIO ports for relays?
Replies: 30
Views: 17975

Re: Wemos D1 mini - which GPIO ports for relays?

No idea what you are using the other pins for - but if you have I2C running on them you could consider the PCF8574A I2C Port Expander.
Probaly not a lot of difference in cost between this chip and a Wemos D1 Mini.
by dynamicdave
12 Nov 2021, 11:00
Forum: ESP Easy: Hardware
Topic: Wemos D1 mini - which GPIO ports for relays?
Replies: 30
Views: 17975

Re: Wemos D1 mini - which GPIO ports for relays?

Have a look at this excellent document. https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/ It also depends how you are driving the relay. I suspect you are using a transistor driven from a D-pin. You have to be mindful of what happens to certain pins during boot-up. This is because you ...
by dynamicdave
05 Nov 2021, 08:30
Forum: ESP Easy: General Discussion
Topic: How to clear or reset a timer?
Replies: 7
Views: 6463

Re: How to clear or reset a timer?

Thanks I did wonder about events stacking up.

Just tried using... AsyncEvent,rules#timer=1
Works really well.

Thank you.
by dynamicdave
05 Nov 2021, 08:22
Forum: ESP Easy: General Discussion
Topic: How to clear or reset a timer?
Replies: 7
Views: 6463

Re: How to clear or reset a timer?

Thanks for the suggestion to use... event,rules#timer=1 That works really well for my current project. Basically what I have is a 300-second timer. Every time it expires (every 5-mins) it will collect a temperature reading and sends it, via MQTT, to Node-RED where it is stored in a MySQL db and show...
by dynamicdave
04 Nov 2021, 18:50
Forum: ESP Easy: General Discussion
Topic: How to clear or reset a timer?
Replies: 7
Views: 6463

Re: How to clear or reset a timer?

In the documentation it says it 'disables' the timer (which is what seems to happen in my rule-set).

TimerSet,<timernr>,0 (disables the timer)

I just wanted to clear or reset the timer.
I'll try the TimerSet_ms,<timernr>,<time in msec> command as I didn't know that existed.
by dynamicdave
04 Nov 2021, 14:47
Forum: ESP Easy: General Discussion
Topic: How to clear or reset a timer?
Replies: 7
Views: 6463

How to clear or reset a timer?

Is there a way to clear a timer that is running? Say, for example I have a timer that runs for 30-secs and I want to clear it so... On Rules#Timer=1 Do fires What I'm doing at the moment (which works fine) is setting the timer to 1-second ( timerSet,1,1) so one second later the rule fires. Just wond...
by dynamicdave
18 Oct 2021, 10:32
Forum: ESP Easy: General Discussion
Topic: What are the best WiFi settings?
Replies: 3
Views: 5292

Re: What are the best WiFi settings?

Thanks for the heads-up on that - I will certainly give that a 'try' today.
by dynamicdave
17 Oct 2021, 11:45
Forum: ESP Easy: General Discussion
Topic: What are the best WiFi settings?
Replies: 3
Views: 5292

What are the best WiFi settings?

I have an old ESP01-S running ESP_Easy_mega_20200703_normal_ESP8266_1M that picks up 17 APs when I do a Scan for WiFi networks. I also have a Wemos D1 Mini (also an ESP8266) running ESP_Easy_mega_20211005_normal_ESP8266_4M1M that only picks up 3 APs. These two devices are sitting right next to each ...
by dynamicdave
16 Oct 2021, 21:30
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7843

Re: Rules not working 20201227 and later

Thanks for all your help. I have no idea what has changed from this morning. I swear it wasn't working and none of the other versions would work until I got back to 2020127. Now after reflashing (again) with 20211105 it has decided to behave itself!!! Makes me out to be a fraud !! Totally confused o...
by dynamicdave
16 Oct 2021, 20:42
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7843

Re: Rules not working 20201227 and later

I don't believe this - I couldn't wait until tomorrow, so I went and got all the kit and reflashed it with... ESP_Easy_mega_20211005_normal_ESP8266_4M1M
It appears to be publishing the switch states now via MQTT.
by dynamicdave
16 Oct 2021, 20:21
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7843

Re: Rules not working 20201227 and later

Well it is developing into a fun project. I'm using Alexa with some nodes in Node-RED, so I can say things like... "Alexa, open garage door" or "Alexa, close garage door" I dropped one of the remote control key fobs the other day - broke the plastic case - BUT the electronics sti...
by dynamicdave
16 Oct 2021, 19:52
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7843

Re: Rules not working 20201227 and later

It's really strange - it works fine in mega-version ESP8266 20201227, but in later versions it doesn't. I've spent too much time on it today, but will insert some debugs, as suggested, and see if it is entering... on top#level do I'm actually using a Wemos D1 Mini fitted with a 4Mb chip and an ESP01...
by dynamicdave
16 Oct 2021, 18:43
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7843

Rules not working 20201227 and later

I'm probably doing something incorrectly, but I can't make a rule for a normal switch to work after release esp8266-normal-2020-1227 I have two switches named top and bottom. I can see the values changing if I look on the devices tab. But the rule dosen't want to publish the value. If I send an even...
by dynamicdave
04 Jun 2021, 17:46
Forum: ESP Easy: Hardware
Topic: Using INA219 with an ESP8266 to self-report
Replies: 6
Views: 9440

Re: Using INA219 with an ESP8266 to self-report

The main problem with using a board with an on-board regulator like the NodeMCU 12E or the Wemos D1 Mini is... The INA219 needs to be placed in the supply rail/pin in order to measure voltage and current. This is tricky as it means cutting and re-soldering tracks - something I would AVOID at all cos...
by dynamicdave
02 Jun 2021, 19:44
Forum: ESP Easy: Hardware
Topic: Using INA219 with an ESP8266 to self-report
Replies: 6
Views: 9440

Re: Using INA219 with an ESP8266 to self-report

I think (from my faded memory) the IN219A measures 'things' in the high-end.
So far, I've not encountered any problems using these devices.
by dynamicdave
02 Jun 2021, 08:10
Forum: ESP Easy: Hardware
Topic: Using INA219 with an ESP8266 to self-report
Replies: 6
Views: 9440

Re: Using INA219 with an ESP8266 to self-report

I use a Wemos D1 Mini (ESP8266-based) and a IN219 in my weather station to report the voltage/current/wattage of the solar panel that is connected to the Wemos. The IN219 has an I2C interface so it is very easy to connect it to the Wemos. Also the series resistor in the IN219 (which is used to measu...
by dynamicdave
01 Feb 2021, 09:02
Forum: ESP Easy: Software
Topic: Can't seem to control GPIO pins
Replies: 2
Views: 3665

Re: Can't seem to control GPIO pins

The command you posted doesn't look right.

Have you tried...

Code: Select all

http://192.168.86.43/control?cmd=GPIO,15,1
by dynamicdave
29 Dec 2020, 09:28
Forum: ESP Easy: Projects / Applications
Topic: MQTT Publish - correct syntax?
Replies: 11
Views: 12626

Re: MQTT Publish - correct syntax?

I would have thought the publish command should be...

Publish,%sysname%/BOFF/status,1

Publish,%sysname%/BOFF/status,0
by dynamicdave
19 Dec 2020, 13:22
Forum: ESP Easy: General Discussion
Topic: MQTT publishing a 'log'
Replies: 7
Views: 8336

Re: MQTT publishing a 'log'

This is the version I think is the latest in the link you sent me.
It doesn't work - it still sends a log.
Screen Shot 12-19-20 at 12.19 PM.JPG
Screen Shot 12-19-20 at 12.19 PM.JPG (118.18 KiB) Viewed 8309 times
by dynamicdave
19 Dec 2020, 12:48
Forum: ESP Easy: General Discussion
Topic: MQTT publishing a 'log'
Replies: 7
Views: 8336

Re: MQTT publishing a 'log'

I've tried with ESP_Easy_mega_20201130_normal_ESP8266_4M1M and can operate the GPIO pins by sending 0 or 1 to the topic.... homeDevice/command/gpio/12 In fact I can control the GPIO pins with... homeDevice/command/cmd/gpio/12 as well !!! Which is the correct format? It's the single string "Ok&q...
by dynamicdave
19 Dec 2020, 11:52
Forum: ESP Easy: General Discussion
Topic: MQTT publishing a 'log'
Replies: 7
Views: 8336

Re: MQTT publishing a 'log'

I'm sending a value 0 or 1 from Node-RED to this topic... homeDevice/command/gpio/12 The subscribe setting in ESP Easy for Home Assistant (openHab) is.... homeDevice/command/# I can send an event command e.g. homeDevice/command/cmd to trigger one of rules - and that works fine. So what's the new for...
by dynamicdave
19 Dec 2020, 11:31
Forum: ESP Easy: General Discussion
Topic: MQTT publishing a 'log'
Replies: 7
Views: 8336

MQTT publishing a 'log'

Just noticed that from ESP Easy release 221016 onwards MQTT (OpenHAB) seems to be publishing what looks like a log and the topic-name has not resolved the system variables. My rule-set works fine with releases up to this date, but not after it. I'm using ESP_Easy_mega_20201022_normal_ESP8266_4M1M on...
by dynamicdave
16 Aug 2020, 20:46
Forum: ESP Easy: Projects / Applications
Topic: Using an ESP-01 to WiFi-enable an Arduino Nano
Replies: 3
Views: 14290

Re: Using an ESP-01 to WiFi-enable an Arduino Nano

Where would I locate the P087_SerialProxy plugin ?
by dynamicdave
15 Aug 2020, 10:57
Forum: ESP Easy: Projects / Applications
Topic: Using an ESP-01 to WiFi-enable an Arduino Nano
Replies: 3
Views: 14290

Using an ESP-01 to WiFi-enable an Arduino Nano

Has anyone any useful links on how to WiFi-enable an Arduino Nano with an ESP-01 running ESP Easy ?? I've looked around on the web and found most documents are either "old" or don't specifically mention using ESP Easy. My objective is to collect information from a remote weather station an...
by dynamicdave
08 Aug 2020, 09:30
Forum: ESP Easy: Hardware
Topic: Sonoff as wall plug
Replies: 6
Views: 10245

Re: Sonoff as wall plug

I've not used the S26, but I have many of the S20 version in use around my house here in the UK. I operate them from Node-RED via MQTT protocol. The S20 is very easy to flash with ESP Easy or Tasmota as it has four pads on the PCB that bring out the connections you need. All you need to do is solder...
by dynamicdave
01 Aug 2020, 08:27
Forum: ESP Easy: General Discussion
Topic: 'ping' option in recent releases
Replies: 2
Views: 5792

Re: 'ping' option in recent releases

Thanks - that works a treat.
by dynamicdave
31 Jul 2020, 13:19
Forum: ESP Easy: General Discussion
Topic: 'ping' option in recent releases
Replies: 2
Views: 5792

'ping' option in recent releases

Just checking if there is a 'ping' option in any of the recent ESP-Easy releases.

The last one I found that had it was 20190311 2.5 and 2.6

Regards, David
by dynamicdave
25 Jun 2020, 14:50
Forum: ESP Easy: Projects / Applications
Topic: Arduino Nano + INA219 = cheap current scope
Replies: 12
Views: 33884

Re: Arduino Nano + INA219 = cheap current scope

What a great use for a INA219 - I might try that out with a spare Wemos D1 Mini as the current scope.
by dynamicdave
13 Jun 2020, 13:33
Forum: ESP Easy: Software
Topic: publish command not working in Rule-Sets
Replies: 6
Views: 8853

Re: publish command not working in Rule-Sets

It will be interesting to hear if anyone else who uses BeeBotte as their remote MQTT broker has had any problems recently. Note: When I use the 'extended' credentials tick-option it seems to corrupt the token in the Controller User box after I do a re-boot. I'm sure my friend in Boston (who uses Wem...
by dynamicdave
13 Jun 2020, 12:21
Forum: ESP Easy: Software
Topic: publish command not working in Rule-Sets
Replies: 6
Views: 8853

Re: publish command not working in Rule-Sets

22 characters

e.g. token_MpvmXXXXXXXXXXeX

It includes the word... token_
by dynamicdave
12 Jun 2020, 17:13
Forum: ESP Easy: Software
Topic: publish command not working in Rule-Sets
Replies: 6
Views: 8853

Re: publish command not working in Rule-Sets

I think I've managed to sort out the issue. I'm using BeeBotte as my remote MQTT broker. I've found you have to insert the BeeBotte API Token in BOTH the Controller User and Controller Password boxes. The ESP Easy release dated 20200410 - you only had to enter the token in Controller User box. Not v...
by dynamicdave
11 Jun 2020, 18:16
Forum: ESP Easy: Software
Topic: publish command not working in Rule-Sets
Replies: 6
Views: 8853

publish command not working in Rule-Sets

Hi, I'm using this command in a Rule-Set... Publish,weatherStation/reading,'{"node_number":"%sysname%"}' It works fine in... mega-20200410 But none of the later releases work. i.e. mega-20200426, mega-20200516 and mega-20200608 Please let me know if there is a more appropriate pl...
by dynamicdave
27 May 2020, 09:06
Forum: ESP Easy: General Discussion
Topic: How to wake from deep sleep
Replies: 7
Views: 6203

Re: How to wake from deep sleep

Just a quick observation... in the original circuit there was a diode between RST and D0.
This has disappeared in the recent schematics - is it important?
No too sure as to the function of the diode, perhaps someone could explain.
by dynamicdave
25 May 2020, 08:54
Forum: Introduce yourself
Topic: Hello from Bristol, UK
Replies: 10
Views: 15760

Re: Hello from Bristol, UK

As your turn-off times are the same in both cases, you could use just one timer. on System#Boot do GPIO 0,1 endon on Clock#Time=%sunrise+1h% do // 1 hour after sunrise... GPIO 0,0 // turn on relay TimerSet,1,600 // wait for 10 minutes endon on Clock#Time=ALL,13:30 do // Give the plants some lunch......
by dynamicdave
19 May 2020, 21:07
Forum: ESP Easy: General Discussion
Topic: Publish in MQTT JSON format
Replies: 6
Views: 7976

Re: Publish in MQTT JSON format

I thought the json string needed single quotes around the curly brackets... (in the recent ESP Easy releases)

Code: Select all

Publish,<mqtt topic>,'{"latitude": [gps#latitude],"longitude": [gps#longitude], "Altitude": [gps#altitude], "Speed": [gps#speed]}'
by dynamicdave
16 May 2020, 09:53
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 70139

Re: moisture sensor

Hi, I found an old post about the problem in using VAR as the name for a variable. Although I've been using VARS since that time, I didn't have time to update the example/tutorial, sorry. The other thing.. I think you should have single quotes around your json string in your publish command publish ...
by dynamicdave
19 Apr 2020, 21:05
Forum: ESP Easy: Hardware
Topic: wiring new house for espeasy and power supply
Replies: 29
Views: 41088

Re: wiring new house for espeasy and power supply

Sorry I'm a bit late to the party... I'm paranoid about connecting a voltage directly to an input pin (just in case it was mis-configured as an output). I just use an extra resistor to limit the current and protect the input pin. I usually use two resistors connected as per the attachments. Fig-A is...
by dynamicdave
11 Apr 2020, 10:11
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 29
Views: 23296

Re: "Voting" for the most Easy controller!

I use the Home Assitant (OpenHab) MQTT feature on ESP Easy, purely to send/receive information to/from Node-RED running on a RPi-4B. I've found it very easy to set-up and get working especially as I teach a class of IoT students, where we have 12 Raspberry Pi(es) running Node-RED on a network with 1...
by dynamicdave
11 Apr 2020, 09:49
Forum: ESP Easy: Projects / Applications
Topic: Espeasy mega right formula for INA219 current
Replies: 9
Views: 13982

Re: Espeasy mega right formula for INA219 current

I've just lashed up a INA219 with a Wemos D1 Mini (FW=mega-20191003) and get correct readings I've got a 330 ohm resistor across the 3v3 rail (so the current should be 10mA). As you can see from the screen-shots the current is 10mA. The only differennce I can see is I'm using a "Measure range&q...