Multi Flow buckets + ESP32 + Node Red

Home Assistant automation projects, questions, etc. go here.
Post Reply
morrisraybrooks
LED Enthusiast
LED Enthusiast
Reactions:
Posts: 57
Joined: Fri Dec 04, 2020 3:27 am

PARTS LIST

Multi Flow buckets
https://www.hydroponics.net/

4-Channel 5v Solid State Relay Module
https://www.amazon.com/WINGONEER-level- ... p_d_rp_2_t

ESP32-DevKitC core Board ESP32
https://www.amazon.com/gp/product/B08KT ... UTF8&psc=1

PROJECT BOX
https://www.amazon.com/QILIPSU-150x150x ... _d_rp_1_t

FLOAT SWITCHES = 5 PER MASTER BUCKET
https://www.amazon.com/Anndason-Pieces- ... NrPXRydWU=


#==============================================
ESP32 code for ESPHome
#==============================================

Code: Select all

esphome:
  name: garden-bucket-controller
  platform: ESP32
  board: nodemcu-32s

wifi:
  ssid: "what ever"
  password: "what ever"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "what ever"
    password: "what ever"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "what ever"

ota:
  password: "what ever"

#==============================================  
web_server:
  port: 80  
#==============================================  
switch:
  - platform: restart
    name: "garden-bucket-controller Restart"
#==============================================
#    4 cahannel relay board (ch 1)  GPIO16    #
#==============================================
  - platform: gpio
    pin: GPIO16   #D7
    name: "relay ch 1"
    id: G_B_C_relay_ch_1
    inverted: true
#==============================================
#    4 cahannel relay board (ch 2)  GPIO17    #
#==============================================    
  - platform: gpio 
    pin: GPIO17
    name: "relay ch 2"
    id: G_B_C_relay_ch_2
    inverted: true
#==============================================
#    4 cahannel relay board (ch 3)  GPIO18    #
#==============================================     
  - platform: gpio 
    pin: GPIO18
    name: "relay ch 3"
    id: G_B_C_relay_ch_3
    inverted: true
#==============================================
#    4 cahannel relay board (ch 4)  GPIO19    #
#==============================================
  - platform: gpio 
    pin: GPIO19
    name: "relay ch 4"
    id: G_B_C_relay_ch_4
    inverted: true
#==============================================
text_sensor:
  - platform: template
    name: Uptime Human Readable
    id: uptime_human
    icon: mdi:clock-start
sensor:
  - platform: uptime
    name: Uptime Sensor
    id: uptime_sensor
    update_interval: 60s
    on_raw_value:
      then:
        - text_sensor.template.publish:
            id: uptime_human
            state: !lambda |-
              int seconds = round(id(uptime_sensor).raw_state);
              int days = seconds / (24 * 3600);
              seconds = seconds % (24 * 3600);
              int hours = seconds / 3600;
              seconds = seconds % 3600;
              int minutes = seconds /  60;
              seconds = seconds % 60;
              return (
                (days ? String(days) + "d " : "") +
                (hours ? String(hours) + "h " : "") +
                (minutes ? String(minutes) + "m " : "") +
                (String(seconds) + "s")
              ).c_str();
#==============================================
#sensor:
  - platform: wifi_signal
    name: "garden-bucket-controller_wifi_signal"
    update_interval: 60s
#  - platform: uptime
#    name: "garden-bucket-controller_wifi_uptime"
#    update_interval: 60s
#==============================================
binary_sensor:
  - platform: gpio
    pin:
      number: GPIO4
      mode: INPUT_PULLUP
    name: top_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
#    - invert:
#==============================================
  - platform: gpio
    pin:
      number: GPIO13
      mode: INPUT_PULLUP
    name: Mid_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
#    - invert:
#==============================================
  - platform: gpio
    pin:
      number: GPIO14
      mode: INPUT_PULLUP
    name: Bottom_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
    - invert:
#==============================================
  - platform: gpio
    pin:
      number: GPIO23
      mode: INPUT_PULLUP
    name: Very_Bottom_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
    - invert:
#==============================================
  - platform: gpio
    pin:
      number: GPIO25
      mode: INPUT_PULLUP
    name: Over_Flow_Float
    device_class: moisture
    filters:
    - delayed_on: 0ms
    - delayed_off: 0ms
    - invert:
#==============================================
#  1  line_2_top_float   GPIO2
#==============================================
  - platform: gpio
    pin:
      number: GPIO5
      mode: INPUT_PULLUP
    name: line_2_top_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
    - invert:
#==============================================
#  2  line_2_Mid_float  GPIO3
#==============================================
  - platform: gpio
    pin:
      number: GPIO2
      mode: INPUT_PULLUP
    name: line_2_Mid_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
    - invert:
