Search found 257 matches

by dynamicdave
14 May 2019, 13:59
Forum: ESP Easy: Hardware
Topic: Please recommend me good esp8266 board ..
Replies: 11
Views: 9521

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: 9521

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 9452 times
by dynamicdave
21 Apr 2019, 16:49
Forum: ESP Easy: Hardware
Topic: High Current Relay Suggestion
Replies: 9
Views: 8692

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: 4303

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: 4303

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: 4303

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: 5058

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: 2825

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: 5058

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: 5058

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 nod...
by dynamicdave
03 Apr 2019, 15:09
Forum: ESP Easy: General Discussion
Topic: Can't get On WIFI#Connected to work
Replies: 9
Views: 5058

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: 5058

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: 5058

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: 1719

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: 3881

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: 3881

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: 2551

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)... &...
by dynamicdave
31 Jan 2019, 19:52
Forum: ESP Easy: Hardware
Topic: JY-MCU HC-06 Bluetooth Module
Replies: 2
Views: 2551

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: 2551

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...
by dynamicdave
18 Jan 2019, 14:41
Forum: ESP Easy: Software
Topic: Rules Help
Replies: 13
Views: 7124

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: 12
Views: 8521

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: 6493

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: 12
Views: 8521

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: 5242

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...
by dynamicdave
28 Dec 2018, 10:24
Forum: ESP Easy: Software
Topic: Very simple Temperature rule from Wiki not working?
Replies: 4
Views: 4333

Re: Very simple Temperature rule from Wiki not working?

Your question is very similar to the one I answered last night.
Have a look at this link...

http://www.letscontrolit.com/forum/view ... f=6&t=6228

Cheers from David
by dynamicdave
27 Dec 2018, 22:11
Forum: ESP Easy: Software
Topic: [noob question] esp8266 rules + analog read mq-2 senor
Replies: 3
Views: 3704

Re: [noob question] esp8266 rules + analog read mq-2 senor

You could try this piece of code. It checks the value of mq2 every 2 seconds (adjust the timing to suit your needs). On System#Boot do GPIO,5,0 timerSet,1,2 //Set timer1 for 2 seconds (adjust the timing to suit your needs) endon on Rules#Timer=1 do //This is executed when timer1 runs out if [mq2#val...
by dynamicdave
24 Dec 2018, 16:20
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 24303

Re: "SmartNodeRules" concept idea

