Search found 257 matches

by dynamicdave
05 Apr 2020, 10:28
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 42981

Re: nodemcu on battery

Here's a link to a write-up of a solar-powered weather station one of my IoT students tackled last year (2019). Didn't modify the (power routing on the) Wemos D1 Mini as didn't know about the CH340 issues and I doubt if our soldering skills would have been good enough. Ran the weather station with n...
by dynamicdave
02 Apr 2020, 12:49
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 21
Views: 13906

Re: ESPEasy-20200328 can't change rule sets

In full-screen mode it appears at the BOTTOM with a window showing the rules to the RIGHT.

If I reduce the width of the window, then it moves to the TOP of the screen.

I don't have an issue with that behaviour.

David
by dynamicdave
02 Apr 2020, 08:26
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 21
Views: 13906

Re: ESPEasy-20200328 can't change rule sets

Hi,
I've tried the following FW on a WeMos D1 Mini and can confirm the Rule Set selection is WORKING again.

ESP_Easy_mega-20200328-15-PR_2972_normal_ESP8266_4M1M.bin
by dynamicdave
01 Apr 2020, 13:08
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 21
Views: 13906

Re: ESPEasy-20200328 can't change rule sets

I get exactly the same problem - can't change to another rule set.
I suspect the drop-down buttons aren't working.
by dynamicdave
11 Mar 2020, 09:50
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 118
Views: 135206

Re: Solar Power Supply

Here's a link to a Solar-Powered Weather Station project one of my IoT students tackled last year (July 2019).
It includes a write-up on using 'Deep Sleep' with a Wemos D1 Mini running ESP-Easy.

https://discourse.nodered.org/t/solar-p ... tion/12499

Hope you find it helpful/useful.
by dynamicdave
06 Mar 2020, 15:12
Forum: Introduce yourself
Topic: How to command ESPEASY GPIO thru MQTT Mosquitto
Replies: 13
Views: 21967

Re: How to command ESPEASY GPIO thru MQTT Mosquitto

What I do in Node-RED is to use a MQTT-Out node (running Mosquitto) which is set-up with the IP address of your server then set-up the topic in the MQTT-Out. Something like... nodeXX/gpio/14 Where nodeXX is the 'Unit Name' as used in the ESP-Easy Config tab. 14 relates to the GPIO pin, which in this...
by dynamicdave
28 Feb 2020, 20:07
Forum: ESP Easy: Software
Topic: Nested If constructs
Replies: 7
Views: 8266

Re: Nested If constructs

I think I read somewhere the nested level depth was three(3).
(Which by coincidence is what my code has.)

So are you saying that I should remove all the comments?

I only put them in the code to make it obvious as to what was happening.

Thanks for your valuable feedback
by dynamicdave
27 Feb 2020, 10:23
Forum: ESP Easy: Software
Topic: Nested If constructs
Replies: 7
Views: 8266

Re: Nested If constructs

Thanks.

Is there any speed/performance issues with the way I've implemented it?

Note:
I did code it your way at the start, then thought I could improve the layout/readability.

Thanks again for your swift response.
by dynamicdave
27 Feb 2020, 09:43
Forum: ESP Easy: Software
Topic: Nested If constructs
Replies: 7
Views: 8266

Nested If constructs

This may seem a silly question. I've just got this rule-set working to turn an individual LED on depending on the numerical value in an 'event' sent via MQTT (from Node-RED to a Wemos D1 Mini). I'm surprised it works as I thought that ESP Easy didn't support nested IFs. I'm running mega-20200222 on ...
by dynamicdave
06 Feb 2020, 16:39
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6658921

Re: Support for PZEM 004T Energy monitor

Well I'm sort of hoping that now we have left the EU (I live in the UK) we'll be able to change the colour of our wires back to the scheme we had when I was a lad.

Red was Live
Black was Neutral
Green was Earth

Ha, ha, ha - wishful thinking.
by dynamicdave
06 Feb 2020, 07:50
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 34
Views: 30064

Re: 150 days online

Wooo - that must be a world record.
by dynamicdave
06 Feb 2020, 07:47
Forum: ESP Easy: Hardware
Topic: Display - OLED SSD1306 <<< layout problem
Replies: 1
Views: 7631

