I am trying to use a Shelly i3 to monitor the floats on my Zoeller lift station with the following configs…
substitutions:
device_label: Lift Station
device_name: lift_station
sensor_1_class: moisture
sensor_1_id: lift_station_lag
sensor_1_name: Lift Station Lag
sensor_2_class: moisture
sensor_2_id: lift_station_stop
sensor_2_name: Lift Station Stop
sensor_3_class: moisture
sensor_3_id: lift_station_lead
sensor_3_name: Lift Station Lead
update_interval: 5min
<<: !include _libs/shelly_i3.yaml
esphome:
name: ${device_name}
comment: Shelly i3
platform: ESP8266
board: esp01_1m
# NOTE: This will lower life of flash
esp8266_restore_from_flash: true
<<: !include common.yaml
binary_sensor:
- platform: gpio
device_class: ${sensor_1_class}
pin:
number: GPIO14
mode: INPUT
name: ${sensor_1_name}
id: ${sensor_1_id}
filters:
- delayed_on_off: 500ms
- platform: gpio
device_class: ${sensor_2_class}
pin:
number: GPIO12
mode: INPUT
name: ${sensor_2_name}
id: ${sensor_2_id}
filters:
- delayed_on_off: 500ms
- platform: gpio
device_class: ${sensor_3_class}
pin:
number: GPIO13
mode: INPUT
name: ${sensor_3_name}
id: ${sensor_3_id}
filters:
- delayed_on_off: 500ms
sensor:
# Strength of the WiFi
- platform: wifi_signal
name: ${device_label} WiFi Signal
update_interval: ${update_interval}
filters:
- median:
window_size: 10
send_every: 5
send_first_at: 5
# status_led:
# pin:
# number: GPIO0
# inverted: yes
switch:
- platform: restart
name: ${device_label} Restart
I cannot for the life of me figure out how to make it only trigger on the hot 120 wire. It will trigger on the hot, common & ground.
Can anyone point me towards what I am doing wrong with me config?