Hi, That sounds like a brillant idea - how much of it is workable at the moment??? I have a home automation system running on a couple of RPi-3s using Node-RED and MQTT. Around the house I have a number of WeMos D1 Minis (re-flashed with ESP Easy) that send various readings (temp, humdiity, pressure...
by dynamicdave
23 Dec 2018, 22:03
Forum: ESP Easy: Software
Topic: Does anyone use QNAP's QIoT together with ESPEasy?
Replies: 6
Views: 5385

Re: Does anyone use QNAP's QIoT together with ESPEasy?

Hi,
Some people on the Node-Red Discourse forum have used the Docker container to run Node-RED and MQTT on a QNAP.

https://discourse.nodered.org/t/anyone- ... ocker/4208

Unfortunately my version of QNAP NAS doesn't support Docker - hiss, boo.
by dynamicdave
21 Nov 2018, 14:24
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

Hi, If you have removed the transistor and now make use of a GPIO output pin, then you have changed the electrical conditions of the circuit. When a transistor is ON, the collector to emitter resistance is very low (so +3.3v appears on the emitter). When a transistor is OFF, the collector to emitter...
by dynamicdave
20 Nov 2018, 12:48
Forum: ESP Easy: Software
Topic: [solved for FHEM] Avoid of sending first data from dummy-device to controller after reboot
Replies: 7
Views: 5294

Re: Avoid of sending first data from dummy-device to controller after reboot

Hi, Just noticed in one of your rules the named-variable 'var'. You might run into trouble using this becuase as from November 2018 release of EASY Easy Mega, 'var' is a reserved command in rules. You might want to change it to 'variable' or 'vars'. Here's what I was told... - - - - The problem with...
by dynamicdave
19 Nov 2018, 10:55
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

Don't worry answering this - I've found out about FHEM.
by dynamicdave
19 Nov 2018, 10:03
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

If you need any ideas for additional projects (ha, ha, ha) then take a look at some I've published on Discourse - Node-RED.

https://discourse.nodered.org/c/share-your-projects

Cheers from David
by dynamicdave
19 Nov 2018, 09:57
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

What does the abbreviation FHEM Mean ??

And snap... I have a QNAP NAS as well.
The only problem is my QNAP is a few years old and does not support Node-RED.
No problem as I run Node-RED on a couple of Raspberry Pi 3+ boards.
by dynamicdave
19 Nov 2018, 09:51
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

Hi, I decided to sketch-out the circuit as I might explain it to my IoT students (sometime). Basically the mositure sensor is acting as a voltage divider. If you look at Fig-1 it shows a simple voltage divider. The output voltage is proportional to the value of resistors R1 and R2. If R1 and R2 have...
by dynamicdave
19 Nov 2018, 07:59
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

Hi, Glad to have been some help to you. Really pleased you have got the ADS1115 and moisture sensors working with the WeMos. PS: I've added the Node-RED node called "telegram" to my system so when a plant is getting dry it sends a message to my mobile-phone "I'm getting dry, please wa...
by dynamicdave
18 Nov 2018, 21:04
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

Hi, Thanks for posting your original wiring diagram. It is as I suspected - you have commoned all the outputs together and fed them to the A0 pin on the WeMos. If you think about the circuit all four moisture sensors are in parallel (i.e. a parallel resistor circuit). Although you only switch-on one...
by dynamicdave
17 Nov 2018, 12:23
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

Hi, Can you share the schematic/wiring diagram of how you have connected/wired your moisture sensors? I've drawn a very quick diagram of what I think is on the YL-38 board. I'm only using the analog part of the board - which I've coloured in 'red'. This section is really just a potential-divider for...
by dynamicdave
14 Nov 2018, 11:10
Forum: ESP Easy: General Discussion
Topic: Button to toggle RGB leds
Replies: 13
Views: 8671

Re: Button to toggle RGB leds

Success.... I've been given the answer/reason why the named-variable didn't work in 'rules'. - - - - - - - - Hi, I got it now! See #1986. The problem with your rule is that [Var#n] is a reserved command that retrieves the system variable %Vn%. Wiki should be updated with this new commands and system...
by dynamicdave
13 Nov 2018, 21:04
Forum: ESP Easy: General Discussion
Topic: Button to toggle RGB leds
Replies: 13
Views: 8671

Re: Button to toggle RGB leds

Oh that's annoying - I thought the hint about (....) made sense and would solve the problem. Thanks for trying it out. PS: I've just noticed that on line-3 you have TaskValueSet 3,1,0 and on line-6 you have TaskValueSet,3,1,([Var#Color]+1) i.e. one with a space and one with a comma. I'm clutching at...
by dynamicdave
13 Nov 2018, 20:48
Forum: ESP Easy: General Discussion
Topic: Button to toggle RGB leds
Replies: 13
Views: 8671

Re: Button to toggle RGB leds

Thanks - I'll give that a try tomorrow (as one of my students has borrowed the node with the NeoPixels this evening).

Cheers from David.
by dynamicdave
13 Nov 2018, 19:52
Forum: ESP Easy: General Discussion
Topic: Button to toggle RGB leds
Replies: 13
Views: 8671

Re: Button to toggle RGB leds

Well that is eaxctly the same as the problem I'm seeing.
None of the November releases work with the incrementing a named-variable in the rules.
I agree with you, that the last version that works is 2018-10-31

Thanks for taking the time to check this out.

Cheers from David.
by dynamicdave
13 Nov 2018, 10:36
Forum: ESP Easy: General Discussion
Topic: Speeding-up MQTT transfers
Replies: 10
Views: 7271

Re: Speeding-up MQTT transfers

Here's a link to a detailed document that explains how to build a traffic light sequence and other patterns. It basically uses a function block as a decimal counter followed by other function blocks that act as decoders. http://resources-area.co.uk/node-red-flows/building_a_light_sequence.pdf Hope y...
by dynamicdave
13 Nov 2018, 10:25
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 71957

Re: moisture sensor

Oops sorry - as someone pointed out (above) the transistor's body outline is round the wrong way.
The instructions in my document are correct, so if you follow them the circuit should work.

Note: I've corrected and uploaded the new breadboard layout.

Cheers from David.
by dynamicdave
13 Nov 2018, 08:24
Forum: ESP Easy: General Discussion
Topic: Button to toggle RGB leds
Replies: 13
Views: 8671

Re: Button to toggle RGB leds

Which version of ESP Easy are you using?

I've been trying to make use of your rules with the November,2018 releases of mega-espeasy.
It would be interesting to know which version/release you have used.

Cheers from David.
by dynamicdave
30 Oct 2018, 18:57
Forum: ESP Easy: General Discussion
Topic: Speeding-up MQTT transfers
Replies: 10
Views: 7271

Re: Speeding-up MQTT transfers

If anyone is interested, here's a listing of the rules for my traffic light sequencer. It receives an event from Node-RED via MQTT that simply sends a value between 0 and 3. All the rules do are decode the decimal value and turn apprppriate leds ON/OFF. Cheers from David. // Decode %eventvalue% for ...
by dynamicdave
30 Oct 2018, 09:44
Forum: ESP Easy: General Discussion
Topic: Speeding-up MQTT transfers
Replies: 10
Views: 7271

Re: Speeding-up MQTT transfers

Hi guys, Thanks for the suggestion about using 'rules' - I had completely overlooked 'rules'. The Node-RED flow (which I can post if anyone is interested) just decodes a decimal counter to drive three MQTT Out nodes that opearte the three LEDs. I've looked at the ESP 'log' and can see that there are...
by dynamicdave
28 Oct 2018, 18:51
Forum: ESP Easy: General Discussion
Topic: Speeding-up MQTT transfers
Replies: 10
Views: 7271

Re: Speeding-up MQTT transfers

Thanks for the 'heads-up' on that - I'll try to check it out.

Do you run 'mosquitto' on a Raspberry Pi by any chance??
If so, could you share your 'conf' file??

Cheers from David
by dynamicdave
28 Oct 2018, 16:22
Forum: ESP Easy: General Discussion
Topic: Speeding-up MQTT transfers
Replies: 10
Views: 7271

Speeding-up MQTT transfers

Hi, I've got a Node-RED flow that sends MQTT commands to turn three LEDs (Red, Yellow and Green on a WeMos D1 Mini) on/off to mimic the UK traffic light sequence. Although it works fine, there is a perceivable delay between one LED going off and the next one coming on. I've tried changing some of th...
by dynamicdave
28 Oct 2018, 16:05
Forum: Staff Announcements forum
Topic: Reference project for the upcoming homepage
Replies: 28
Views: 42892

Re: Reference project for the upcoming homepage

Hi
I've got various 'small' projects I've done with my IoT students.
I can send you the PDFs if you want?

Cheers from David