NodeMCU

NodeMCU_PIS

Plant Irrigation Shield for the NodeMCU_Amica.

Schematic

schematic

Documentation

This PCB can be assembled in two variants with complete independent functions.

Variant: Plant Irrigation System

Assembling

IMG_20200221_150840.jpg IMG_20200221_150518.jpg

Software

you could run Tasmota and set a few configurations

tasmota_config_pis.png

and set some extra parameter in console

# set nominal value
mem1 750

# turn pump on/off depending mem value
Rule1 on analog#a0>%mem1% do power1 1 endon on analog#a0<%mem1% do power1 0 endon 

# turn rule1 off when water empty // todo: turn status LED on
Rule2 on Power2#State=0 do Rule1 1 endon on Power2#State=1 do Backlog Rule1 0; Power1 0 endon

Rule1 on
Rule2 on

Changing mem1 value (can also be done via MQTT) results in new nominal value, every plant may need other value depending on size, soil, sunlight, … so you need to play a bit to find a good value.

Variant: Powerfull Infrared Span

this is an MQTT-IR Bridge

Assembling

Software

Just use Tasmota and todo: further description