Display - OLED SSD1306 <<< layout problem

I'm using the ESP-Easy release 20200204 although this problem appears in previous releases. I'm sending a series of commands (like the following) from Node-RED to a Wemos D1 Mini using MQTT. msg.payload = "oledcmd,clear"; node.send(msg); msg.payload = "oled,1,1,Weather Report"; /...
by dynamicdave
06 Feb 2020, 07:37
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6658921

Re: Support for PZEM 004T Energy monitor

Hi @djelau Thanks for your response. The only thing I was concerned about was damaging (i.e. KILLING) the PZEM-004 by connecting the AC connections the wrong-way round. I can't wait for the energy sensor to arrive so I can get the system up and running - sounds like a lot of fun. PS: I've ordered th...
by dynamicdave
04 Feb 2020, 18:39
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6658921

Re: Support for PZEM 004T Energy monitor

Thanks for the feedback. Yes the current is measured using a coil clamped around one of the mains cables. My question was... does it matter which way round the L and N wires are connect in respect of destroying the PZEM-004 ? From your response I think it doesn't - just might affect the reading. Dav...
by dynamicdave
04 Feb 2020, 13:31
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6658921

Re: Support for PZEM 004T Energy monitor

I've just ordered a PZEM-004 v3 from China (with the external split CT sensor) - this particular version is housed in a plastic box for safety. I'm a bit confused as to the correct connection for AC mains as they seem to vary between photos. On the function diagram (screenshot-090) it shows 'Live' o...
by dynamicdave
19 Jan 2020, 08:28
Forum: ESP Easy: Software
Topic: value with the date and time.
Replies: 5
Views: 5191

Re: value with the date and time.

You can also take it a stage further and publish it as a json string. That means you could pack a number of data-items in the string. Here's an example from one of my rule-sets. Publish,node24/ir_detector,'{"ssid":"%ssid%","node_number":"node%unit%"}' Notice t...
by dynamicdave
11 Jan 2020, 20:55
Forum: ESP Easy: Hardware
Topic: No connection ESP01 and Relay
Replies: 51
Views: 46560

Re: No connection ESP01 and Relay

Only just seen this thread. I spent a couple days (a month or so ago) trying to sort out why the ESP-01 didn't work after I used the programmer, shown above, to flash it. Discovered like a few people that a pull-up is missing on SOME of the ESP-01 boards. I had a mixture of boards, so some worked an...
by dynamicdave
24 Dec 2019, 08:21
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 26016

Re: obscure problem with sendtohtttp (and thingspeak)

This is what I use in my weather station, and it works fine.

Please note the quote marks that surround the various parameters.

SendToHTTP,api.thingspeak.com,80,'/update?api_key=<insert your API key here>&field1=[ds18b20#temperature]'
by dynamicdave
12 Dec 2019, 17:44
Forum: ESP Easy: Hardware
Topic: Servo DS3218MG (Digital Servo)
Replies: 5
Views: 7153

Re: Servo DS3218MG (Digital Servo)

I'm not familar with that particular servo, however I found I needed to power my miniature servos from a separte power supply otherwise the sudden current surge as the servo starts to move puts the ESP8266 (Wemos D1 Mini) into reboot. Just something worth checking, as my servos appeared 'dead' the f...
by dynamicdave
07 Dec 2019, 14:17
Forum: ESP Easy: Software
Topic: HC-SR05 << firmware
Replies: 1
Views: 3879

HC-SR05 << firmware

Hi, I'm trying to get an HC-SR05 ultrasonic distance sensor to work with a Wemos D1 Mini and wanted to know the best version of ESP Easy to use. Although the sensor report distances, the readings sort of jump from reasonable distances to a fixed value of 1038. I'm using a level shifting board, so th...
by dynamicdave
05 Dec 2019, 18:30
Forum: ESP Easy: Projects / Applications
Topic: Collect data from ESP on SD card in router
Replies: 7
Views: 15629

Re: Collect data from ESP on SD card in router

