User Guides DIY Wi-Fi Water Level Sensor & Meter with ESP8266, Tasmota, Arduino, MQTT, Node-RED, Telegram

A well described article. I think the forum needs a diy thread as there are many tinkerers here and plenty of knowledge regarding such projects. Thanks @rsaeon for this very nicely executed project.
A well described article. I think the forum needs a diy thread as there are many tinkerers here and plenty of knowledge regarding such projects. Thanks @rsaeon for this very nicely executed project.
There is actually a thread for such articles called the build log on the forum . This article can be moved to that place I guess .
 
Last edited:
Thanks, it was fun building, documenting and figuring out the coding.

I have most of my incomplete projects in the build log section of the forum.

I’m from a time where the build log section is for in-progress or completed projects.

This is more of a guide, start to finish, with explanations and resources, all in a single post.

Basically, the difference is between “How I did this” vs “How you can do this”

Other guides in this section: https://techenclave.com/forums/reviews-and-guides.28/?prefix_id=49
 
Great project as always, I myself wanted to do this for a very long time. Good thing you went with non-contact sensor. I don't like anything touching my water. Hehe.



What software you used to create this?
 
Last edited:
What software you used to create this?

That's Node-RED, you can import the JSON into your install of Node-RED to replicate that flow.

It's pretty amazing, the tutorials on YouTube don't evne come close to what's possible with it.
 
It's pretty amazing, the tutorials on YouTube don't evne come close to what's possible with it.
This is a crazy tool, I need to learn this immediately. I have only seen one video of it yet.
 
This is a crazy tool, I need to learn this immediately. I have only seen one video of it yet.
Yeah I wanted to learn this too from a long time to use it to control zigbee devices. Thankfully we now have a member @rsaeon who knows it well ;) who can help us
 
sorry if sound noob...

how if you disclose total cost here, so any one want it to for commercial production can contact you ...
 
I would also like to know the total cost in materials
 
how if you disclose total cost here, so any one want it to for commercial production can contact you ...
I would also like to know the total cost in materials

Everything I post here (photos, code, ideas) are public domain, no copyright is claimed and no attribution is requested (I should make this part of my signature or profile). So anyone and everyone is welcome to rebuild this, or even turn it into a commercial product — I'd love to see that actually. Some day, I would probably make this into a product or a kit, but that's not anytime soon.

This is barely a prototype, there are so many refinements and modifications that can be done to make this a commercially viable product, I already have 5 different revisions in mind.

I put together some parts lists together for both devices with prices for only what is used. There are important notes to consider at the bottom of each one.





For the sensor:

PartFull NameURLPrice with GSTQuantityTotal Cost
EnclosureCIRCUITX PLASTIC ENCLOSURE - MEDIUM PEM03 70.00
1​
70
Wi-Fi ModuleWeMos ESP8266 D1 R2 V2.1.0 WiFi Development Board 269.00
1​
269
Ultrasonic SensorUS-100 Ultrasonic Sensor Distance Measuring Module with Temperature Compensation 199.00
1​
199
Connector, PCB6 pin JST XH 2.5mm Side Entry Header 8.35
1​
8.35
Connector, PCB2 pin JST XH 2.5mm Side Entry Header 2.78
1​
2.78
Connector, Wire6 pin JST XH 2.5mm Housing 4.18
1​
4.18
Connector, Wire2 pin JST XH 2.5mm Housing 1.48
1​
1.48
Connector, Wire4 pin JST XH 2.5mm Housing 2.79
1​
2.79
Pins, WireCrimping Pins for JST XH 2.5mm 0.84
2​
1.68
Wire, Pre-crimped10cm JST XH 2.5mm Both side Pre-crimped white wire 5.01
4​
20.04
Cable GlandPolyamide Cable Gland PG 7 5
2​
10
Power ConnectorFemale DC Power adapter - 5.5x2.1mm plug to screw terminal 34.81
1​
34.81
FerruleBlack 0.5 sq. mm Wire Ferrule 1.77
2​
3.54
POE SplitterParuht PoE Splitter Active 48V to 12V 329
1​
329
CCTV CableFEDUS 23AWG 3+1 Outdoor CCTV Cable 10M 471
0.2​
94.2
Junction BoxSquare IP65 Junction Box for CCTV 405
0.25​
101.25
Total Cost1152.1

Notes:
  1. Most of the smaller items on that list have a minimum order quantity of 10.
  2. The POE splitter drops down to under 250 each if you buy a pack of 5.
  3. The junction boxes are much cheaper locally (about half price).
  4. M3 screws, 5mm spacers and self tapping screws are not listed.
  5. Consumables like solder, flux and assets like tools are not listed.
  6. POE cable, POE switch, Wi-Fi access point are not listed.




For the meter:

PartFull NameURLPrice with GSTQuantityTotal Cost
PCB, Prototyping2 x 8 cm Universal PCB Prototype Board Double-Sided 30
0.5​
15
Connector, USBUSB A-type Plug Male PCB R/A Connector 35
0.2​
7
Header, Female2.54mm 1×40 Pin Female Single Row Header Strip 199
0.05​
9.95
Header, Male2.54mm 1×40 Pin Male Single Row Straight Long Header Strip 157
0.03​
4.71
Voltage RegulatorAMS1117-3.3 LDO 800MA DC 5V to 3.3V Step-Down Power Supply Module 23
1​
23
Wi-Fi ModuleESP-01 ESP8266 Serial WIFI Wireless Transceiver Module 105
1​
105
LED Bar ModuleSeeedStudio Grove LED Bar v2.0 449
1​
449
Total Cost613.66

Notes:


This is a crazy tool, I need to learn this immediately. I have only seen one video of it yet.
Yeah I wanted to learn this too from a long time to use it to control zigbee devices. Thankfully we now have a member @rsaeon who knows it well ;) who can help us

It's the most impressive piece of software I've ever had the pleasure of working with.

However, most Node-RED forums where you can discuss and ask questions have purists that look down upon my usage of the function node.

The philosophy they hold is that a flow should not contain any lines of code, just nodes.
 
Last edited: