Search found 132 matches

by dynamicdave
24 Jul 2019, 08:49
Forum: ESP Easy: General Discussion
Topic: HTTP request -> LCD??
Replies: 2
Views: 37

Re: HTTP request -> LCD??

Hi, I've been using MQTT to publish messages( i.e. temperature values and supporting text like "Too Hot", "OK", "Too Cold") to a miniature OLED I2C module (connected to an Wemos Mini D1 ESP8266). I know it's not HTTP but MQTT works really well on the ESP8266 with ESP Easy (and a Raspberry Pi etc...)...
by dynamicdave
23 Jul 2019, 11:56
Forum: ESP Easy: General Discussion
Topic: Changing output of the readings in ESP Easy
Replies: 2
Views: 70

Re: Changing output of the readings in ESP Easy

Don't know if this will help. I use the 'publish' command within a Rule-Set to publish a JSON string of values. e.g. publish remoteDevice/dataTransfer/reading,{"local_time":"%lcltime_am%","ssid":"%ssid%","ip":"%ip%","temperature":[data#t],"humidity":[data#h],"pressure":[data#p],"latitude":[my#lat],"...
by dynamicdave
08 Jul 2019, 21:36
Forum: ESP Easy: General Discussion
Topic: Power consumption
Replies: 25
Views: 1032

Re: Power consumption

This is the one I bought from Banggood in China. Took a couple of weeks delivery, but worth the wait. https://www.banggood.com/5_5V-1W-180mA-9595mm-Polycrystalline-Mini-Solar-Panel-Photovoltaic-Panel-p-999056.html?rmmds=myorder&cur_warehouse=CN I used a resistor divider network consisting of two 10K...
by dynamicdave
08 Jul 2019, 18:30
Forum: ESP Easy: General Discussion
Topic: Power consumption
Replies: 25
Views: 1032

Re: Power consumption

Physical size of solar panel is 95mm by 95mm. It's a 5V, 1 watt panel that we bought from Banggood in China. The battery is a Li-Ion rated at 3.7V, 2500mAh (again from Banggood). Couple of things to point out about our set-up... We configured switches on D5 and D6 and an output on D7. D5 defines whe...
by dynamicdave
08 Jul 2019, 15:51
Forum: ESP Easy: General Discussion
Topic: Power consumption
Replies: 25
Views: 1032

Re: Power consumption

We used a set of rules that get triggered when the Wemos comes out of deepsleep. Take a few readings, publish them via MQTT to Node-RED, then go back to sleep by using the sleep command set to 900 (seconds). If you are interested, I'll be at the school tomorrow and can get the student to copy his 'r...
by dynamicdave
08 Jul 2019, 15:01
Forum: ESP Easy: General Discussion
Topic: Power consumption
Replies: 25
Views: 1032

Re: Power consumption

Hi, I'm working with one of my IoT students on a similar project. Here's a link... https://discourse.nodered.org/t/solar-powered-weather-station/12499 Do you really need to report the readings that often??? As an experiment, we've been doing it every 15-mins for over a week running off of the solar-...
by dynamicdave
02 Jul 2019, 07:11
Forum: ESP Easy: Software
Topic: ESP8266 Wake up from Deepsleep is not working
Replies: 5
Views: 1034

Re: ESP8266 Wake up from Deepsleep is not working

Did you put the link in between D0 and RST ???

This is needed to bring the device out of 'deepsleep' when the sleep time has expired.
by dynamicdave
26 Jun 2019, 12:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 101
Views: 7074

Re: Hardware Watchdog Reboots

Hi @georgep,
Did you add the capacitors to the the Wemos (or ESP8266) you are using (as I think that will make a world of difference) ??

Cheers from David.
by dynamicdave
25 Jun 2019, 18:14
Forum: ESP Easy: General Discussion
Topic: Setting WiFi channel
Replies: 1
Views: 1192

Setting WiFi channel

Is there a release of ESP Easy that allows the user to set a channel for the WiFi connection ?? I'm trying to connect a WeMos to a 'guest network' at a school - the problem is there are quite a few 'guest networks' with varying signal strength and the Wemos is finding the first one (which is not the...
by dynamicdave
24 Jun 2019, 18:46
Forum: ESP Easy: General Discussion
Topic: Will a Wemos D1 Mini connect to a Class-A network?
Replies: 2
Views: 1295