What's wrong with sending the sensor data from the ESPs, via MQTT with a rule-set, to a Raspberry Pi running Node-RED ??
You can then do all sorts of things with the data... store it on the Pi's SD card (local file), write it to a database (local or remote) or send it to other places.
by dynamicdave
20 Nov 2019, 08:22
Forum: ESP Easy: Hardware
Topic: ESP01 and (S) flash but no wifi help
Replies: 7
Views: 7944

Re: ESP01 and (S) flash but no wifi help

When I first started using the ESP01s I bought a couple of these 'combo' boards. https://www.aliexpress.com/item/33019915868.html?spm=a2g0o.productlist.0.0.67df2ba3zsw2Od&algo_pvid=c32924df-5564-466b-ab3a-94687209cdfb&algo_expid=c32924df-5564-466b-ab3a-94687209cdfb-41&btsid=6636b3e5-cf69...
by dynamicdave
19 Nov 2019, 19:11
Forum: ESP Easy: Hardware
Topic: ESP01 and (S) flash but no wifi help
Replies: 7
Views: 7944

Re: ESP01 and (S) flash but no wifi help

I had exactly the same problem with two batches of ESP01s.
Drove me crazy for a couple of days!!!

Eventually found adding a 10K pull-up resistor from CH_PD to VCC sorted out the problem.
by dynamicdave
18 Nov 2019, 19:20
Forum: ESP Easy: General Discussion
Topic: ESP Easy remote admin panel
Replies: 3
Views: 6331

Re: ESP Easy remote admin panel

Sounds like a nice job for a Virtual Private Network (VPN). Although there are some free offerings available, you could consider using a Raspberry Pi (even an inexpensive RPi-Zero-W would work) and installing PiVPN on it. It would also mean that your parents don't reveal their internal IP address to...
by dynamicdave
14 Nov 2019, 23:55
Forum: ESP Easy: General Discussion
Topic: Incorrect readings of analog input
Replies: 9
Views: 10396

Re: Incorrect readings of analog input

Just checked my notes about the Wemos D1 Mini (a ESP8266-based microcontroller). The (new versions of the) Wemos D1 Mini have a couple of resistors (on-board the PCB board or maybe inside the chip) that act as a voltage divider. There's a 220K resistor in series with a 100K that connects to ground. ...
by dynamicdave
14 Nov 2019, 22:40
Forum: ESP Easy: General Discussion
Topic: Incorrect readings of analog input
Replies: 9
Views: 10396

Re: Incorrect readings of analog input

