Search found 230 matches

by dynamicdave
24 Dec 2018, 16:20
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 11126

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
by dynamicdave
27 Oct 2018, 14:37
Forum: ESP Easy: Software
Topic: know the status of esp, alive or not?
Replies: 15
Views: 4332

Re: know the status of esp, alive or not?

I'm also interested,
Please enlighten me as to how you do it with MQTT.

Cheers from David
by dynamicdave
20 Oct 2018, 10:22
Forum: ESP Easy: Hardware
Topic: ebay sonoff devices?
Replies: 5
Views: 3199

Re: ebay sonoff devices?

Hi Brian, If all you are doing with the In-Line Sonoff is using it as a simple switch, then you could try flashing it with Tasmota. https://github.com/arendst/Sonoff-Tasmota I use ESP Easy on all my WeMos D1 Mini devices and Tasmota on all my SonOff devices. I use the SonOff devices around the house...
by dynamicdave
18 Oct 2018, 09:05
Forum: ESP Easy: Hardware
Topic: ebay sonoff devices?
Replies: 5
Views: 3199

Re: ebay sonoff devices?

Hi Brian, I've used (i.e. flashed) a number of these In-Line Sonoff switches. Sometimes I find one of the switches needs a few 'go's before the WiFi access point comes up. I did have a LOT of problems flashing Sonoff S20 units until I realised they use a different microcontroller chip. You might fin...
by dynamicdave
16 Oct 2018, 12:09
Forum: ESP Easy: Hardware
Topic: I want a switch to be pushed remotely...
Replies: 4
Views: 1711

Re: I want a switch to be pushed remotely...

Thanks for sharing this - brilliant use of 'Rules' and 'Events'. I've got a set of IR detectors around the outside of my house that drive WeMos D1 Minis that pass info via MQTT to Node-RED. I've now implemented your 'hints/suggestion' and can now test my system remotely - yipppeeee. PS: I'm using an...
by dynamicdave
26 Sep 2018, 10:18
Forum: ESP Easy: Software
Topic: use of switches to manage lights in the house
Replies: 3
Views: 1729

Re: use of switches to manage lights in the house

Not too sure of your exact set-up, but you mention Node-RED, so I assume you have a Raspberry Pi or some other platform running Node-RED and MQTT. What I would do ( I have a number of WeMos Di Minis - ESP8266-based devices in my home) is set each ESP8266 to publish to a MQTT broker. In my setup I pu...
by dynamicdave
24 Sep 2018, 19:44
Forum: ESP Easy: General Discussion
Topic: Just some fun with home automation.
Replies: 5
Views: 2278

Re: Just some fun with home automation.

That video is so funny and could be true-to-life as I could see that situation happening.

Thanks for sharing - it lifted my day.
by dynamicdave
24 Sep 2018, 19:34
Forum: ESP Easy: Hardware
Topic: Can't find TSO4838 device
Replies: 7
Views: 3053

Re: Can't find TSO4838 device

Hi Shardan,
Do you know if the TSO4838 should respond to a TV remote??

When I used to use the old TSO1838 devices (many years ago with PIC microcontrollers) I had to fire an IR beam that was modulated with a 38KHz carrier.

Does the TSO4838 work in the same way??

Kind regards from David.
by dynamicdave
24 Sep 2018, 14:38
Forum: ESP Easy: Hardware
Topic: Can't find TSO4838 device
Replies: 7
Views: 3053

Re: Can't find TSO4838 device

Thanks for your swift response.

Now why couldn't I see that version/entry in the release I downloaded today??

Might be time for an eyesight test !!!!

Thanks again.
by dynamicdave
24 Sep 2018, 14:11
Forum: ESP Easy: Hardware
Topic: Can't find TSO4838 device
Replies: 7
Views: 3053

Can't find TSO4838 device

Hi,
I'm trying to find the "Device" dropdown to interface with the IR receiver TSOP4838.

I'm currently using mega-20180924 Normal and Test version.

Does anyone know which version of ESP Easy the IR receiver can be found???

Kind regards from David
by dynamicdave
20 Sep 2018, 14:08
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Hi, I don't really understand this question, as I'm not using 9v in this project "Where is the 9V block connected on your breadboard?" http://resources-area.co.uk/node-red-flows/moisture_sensor.pdf I used a Power-Block that gives out 5v that connects to the WeMos D1 Mini board via a normal...
by dynamicdave
11 Sep 2018, 20:44
Forum: ESP Easy: Projects / Applications
Topic: NeoPixel with ESPEasy and Node-RED
Replies: 8
Views: 9435

Re: NeoPixel with ESPEasy and Node-RED

Right - bit of an update on progress. Eventually discovered I was using the setting for RGBW in the Device Tab - my NeoPixel strip was RGB - oops!! I removed the level shifter for the Data Line and connected the NeoPixel strip's Din to D6 on my Wemos D1 Mini via a 270R resistor. Now everything works...
by dynamicdave
10 Sep 2018, 20:59
Forum: ESP Easy: Projects / Applications
Topic: NeoPixel with ESPEasy and Node-RED
Replies: 8
Views: 9435

Re: NeoPixel with ESPEasy and Node-RED

Reflashed with 180908 - same effect. When I send a command ALL the LEDs come on White. Next time I send exactly the same command a single LED comes - sometimes the correct one, other times sort of random colors !!! I'm using a 2N7000 to level shift the data line (as per the diagram on the wiki). Thi...
by dynamicdave
10 Sep 2018, 20:41
Forum: ESP Easy: Projects / Applications
Topic: NeoPixel with ESPEasy and Node-RED
Replies: 8
Views: 9435