Re: Will a Wemos D1 Mini connect to a Class-A network?

Thanks - that's great news.

I'm sure my students will be really pleased if their Wemos devices connect to the school's 'guest network'.

Thanks for sharing.
by dynamicdave
24 Jun 2019, 17:53
Forum: ESP Easy: General Discussion
Topic: Will a Wemos D1 Mini connect to a Class-A network?
Replies: 2
Views: 1295

Will a Wemos D1 Mini connect to a Class-A network?

Will a Wemos D1 Mini connect to a Class-A network? I'm going into a school later this week with a set of Wemos D1 Mini devices and wanted to know if there is any reason why these devices wouldn't connect to a Class A network ??? i.e. an IP address like... 10.1.40.80 I've not tried to do it yet, just...
by dynamicdave
23 Jun 2019, 14:06
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 101
Views: 7074

Re: Hardware Watchdog Reboots

Just for clarification...

I'm using ESP_Easy_mega-20190607_normal_ESP8266_4M.bin on my test rig with the capacitors.

PS: It's been up for 17hrs 17mins as we speak!!
by dynamicdave
23 Jun 2019, 12:25
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 101
Views: 7074

Re: Hardware Watchdog Reboots

Yes it is - how strange?? I've bought about 40 Wemos D1 Minis (over the last 18-months for my IoT Computer Club) from Banggood and Ali-Express. Some are real ones, others are most certainly clones. Although they all flash and work perfectly fine. PS: Just checked the test-rig has run for 936 minutes...
by dynamicdave
23 Jun 2019, 09:57
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 101
Views: 7074

Re: Hardware Watchdog Reboots

I have an ESP-01S (on a breadboard) that runs off of an USB power adapter type HW-131.
This device would only manage 20 or so minutes of up-time before it rebooted.

I've just added a 470uF and 100nF to the breadboard, so it will be interesting to see how long it stays UP.

Regards, David.
by dynamicdave
23 Jun 2019, 09:28
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 101
Views: 7074

Re: Hardware Watchdog Reboots

I think I have some 470uF capacitors so I'll lash-up another test-rig and see what happens.

I think having a 100nF capacitor close to any active device is 'classic textbook stuff' and very sensible.

Cheers from David.
by dynamicdave
23 Jun 2019, 08:30
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 101
Views: 7074

Re: Hardware Watchdog Reboots

I've just checked and the Wemos D1 Mini is still going strong at 722 mins.

Here's a link to some photos and the same information I've posted on 'discourse node-red'

https://discourse.nodered.org/t/wemos-d ... oots/12495
by dynamicdave
23 Jun 2019, 07:06
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 101
Views: 7074

Re: Hardware Watchdog Reboots

Hi guys, I've been doing experiments on 'deepsleep' with a set of Wemos D1 Mini devices and encountered the problem with random reboots. When I checked some of my other units, I found they were acting the same (rebooting at odd times). Some would reboot in say 23 mins, others might go for 70 or 80 m...
by dynamicdave
13 Jun 2019, 09:19
Forum: Introduce yourself
Topic: People Hi ! from Medoc, France.
Replies: 2
Views: 149

Re: People Hi ! from Medoc, France.

Hi JiM, I tutor an after-school IoT Computer Club here in the UK. One of my students has just started a project to build a solar-powered soil moisture sensing and weather station. The plan is to use a Wemos D1 Mini (ESP8266-based device) running ESP Easy that reads the various sensors and sends the ...
by dynamicdave
06 Jun 2019, 07:15
Forum: ESP Easy: Projects / Applications
Topic: Security system upgrade
Replies: 7
Views: 3743

Re: Security system upgrade

Here's a link to my PIR motion sensor project. It might give you some ideas for your application. I used a cut-down version with the students at my IoT Computer Club. I powered the PIR unit with 12v that I generated using a 'step-up' converter from the 5v input that feeds the Wemos D1 Mini. I must a...
by dynamicdave
27 May 2019, 18:30
Forum: ESP Easy: Software
Topic: How To Activate An Output w/MQTT & No Rules
Replies: 16
Views: 3988

Re: How To Activate An Output w/MQTT & No Rules

For some reason phpBB, the Forum Software, won't let me attach a file type .json or .txt -- his boo.

Give me your email address and I'll email it to you.