#==============================================
#  3  line_2_Bottom_float  GPIO5
#==============================================
  - platform: gpio
    pin:
      number: GPIO0
      mode: INPUT_PULLUP
    name: line_2_Bottom_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
    - invert:
#==============================================
#  4  line_2_Very_Bottom_float  GPIO27
#==============================================
  - platform: gpio
    pin:
      number: GPIO27
      mode: INPUT_PULLUP
    name: line_2_Very_Bottom_float
    device_class: moisture
    filters:
    - delayed_on: 1ms
    - delayed_off: 1ms
#    - invert:
#==============================================
#  5  line_2_Over_Flow_Float   GPIO26
#==============================================
  - platform: gpio
    pin:
      number: GPIO26
      mode: INPUT_PULLUP
    name: line_2_Over_Flow_Float
    device_class: moisture
    filters:
    - delayed_on: 0ms
    - delayed_off: 0ms
    - invert:
#==============================================
Last edited by morrisraybrooks on Sat Jun 26, 2021 2:49 am, edited 1 time in total.
morrisraybrooks
LED Enthusiast
LED Enthusiast
Reactions:
Posts: 57
Joined: Fri Dec 04, 2020 3:27 am

Both flows have to be combined to get 24 hour control
part 1

Code: Select all

[{"id":"4c99c1e4.3b549","type":"tab","label":"work","disabled":false,"info":""},{"id":"bd570692.109088","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":540,"wires":[[]]},{"id":"9f522698.018e3","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":640,"wires":[[]]},{"id":"9b410607.d26208","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":740,"wires":[[]]},{"id":"a8c5b058.c79ca","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":840,"wires":[[]]},{"id":"19fdc743.c77e99","type":"comment","z":"4c99c1e4.3b549","name":"02:00 AM FEED","info":"02:00 AM FEED","x":600,"y":500,"wires":[]},{"id":"84e10bd7.205fe","type":"comment","z":"4c99c1e4.3b549","name":"02:15 AM DRAIN","info":"02:15 AM DRAIN","x":600,"y":600,"wires":[]},{"id":"cd199642.b10e28","type":"comment","z":"4c99c1e4.3b549","name":"04:00 AM FEED","info":"04:00 AM FEED","x":600,"y":700,"wires":[]},{"id":"5279d2da.69dfd4","type":"comment","z":"4c99c1e4.3b549","name":"04:15 AM DRAIN","info":"04:15 AM DRAIN","x":600,"y":800,"wires":[]},{"id":"e56597a1.c8162","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":940,"wires":[[]]},{"id":"ff7682c4.5a1d48","type":"comment","z":"4c99c1e4.3b549","name":"06:00 AM FEED","info":"06:00 AM FEED","x":600,"y":900,"wires":[]},{"id":"4b4a435f.226a5c","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":1040,"wires":[[]]},{"id":"ce03f1dc.250d2","type":"comment","z":"4c99c1e4.3b549","name":"06:15 AM DRAIN","info":"06:15 AM DRAIN","x":600,"y":1000,"wires":[]},{"id":"3332e46a.5cec14","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":1140,"wires":[[]]},{"id":"91f6c17a.89c4b8","type":"comment","z":"4c99c1e4.3b549","name":"08:00 AM FEED","info":"08:00 AM FEED","x":600,"y":1100,"wires":[]},{"id":"827dc7f.b3992b8","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":1240,"wires":[[]]},{"id":"ac13f94e.a98e88","type":"comment","z":"4c99c1e4.3b549","name":"08:15 AM DRAIN","info":"08:15 AM DRAIN","x":600,"y":1200,"wires":[]},{"id":"f24a9ebb.a11e38","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":1340,"wires":[[]]},{"id":"60e9cc3d.da757c","type":"comment","z":"4c99c1e4.3b549","name":"10:00 AM FEED","info":"10:00 AM FEED","x":600,"y":1300,"wires":[]},{"id":"d209c220.10eea8","type":"api-call-service","z":"4c99c1e4.3b549","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":1440,"wires":[[]]},{"id":"14101233.3f6176","type":"comment","z":"4c99c1e4.3b549","name":"10:15 AM DRAIN","info":"10:15 AM DRAIN","x":600,"y":1400,"wires":[]},{"id":"33797be9.2da1dc","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 02:00 AM FEED","debug":false,"autoname":"02:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"02:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":660,"y":540,"wires":[["bd570692.109088"]]},{"id":"27aadd93.faf3f2","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 02:15 AM DRAIN","debug":false,"autoname":"02:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"02:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":670,"y":640,"wires":[["9f522698.018e3"]]},{"id":"ba40730a.58a678","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 04:00 AM FEED","debug":false,"autoname":"04:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"04:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":660,"y":740,"wires":[["9b410607.d26208"]]},{"id":"5b4789d2.30419","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 04:15 AM DRAIN","debug":false,"autoname":"04:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"04:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":670,"y":840,"wires":[["a8c5b058.c79ca"]]},{"id":"25a85eb1.f4e4f2","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 06:00 AM FEED","debug":false,"autoname":"06:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"06:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":660,"y":940,"wires":[["e56597a1.c8162"]]},{"id":"91981a67.55d1b","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 06:15 AM DRAIN","debug":false,"autoname":"06:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"06:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":670,"y":1040,"wires":[["4b4a435f.226a5c"]]},{"id":"d39b6cb0.f84428","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 08:00 AM FEED","debug":false,"autoname":"08:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"08:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":660,"y":1140,"wires":[["3332e46a.5cec14"]]},{"id":"f641e858.b9e91","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 08:15 AM DRAIN","debug":false,"autoname":"08:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"08:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":670,"y":1240,"wires":[["827dc7f.b3992b8"]]},{"id":"a9b9ac2f.7dba38","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 10:00 AM FEED","debug":false,"autoname":"10:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"10:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":660,"y":1340,"wires":[["f24a9ebb.a11e38"]]},{"id":"e7a4d320.22bbb8","type":"eztimer","z":"4c99c1e4.3b549","name":"Garden_Controller 10:15 AM DRAIN","debug":false,"autoname":"10:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"10:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":670,"y":1440,"wires":[["d209c220.10eea8"]]}]
Last edited by morrisraybrooks on Sat Jun 26, 2021 1:29 am, edited 1 time in total.
morrisraybrooks
LED Enthusiast
LED Enthusiast
Reactions:
Posts: 57
Joined: Fri Dec 04, 2020 3:27 am