Re: NeoPixel with ESPEasy and Node-RED

Just received some strips of NeoPixels. Having trouble "talking" to them. When I send a MQTT command all the LEDs comes on together showing "white". When I send a color command sometimes the correct LEDs fires, other times a random LED with a random color. It seems like a timing ...
by dynamicdave
05 Sep 2018, 12:02
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Hi to Grovkillen, Here's a link to the website I set-up last year to document the students' work. http://youtrain.me.uk/iotclub/ This year I've been given a Google Classroom account which makes posting documents and keeping in contact with the students much easier. The downside is... everything is n...
by dynamicdave
05 Sep 2018, 09:38
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Hi Ken, Thanks for your inputs. The reason it is battery powered at the moment is I didn't have a mains outlet socket near the herb plants, so I used a power-block. The power-block lasts about 3-days at the moment. I haven't had time to find out if anything else is using the WiFi (which I think is t...
by dynamicdave
04 Sep 2018, 13:14
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Hi Rob, I use a set of Raspberry Pi(es) running Node-RED and MQTT on a self-contained private network in the school. The students each have one or two Wemos D1 Minis mounted on breadboards that they use to create various types of nodes (that communicate with a certain RPi to increase performance). T...
by dynamicdave
30 Aug 2018, 21:54
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Thanks - that makes sense to use the 'comma' and also matches the syntax of other commands that exist in the "rules".

Cheers from David.
by dynamicdave
30 Aug 2018, 21:17
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Thanks

Just one question...

What is the correct syntax for TaskValueSet ????

I've seen it written as TaskValueSet,12,1,0 and TaskValueSet 12,1,0
i.e. with a comma after the keyword or a "space"

Cheers from David
by dynamicdave
30 Aug 2018, 20:56
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Here's my first attempt at documenting the Soil Moisture monitor. Here's a link to the PDF tutorial guide and the Node-RED flow. Although there is a link in the PDF document to the Node-RED flow - I've shown the direct link here in case your PDF viewer doesn't render the link correctly. http://resou...
by dynamicdave
30 Aug 2018, 12:31
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Thanks for your inputs.

Hope to have some free-time this weekend to produce a schematic and a step-by-step instruction guide.

Cheers from David
by dynamicdave
30 Aug 2018, 09:15
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

In case anyone is interested I've made use of ESP Easy rules, timers and a generic dummy device (i.e. variables) to control one of the inexpensive resistive moisture sensors. I'm using a Wemos D1 Mini which is triggered by sending an event (via MQTT) called "activate" from my Raspberry Pi ...
by dynamicdave
24 Aug 2018, 12:59
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 40055

Re: moisture sensor

Hi, Here's a link to a PDF for a simple exercise I did with my IoT students. http://resources-area.co.uk/node-red-flows/moisture_meter.pdf We used the very inexpensive resistive sensor and then used a transistor to power the sensor for 15 seconds every 15 minutes. The unit has been in used for nearl...
by dynamicdave
23 Aug 2018, 11:13
Forum: ESP Easy: Projects / Applications
Topic: NeoPixel with ESPEasy and Node-RED
Replies: 8
Views: 9435

Re: NeoPixel with ESPEasy and Node-RED

Dead simple answer to that question. I had some BC547 transistors in my scrap box (and couldn't wait to build the circuit) !!! I've seen some of the "integrated" devices you listed in your email and will order some (including some 2N7000) today. Thanks again for all your "inputs"...
by dynamicdave
23 Aug 2018, 10:23
Forum: ESP Easy: Projects / Applications
Topic: NeoPixel with ESPEasy and Node-RED
Replies: 8
Views: 9435

Re: NeoPixel with ESPEasy and Node-RED

Hi Shardan,
Thanks for your input.

I've constructed a two-transistor voltage-up level-shifter (ready for when my NeoPixel strips arrive from China).

Looking at the creative things other people have done with the strips means I'll have a lot of fun when they arrive.

Cheers from David
by dynamicdave
22 Aug 2018, 17:12
Forum: ESP Easy: Projects / Applications
Topic: NeoPixel with ESPEasy and Node-RED
Replies: 8
Views: 9435

NeoPixel with ESPEasy and Node-RED

Hi, I've just ordered a set of development boards (CJMCU-2812-8) that I plan to use with ESPEasy (Wemos D1 Mini) and via MQTT with Node_RED. I have two main questions. POWER I've seen various people using 5v and 3V3 to power the strips. What's the best voltage to use? If I use 5v, do I need to level...
by dynamicdave
12 Aug 2018, 22:14
Forum: ESP Easy: Projects / Applications
Topic: Joystick - buggy - rules??
Replies: 6
Views: 2726

Re: Joystick - buggy - rules??

Thanks for your feedback - which I do appreciate. I should have edited the text I sent to ZenOfMud (about his ESP Display Home - node management project) on Discourse before I posted it here. I realise you are one of the key players working on ESP Easy. I've been using ESP Easy and Wemos D1 Minis fo...
by dynamicdave
12 Aug 2018, 17:07
Forum: ESP Easy: Projects / Applications
Topic: Joystick - buggy - rules??
Replies: 6
Views: 2726

Re: Joystick - buggy - rules??

I've been writing some "rules" for one of my Wemos D1s - whilst I wait for my dual-axis joysticks to arrive (for my buggy project). Here's the rule-set... on System#boot do TaskValueSet,12,1,200 publish /node42/previous_value, [previous#value] timerSet,1,1 endon on rules#timer=1 do if [cur...