Pump length, mqtt improvements
This commit is contained in:
15
irrigation/README.md
Normal file
15
irrigation/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Irrigation with an ESP8266
|
||||
Tested with D1 mini. Connect a pump with a relais. Relais activation on D4.
|
||||
|
||||
## Homeassistant integration
|
||||
payload_on can also contain the duration of the pump in ms.
|
||||
Example:
|
||||
`
|
||||
switch 5:
|
||||
- platform: mqtt
|
||||
command_topic: greenhousino/pump
|
||||
state_topic: greenhousino/pumpstate
|
||||
payload_on: "on"
|
||||
payload_off: "off"
|
||||
name: "Pumpe"
|
||||
`
|
||||
Reference in New Issue
Block a user