Both flows have to be combined to get 24 hour control
flow 2

Code: Select all

[{"id":"fd208a72.9662d","type":"tab","label":"work2","disabled":true,"info":""},{"id":"2384781b.07cf48","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":440,"wires":[[]]},{"id":"73a33dfb.2c0ab4","type":"comment","z":"fd208a72.9662d","name":"12:00 AM FEED","info":"12:00 AM FEED","x":460,"y":400,"wires":[]},{"id":"4b22daed.4303f4","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":540,"wires":[[]]},{"id":"d3e585fb.d9cb1","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":640,"wires":[[]]},{"id":"f2ac780d.333c78","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":740,"wires":[[]]},{"id":"1c92c803.0db1a","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":840,"wires":[[]]},{"id":"23c18ad2.7dc74e","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":940,"wires":[[]]},{"id":"9b25bd4.8afb64","type":"comment","z":"fd208a72.9662d","name":"12:15 AM DRAIN","info":"12:15 AM 02:00 AM FEED","x":460,"y":500,"wires":[]},{"id":"8c34ad87.e2c78","type":"comment","z":"fd208a72.9662d","name":"02:00 PM FEED","info":"02:00 PM FEED","x":460,"y":600,"wires":[]},{"id":"9006b29e.8ed778","type":"comment","z":"fd208a72.9662d","name":"02:15 PM DRAIN","info":"02:15 PM DRAIN","x":460,"y":700,"wires":[]},{"id":"df79a2b2.24f6f8","type":"comment","z":"fd208a72.9662d","name":"04:00 PM FEED","info":"04:00 PM FEED","x":460,"y":800,"wires":[]},{"id":"19314cd.132d933","type":"comment","z":"fd208a72.9662d","name":"04:15 PM DRAIN","info":"04:15 PM DRAIN","x":460,"y":900,"wires":[]},{"id":"ca1b53e1.86fba8","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":1040,"wires":[[]]},{"id":"3030c22d.435126","type":"comment","z":"fd208a72.9662d","name":"06:00 PM FEED","info":"06:00 PM FEED","x":460,"y":1000,"wires":[]},{"id":"55c063ad.354bfc","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":1140,"wires":[[]]},{"id":"381ab34f.36cc54","type":"comment","z":"fd208a72.9662d","name":"06:15 PM DRAIN","info":"06:15 PM DRAIN","x":460,"y":1100,"wires":[]},{"id":"6f6d6711.a05858","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":810,"y":1240,"wires":[[]]},{"id":"93b326a4.b58048","type":"comment","z":"fd208a72.9662d","name":"08:00 PM FEED","info":"08:00 PM FEED","x":460,"y":1200,"wires":[]},{"id":"ab033f23.793c1","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":1340,"wires":[[]]},{"id":"5a21808e.8e784","type":"comment","z":"fd208a72.9662d","name":"08:15 PM DRAIN","info":"08:15 PM DRAIN","x":460,"y":1300,"wires":[]},{"id":"d16dc5c6.fe0c6","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":810,"y":1440,"wires":[[]]},{"id":"3cad19dd.2f6756","type":"comment","z":"fd208a72.9662d","name":"10:00 PM FEED","info":"10:00 PM FEED","x":460,"y":1400,"wires":[]},{"id":"44d1c7b.aeee7b8","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":1540,"wires":[[]]},{"id":"d5068632.7d9b58","type":"comment","z":"fd208a72.9662d","name":"10:15 PM DRAIN","info":"10:15 PM DRAIN","x":460,"y":1500,"wires":[]},{"id":"fad4c2a.b1fe6c","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_2_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":1640,"wires":[[]]},{"id":"1bf93927.bdb4e7","type":"comment","z":"fd208a72.9662d","name":"12:00 PM FEED","info":"12:00 PM FEED","x":460,"y":1600,"wires":[]},{"id":"40411f81.a0f4","type":"api-call-service","z":"fd208a72.9662d","name":"Garden_Controller","server":"","version":3,"debugenabled":true,"service_domain":"switch","service":"turn_on","entityId":"switch.relay_ch_1_2","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":1740,"wires":[[]]},{"id":"93c7a954.d439d","type":"comment","z":"fd208a72.9662d","name":"12:15 PM DRAIN","info":"12:15 PM DRAIN","x":460,"y":1700,"wires":[]},{"id":"9384aad0.2796b","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 12:00 AM FEED","debug":false,"autoname":"12:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"12:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":520,"y":440,"wires":[["2384781b.07cf48"]]},{"id":"5d745b0a.e2052c","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 12:15 AM DRAIN","debug":false,"autoname":"12:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"12:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":530,"y":540,"wires":[["4b22daed.4303f4"]]},{"id":"2f664796.09f1d8","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 02:00 PM FEED","debug":false,"autoname":"14:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"14:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":520,"y":640,"wires":[["d3e585fb.d9cb1"]]},{"id":"4e8b6502.2f600c","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 02:15 PM DRAIN","debug":false,"autoname":"14:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"14:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":530,"y":740,"wires":[["f2ac780d.333c78"]]},{"id":"753686ca.f474","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 04:00 PM FEED","debug":false,"autoname":"16:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"16:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":520,"y":840,"wires":[["1c92c803.0db1a"]]},{"id":"7ac3e3d9.fd61bc","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 04:15 PM DRAIN","debug":false,"autoname":"16:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"16:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":530,"y":940,"wires":[["23c18ad2.7dc74e"]]},{"id":"6e7e7087.09edc8","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 06:00 PM FEED","debug":false,"autoname":"18:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"18:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":520,"y":1040,"wires":[["ca1b53e1.86fba8"]]},{"id":"e5c98903.2361b","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 06:15 PM DRAIN","debug":false,"autoname":"18:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"18:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":530,"y":1140,"wires":[["55c063ad.354bfc"]]},{"id":"3ab276a2.47438a","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 08:00 PM FEED","debug":false,"autoname":"20:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"20:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":520,"y":1240,"wires":[["6f6d6711.a05858"]]},{"id":"d5c790fa.470f78","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 08:15 PM DRAIN","debug":false,"autoname":"20:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"20:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":530,"y":1340,"wires":[["ab033f23.793c1"]]},{"id":"ac9c53a5.516c38","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 10:00 PM FEED","debug":false,"autoname":"22:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"22:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":520,"y":1440,"wires":[["d16dc5c6.fe0c6"]]},{"id":"4f8ca4c1.d41334","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 10:15 PM DRAIN","debug":false,"autoname":"22:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"22:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":530,"y":1540,"wires":[["44d1c7b.aeee7b8"]]},{"id":"f352c283.6afd1","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 12:00 PM FEED","debug":false,"autoname":"24:00:00","tag":"eztimer","topic":"Fill_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"24:00:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":520,"y":1640,"wires":[["fad4c2a.b1fe6c"]]},{"id":"44eb6f20.cbbc7","type":"eztimer","z":"fd208a72.9662d","name":"Garden_Controller 12:15 PM DRAIN","debug":false,"autoname":"24:15:00","tag":"eztimer","topic":"Drain_on","suspended":false,"sendEventsOnSuspend":false,"latLongSource":"haZone","latLongHaZone":"zone.home","lat":"","lon":"","timerType":"2","startupMessage":false,"ontype":"2","ontimesun":"dawn","ontimetod":"24:15:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"1","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"resend":false,"resendInterval":"0s","mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":530,"y":1740,"wires":[["40411f81.a0f4"]]},{"id":"54698175.dcd2d8","type":"comment","z":"fd208a72.9662d","name":"0000000000000000000000000000000000000000000000000000000000000","info":"","x":650,"y":360,"wires":[]}]
morrisraybrooks
LED Enthusiast
LED Enthusiast
Reactions:
Posts: 57
Joined: Fri Dec 04, 2020 3:27 am

black bucket2.jpg
Image
Attachments
float switches.jpg
Post Reply