Well what a coincidence... I've just been writing a tutorial for my IoT students on the Witty module. Yes it does have an on-board LDR connected to A0 (analog input) as per the schematic linked to above. The integer readings I'm getting range from 17 (total blackness) to 1024 (full light from the fl...
by dynamicdave
09 Nov 2019, 21:13
Forum: ESP Easy: Software
Topic: [Solved] Trying to use MQTT to control a servo
Replies: 3
Views: 5402

[Solved] Re: Trying to use MQTT to control a servo

With some help from a friend I've got it working.

The MQTT topic should be... node68/cmd

And the payload should be... servo,1,14,120 (to move to 120 degrees)
by dynamicdave
09 Nov 2019, 20:41
Forum: ESP Easy: Software
Topic: [Solved] Trying to use MQTT to control a servo
Replies: 3
Views: 5402

[Solved] Trying to use MQTT to control a servo

I'm trying to use MQTT (from Node-RED) to control a servo - not working. The topic in the MQTT-Out node in NR is.... node68/servo/1/14 with a msg.payload of 120 The on-board blue LEDon the Wemos flashes to indicate a transfer has taken place, just seems the command is not understood. However, if I u...
by dynamicdave
02 Nov 2019, 15:08
Forum: ESP Easy: Software
Topic: Analog soil sensor
Replies: 8
Views: 9035

Re: Analog soil sensor

I use the formula (1024-%value%)/100 in my soil monitor.
Here's a link to the tutorial guide.

http://resources-area.co.uk/node-red-fl ... sensor.pdf

On my set-up I'm using a small-signal transistor to switch the +3V3 rail on/off to the soil sensor (to reduce the effects of corrosion).
by dynamicdave
01 Nov 2019, 18:39
Forum: ESP Easy: General Discussion
Topic: MQTT topic
Replies: 5
Views: 7999

Re: MQTT topic

Thanks for pointing out that I should have surrounded the json string (in the Publish command) with single quote marks.

I can confirm that the json string publishes correctly in this release ( ESP_Easy_mega-20191028-21-PR_2698_normal_ESP8266_4M1M.bin ).
by dynamicdave
01 Nov 2019, 18:37
Forum: ESP Easy: General Discussion
Topic: Publish not working anymore
Replies: 31
Views: 28436

Re: Publish not working anymore

Thanks for pointing out that I should have surrounded the json string (in the Publish command) with single quote marks.

I can confirm that the json string publishes correctly in this release ( ESP_Easy_mega-20191028-21-PR_2698_normal_ESP8266_4M1M.bin ).
by dynamicdave
01 Nov 2019, 16:10
Forum: ESP Easy: General Discussion
Topic: Publish not working anymore
Replies: 31
Views: 28436

Re: Publish not working anymore

I've just tried again with release... ESP_Easy_mega-20191028-21-PR_2698_normal_ESP8266_4M1M.bin I have a publish command in a rule-set to publish a 'json' string. It would seem if the payload is just a single item, then it works. Publish,node24/ir_detector,{"ssid":"%ssid%"} If it...
by dynamicdave
01 Nov 2019, 16:08
Forum: ESP Easy: General Discussion
Topic: MQTT topic
Replies: 5
Views: 7999

Re: MQTT topic

I've just tried again with release... ESP_Easy_mega-20191028-21-PR_2698_normal_ESP8266_4M1M.bin I have a publish command in a rule-set to publish a 'json' string. It would seem if the payload is just a single item, then it works. Publish,node24/ir_detector,{"ssid":"%ssid%"} If it...
by dynamicdave
01 Nov 2019, 14:38
Forum: ESP Easy: General Discussion
Topic: Publish not working anymore
Replies: 31
Views: 28436

Re: Publish not working anymore

I tried the version you mentioned and it does NOT work for me when I try to publish via a rule.

Note:
This is using a rule-set that works fine in a previous release (mega-20191003)
by dynamicdave
13 Oct 2019, 21:40
Forum: ESP Easy: Hardware
Topic: Any plans to support the TEA5767 FM receiver
Replies: 1
Views: 6644

Any plans to support the TEA5767 FM receiver

Hi,
Just checking if you have any plans to support the TEA5767 FM receiver that has an I2C interface ??

Kind regards, David
by dynamicdave
30 Sep 2019, 09:44
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210697

Re: Hardware Watchdog Reboots

Hi Sasch,
Could I take you up on your offer to send/publish your config settings as I'd like to setup one of my spare Wemos D1 Mini as a test vehicle.

Regards, David.

PS:
Oops - should have opened my eyes and look in the thread above.
by dynamicdave
29 Sep 2019, 08:18
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210697

Re: Hardware Watchdog Reboots

All my nodes (Wemos D1 Minis) have fixed IPs.

They all run Home Assistant (OpenHAB) MQTT.

I'll have to check and try fixing the WiFi channel and see if I can get a length of time that matches @Sasch600xt
by dynamicdave
28 Sep 2019, 17:35
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210697

Re: Hardware Watchdog Reboots

Just a quick update...

Just checked one of my Wemos nodes and was surprised that it had gone for 29-days without a reboot !!!
by dynamicdave
26 Sep 2019, 15:39
Forum: ESP Easy: General Discussion
Topic: Issue with PCF8574 & Relays
Replies: 20
Views: 20673

Re: Issue with PCF8574 & Relays

Where did the schematic diagram, shown above, come from???

It looks to me (the way it is wired) as if the relay contact will short-out the relay coil and destroy the transistor/FET !!!!
by dynamicdave
18 Sep 2019, 06:55
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210697

Re: Hardware Watchdog Reboots

Just checked one of my Wemos D1 Minis and found it had been running for over 18-days without a reboot.
This one has capacitors (large and small) fitted to the +5V and +3.3V power rails.
ScreenShot095.png
ScreenShot095.png (20.02 KiB) Viewed 45663 times
by dynamicdave
03 Sep 2019, 10:30
Forum: ESP Easy: Software
Topic: Rule for watering cycles
Replies: 7
Views: 7710

Re: Rule for watering cycles

The only comment I would make (from my experience of using 'rules') would be to place the timerSet,5,1 as the last statement. i.e. interchange the position of timerSet,5,1 and gpio,15,1 On Clock#Time=All,22:00 do let,1,1 // compteur de boucles (de 3 zones) de 1 à %v2% let,2,5 // nombre de boucles (d...
by dynamicdave
01 Sep 2019, 19:06
Forum: ESP Easy: General Discussion
Topic: Feedback required: New sets of plugins/controllers
Replies: 20
Views: 23614

Re: Feedback required: New sets of plugins/controllers

I'd give a thumbs-up for @iron suggestion (as I don't think it will be possible to make a set of lists to keep everyone happy).
by dynamicdave
31 Aug 2019, 21:04
Forum: ESP Easy: Software
Topic: Simulating a switch input
Replies: 1
Views: 4411