David.
by dynamicdave
27 May 2019, 15:52
Forum: ESP Easy: Software
Topic: How To Activate An Output w/MQTT & No Rules
Replies: 16
Views: 3988

Re: How To Activate An Output w/MQTT & No Rules

Hi @vedika - your message doesn't seem to relate to this thread.
Did you post it in the wrong topic/thread?

Cheers from David.
by dynamicdave
26 May 2019, 19:07
Forum: ESP Easy: Software
Topic: How To Activate An Output w/MQTT & No Rules
Replies: 16
Views: 3988

Re: How To Activate An Output w/MQTT & No Rules

Hi I haven't got the Wemos node that I mentioned above - I'ved used it for another project, sorry. Here are a couple of screenshots of the 'Config' and 'Controller' settings for another node (node29) (hope that doesn't confuse you too much). Hope this helps you. Please note that I'm not using the fo...
by dynamicdave
26 May 2019, 18:34
Forum: ESP Easy: Software
Topic: How To Activate An Output w/MQTT & No Rules
Replies: 16
Views: 3988

Re: How To Activate An Output w/MQTT & No Rules

Hi, This might help you. I have a set of three MQTT-In nodes (driven from some touch-buttons on a Wemos D1 Mini) to three function nodes in Node-RED that connects to a set of three MQTT-Out nodes to control a set of three LEDs (on the Wemos D1 Mini). The first MQTT-Out node has its topic configured ...
by dynamicdave
16 May 2019, 13:11
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 632

Re: Level control or rules ?

You could probably re-write it as..

Code: Select all

On Rinnai#State do 
 If [Rinnai#State]=0
   gpio,14,1
 else
   gpio,12,1
 Endif
 timerset,1,30
Endon

On Rules#Timer=1 do 
gpio,14,0
gpio,12,0
Endon
by dynamicdave
14 May 2019, 14:02
Forum: ESP Easy: Hardware
Topic: Please recommend me good esp8266 board ..
Replies: 11
Views: 473

Re: Please recommend me good esp8266 board ..

Just re-read your email. I think you mean the wiring of the DC plug and the USB connector are DIRECTLY JOINED TOGETHER. I didn't realise that !!!!!! If that's true - then it's something to be aware of as you could easily destroy an item/device if it was plugged into the USB port and the adapter was ...
by dynamicdave
14 May 2019, 13:59
Forum: ESP Easy: Hardware
Topic: Please recommend me good esp8266 board ..
Replies: 11
Views: 473

Re: Please recommend me good esp8266 board ..

I've not tried using the DC plug, only the USB connector (which works fine). There are two fixed-voltage regulators on the board - one for +5V and one for +3V3. I would have thought these regulators would have dealt with the differing input conditions. When I have a spare moment I'll buzz-out the ci...
by dynamicdave
14 May 2019, 08:51
Forum: ESP Easy: Hardware
Topic: Please recommend me good esp8266 board ..
Replies: 11
Views: 473

Re: Please recommend me good esp8266 board ..

I had a similar issue with the micro USB power connector parting company with the printed circuit board (on a couple of boards).
I bought some of these power adapters and brought the two boards 'back to life'.
The adapaters are listed on Banggood, AliExpress and Amazon.

wemos_leds.jpg
wemos_leds.jpg (178.89 KiB) Viewed 404 times
by dynamicdave
21 Apr 2019, 16:49
Forum: ESP Easy: Hardware
Topic: High Current Relay Suggestion
Replies: 9
Views: 535

Re: High Current Relay Suggestion

This item from Banggood works fine from 3V logic (DC) and will control mains driven items. Although this particular item is rated at 50A, Banggood have other models available. There's also an LED on the top-face of the unit to show when the SSR is ON. https://www.banggood.com/Solid-State-Relay-SSR-5...
by dynamicdave
12 Apr 2019, 21:02
Forum: ESP Easy: Projects / Applications
Topic: Trying to find a schematic
Replies: 5
Views: 359

Re: Trying to find a schematic

Hi Thomas,
Thanks for taking the time to look for me.

Here's the link to the schematic-graphic that I was looking for.

It's strange it did not show-up in your search on Google.

viewtopic.php?t=5377

Kind regards from David.
by dynamicdave
12 Apr 2019, 20:56
Forum: ESP Easy: Projects / Applications
Topic: Trying to find a schematic
Replies: 5
Views: 359

Re: Trying to find a schematic

Thank you Patou - that's the schematic-graphic drawing I was looking for.

Thanks for sharing the link with me again.

Kind regards from David.
by dynamicdave
11 Apr 2019, 20:59
Forum: ESP Easy: Projects / Applications
Topic: Trying to find a schematic
Replies: 5
Views: 359

Trying to find a schematic

I'm trying to find a schematic circuit that was published on this forum a couple of months (or so) ago. It contained a Wemos D1 Mini, a PCF8574, a NE555-based device to create an interrupt, some MOSFETS and optocouplers. I can't remember what the project was called and can't find it after searching ...
by dynamicdave
04 Apr 2019, 15:43
Forum: ESP Easy: General Discussion
Topic: Can't get On WIFI#Connected to work
Replies: 9
Views: 493

Re: Can't get On WIFI#Connected to work

If anyone is interested, I've managed to get a Rule-Set working to detect which WiFi network one of my student's WeMos D1 Mini is connected to. At home his router has a GW and DNS of 192.168.1.254, while at our IoT Club the GW and DNS is 192.168.1.1 I've flashed one of my Wemos D1s with the version ...
by dynamicdave
04 Apr 2019, 13:46
Forum: ESP Easy: General Discussion
Topic: How to DEBUG your RULES
Replies: 2
Views: 332

Re: How to DEBUG your RULES

What a clever idea.
It will be extremely useful in developing some of my Rule-Sets.
Thanks for sharing.
by dynamicdave
03 Apr 2019, 18:12
Forum: ESP Easy: General Discussion
Topic: Can't get On WIFI#Connected to work
Replies: 9
Views: 493

Re: Can't get On WIFI#Connected to work

Thanks for you feedback.
When your have a chance - please can you look over the Rule I posted and see why the string comparison doesn't work ??
by dynamicdave
03 Apr 2019, 16:34
Forum: ESP Easy: General Discussion
Topic: Can't get On WIFI#Connected to work
Replies: 9
Views: 493

Re: Can't get On WIFI#Connected to work

I've created this rule, but for some reason the first IF test always evaluates to true. What is the correct syntax for comparing a system variable to a text string ?? on System#Boot do timerSet,1,5 endon on Rules#Timer=1 do If %ssid% = "iotclub" <<<<<<<<<<<< Gateway,192.168.1.1 Publish node80/report...
by dynamicdave
03 Apr 2019, 15:09
Forum: ESP Easy: General Discussion
Topic: Can't get On WIFI#Connected to work
Replies: 9
Views: 493

Re: Can't get On WIFI#Connected to work

What I'm trying to do is detect which WiFi network a Wemos D1 Mini connects to. Then set a Gateway IP address accordingly. One of my students has a gateway at his home of 192.168.1.254, while at our IoT Club it's 192.168.1.1 This means each week he has to manually alter the 'settings' in the 'Config...
by dynamicdave
03 Apr 2019, 15:05
Forum: ESP Easy: General Discussion
Topic: Can't get On WIFI#Connected to work
Replies: 9
Views: 493

Re: Can't get On WIFI#Connected to work

Iv'e made it as simple as I can to test it out.

On WIFI#Connected do
publish node80/report,hello
endon
by dynamicdave
03 Apr 2019, 10:41
Forum: ESP Easy: General Discussion
Topic: Can't get On WIFI#Connected to work
Replies: 9
Views: 493

Can't get On WIFI#Connected to work

I'm using mega-20190315 and can't get...

On WIFI#Connected do

in a rule-set to work.

Does anyone know if this command works?
by dynamicdave
02 Mar 2019, 10:25
Forum: ESP Easy: Software
Topic: How to send ALL devices status to controller
Replies: 1
Views: 224

Re: How to send ALL devices status to controller

What you're doing looks like a good solution. Getting each unit to listen for a common or global event-trigger... on sendDeviceUpdate do Publish /%sysname%/feedback, [status_information] endon I label each of my Wemos D1 Mini modules (ESP8266-based modules) with a unique node name. e.g. node30, node...
by dynamicdave
06 Feb 2019, 21:03
Forum: ESP Easy: Software
Topic: Serial port
Replies: 3
Views: 450

Re: Serial port

Thanks for all your help. I can now send information/data from the WeMos to my terminal (app running on a mobile phone) using rules. on !Serial#* do publish david,%eventvalue% serialsend %eventvalue% endon I can also set a dummy variable using this http command. http://192.168.1.90/control?cmd=TaskV...
by dynamicdave
06 Feb 2019, 08:16
Forum: ESP Easy: Software
Topic: Serial port
Replies: 3
Views: 450

Serial port

I'm trying to use the serial port on a Wemos D1 Mini. The two problems I have are.. (1) Extracting the data from the received message (2) Trying to find a way of sending data/variable from the Wemos via the serial port Note: I'm using the very latest version of ESP Easy mega 20190202 release. Any he...
by dynamicdave
02 Feb 2019, 12:13
Forum: ESP Easy: Hardware
Topic: JY-MCU HC-06 Bluetooth Module
Replies: 2
Views: 323

Re: JY-MCU HC-06 Bluetooth Module

Hi to one and all, I'm still trying to get the serial port working on a Wemos D1 Mini. This is what my basic rule looks like... on !Serial#* do publish david,%eventvalue% serial "fred was here" endon I get this MQTT message returned to Node-RED when I send red from my terminal (phone)... " david : m...
by dynamicdave
31 Jan 2019, 19:52
Forum: ESP Easy: Hardware
Topic: JY-MCU HC-06 Bluetooth Module
Replies: 2
Views: 323

Re: JY-MCU HC-06 Bluetooth Module

I've got my mobile phone (acting as a terminal) talking via bluetooth to the HC-05 bluetooth module that links to my Wemos D1 Mini. I can send data to the Wemos and using a rule get it published via MQTT to Node-RED. Also if I reboot the Wemos I can see all the boot-up messages on my phone. So all o...
by dynamicdave
30 Jan 2019, 14:48
Forum: ESP Easy: Hardware
Topic: JY-MCU HC-06 Bluetooth Module
Replies: 2
Views: 323

JY-MCU HC-06 Bluetooth Module

I'm trying to get a Wemos D1 Mini (flashed with the latest ESP Easy release) to talk to a JY-MCU bluetooth module. I assume I should use the "Communication Serial Server", but what value do I put in for the "PORT" ? I can pair to the module from my mobile phone and send data, but nothing appears at ...
by dynamicdave
18 Jan 2019, 14:41
Forum: ESP Easy: Software
Topic: Rules Help
Replies: 13
Views: 935

Re: Rules Help

In your screenshots, your device name is Switch1 and the value is called State.

In the rules you have used... on Button#State=1 do

I think it should be... on Switch1#State=1 do

Regards, David
by dynamicdave
14 Jan 2019, 18:59
Forum: ESP Easy: Hardware
Topic: Can't find TSO4838 device
Replies: 7
Views: 891

Re: Can't find TSO4838 device

Responding to my own post - that's strange. Well I have made some progress - I made a small test circuit (without using a Wemos, just an LED and a resistor) and discovered the TSOP-4838 doesn't seem to work off +3.3V supply only 5V. The datasheet says it should work on +2.7v to 5.5V. I then made up ...
by dynamicdave
14 Jan 2019, 18:48
Forum: ESP Easy: Software
Topic: HC-SR04 and the temperature
Replies: 5
Views: 645

Re: HC-SR04 and the temperature

I thought the HC-SR04 was an ultrasonic distance measuring device.
Are we talking about the same device?

The SR04 and SR05 work on the speed of sound that varies slightly with changes in altitude (and with temperature as others have pointed out).
by dynamicdave
14 Jan 2019, 10:24
Forum: ESP Easy: Hardware
Topic: Can't find TSO4838 device
Replies: 7
Views: 891

Re: Can't find TSO4838 device

I've just been trying to get a TSOP4838 IR receiver working with ESP Easy.

I'm using the IR version of mega-20190109.

Has anyone managed to get the IR receiver working and if so, with which firmware version?

Kind regards, David
by dynamicdave
14 Jan 2019, 07:48
Forum: ESP Easy: Hardware
Topic: nodemcu v3 + sonic sensor HC-SR04 can't get to work
Replies: 5
Views: 652

Re: nodemcu v3 + sonic sensor HC-SR04 can't get to work

Here's a link to a write-up I did on HC-SR05 devices for my IoT students. http://resources-area.co.uk/node-red-flows/ultrasonic_distance_sensor.pdf The problem is the output from the Ultrasonic device is TTL(i.e. 5V and ground). You need to level shift this DOWN to match the input levels for 3.3V lo...