Simulating a switch input

Has something changed recently with the Switch plugin ??? I used to be able to send an event (from Node-RED vai MQTT) to trigger a rule that would toggle a GPIO pin. So I could (remotely) check if the input was working. I also used a Switch plugin to check the state of an input (on the same pin) (th...
by dynamicdave
26 Aug 2019, 20:11
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 118
Views: 135206

Re: Solar Power Supply

I bought these solar panels from Banggood for one of my students who built a solar-powered weather station earlier this year. https://www.banggood.com/5_5V-1W-180mA-9595mm-Polycrystalline-Mini-Solar-Panel-Photovoltaic-Panel-p-999056.html?rmmds=myorder&cur_warehouse=CN He used pretty well the sam...
by dynamicdave
24 Aug 2019, 19:43
Forum: ESP Easy: Hardware
Topic: ESP Board and Power via Battery
Replies: 5
Views: 10306

Re: ESP Board and Power via Battery

Here's the link to the project on Discourse Node-RED.

https://discourse.nodered.org/t/solar-p ... n/12499/73

The project was split into six managable stages.

I hope you find this useful.
by dynamicdave
23 Aug 2019, 10:22
Forum: ESP Easy: Hardware
Topic: ESP Board and Power via Battery
Replies: 5
Views: 10306

Re: ESP Board and Power via Akku

What's an Akku ???? Is it possible to put the ESP board in the shade and power it from a solar panel ??? One of my students has made a solar-powered weather station using a Wemos D1 Mini (ESP8266 running ESP-Easy). He puts the board to sleep for 15-minutes (to save energy), then when it wakes up it ...
by dynamicdave
23 Aug 2019, 09:42
Forum: ESP Easy: Software
Topic: Control some 5Volt leds with mqtt
Replies: 21
Views: 14782

Re: Control some 5Volt leds with mqtt

Wooooo - that's impressive.
Looks like you are collecting a lot of data.
Thanks for sharing your work.
by dynamicdave
23 Aug 2019, 09:04
Forum: ESP Easy: Software
Topic: Control some 5Volt leds with mqtt
Replies: 21
Views: 14782

Re: Control some 5Volt leds with mqtt

Really pleased to hear you got it working. The format you ended up with is very similar to what I would send from Node-RED via MQTT to a Wemos D1 Mini. Have a great weekend. Cheers from David. PS: What you could try next is... sending a message to your mobile phone using 'Telegram' telling you someo...
by dynamicdave
23 Aug 2019, 08:08
Forum: ESP Easy: Software
Topic: Control some 5Volt leds with mqtt
Replies: 21
Views: 14782

Re: Control some 5Volt leds with mqtt

Hi to @Quart
Just checking... Did you manage to get MQTT working to operate your LEDs ??
by dynamicdave
22 Aug 2019, 14:40
Forum: ESP Easy: Software
Topic: Control some 5Volt leds with mqtt
Replies: 21
Views: 14782

Re: Control some 5Volt leds with mqtt

Just guessing... but I would try a topic of.... YOUR_UNITS_NAME/gpio/15

and a Message of.... 0 or 1 or maybe "0" or "1"

Have you tried looking to see if there are any tutorials on the 'Homey' website ??

Best of luck.