Septic System Alert Monitoring System Project

This is an emergency project in progress which was driven by an incident that occurred while I had guests visiting. Over the weekend I had an issue with my septic system. My home is located in a rural area near the intracoastal waterway in North Carolina. I have what is called a Lift Station as part of my septic system which pumps waste water uphill several hundred meters to a leach/drain field. This failed and I got no indication from the lift station control circuits (which is in an enclosure in my yard) that there was an issue. Normally a light and audible alarm would come on.

The system has 3 float switches for determining water level, 4 indicator lights, and some other components to turn on a pump when water fills to a defined level. I would like to add a monitor capability to this system which would show indications in Home Assistant when each of the four indicator lights are on. The electrical enclosure for this system sits in the middle of a field. All of the float switches connect to a panel and electronics that are located in a weatherproof enclosure. The panel run on 120VAC.

Light 1 should always be on as it simply says the panel has power. For the other three it depends on the position of their respective float switches. Connectors to the 3 float switches are labeled “A”, “B” , and “C” in the diagram. These indicate the following:
“A” indicates that the pump is currently running
“B” indicates that the water level is within working parameters and has not gone to low risking pump burn out.
“C” indicates that the water level is too high and may not be pumping water or pumping it fast enough.

Since this is in an electrical panel outside in my field and weather can be pretty bad here in hurricane season, I needed a solution that can survive less than ideal conditions of temperature, humidity, moisture, etc. There are also space constraints within the box. I really needed (prefer) a single device with four inputs which can connect to Home Assistant and indicate if 120VAC is present or not (effectively confirming the position of the float switches and water level for the first 3) at each of the four points. This device should ideally be powered by 120VAC as I do not really have room for a power supply.

So I purchased a Shelly Plus i4 for this task. Upon receipt I set it up and tested it on the bench to confirm it would do what I was hoping as described above. It seemed to work fine and operated well when I applied 120VAC to any of the switch pins. This resulted in the state changing in Home Assistant as desired.
I also noticed during my initial testing on the bench that both of the connectors on the Shelly under the “L” Label did not appear to have continuity between them. I found this odd as there is no clear indication in anything I have read that they are not connected. So I expected them to be the same. The second “L” labeled connector on the Shelly is not clearly documented and as to whether it receives voltage from outside the device or if the voltage is supposed to be the supplied from the other “L” labeled terminal inside the device?
Then I installed the Shelly Plus I4 into my electrical panel. At this point I did not connect anything to the one “L” terminal on the Shelley near the Switch Terminals. It appeared to work properly for a moment or two, however it soon changed all switch indicators to a state in Home Assistant which showed them all as detected/on even though two were on and two were not. Some investigation appeared to indicate that there was some low amount of voltage (2-9VAC for example) floating on the switch lines when the circuit was open and not connected to the 120VAC. Probably induced into the line from other lines? I assume this is what makes the Shelly I4 think there is a connection and these line are on?
I then installed a jumper between the second open “L” terminal and 120VAC assuming maybe this was what is intended in the diagrams that are around on the internet. This made no difference at all.
So I have designed the circuit shown here to interface to the existing system at points “A”, “B”, “C”, Neutral, and 120VAC. This circuit has 3 relays with one for each of “A”, “B”, and “C” connectors which should connect the Shelly switch inputs to either 120VAC or Neutral rather than leaving the lines open when not turned on. I believe this should eliminate any floating voltage problems. I assume there is nothing in the Shelly Plus I4 input design that would prevent this from working.
So to the questions:
In my circuit design the Shelly switch inputs should always have either 120VAC or Neutral applied to them, and should never be left open. Can each of the Shelly switch inputs accept the either 120VAC or Neutral without issue? I would hate to switch an input to Neutral and have the Device be damaged.
Are all the Shelly switch inputs isolated from each other in a way that if some are switched to 120VAC and some are switched to Neutral will this function properly without causing issues issues?
Can anyone confirm what the internal connection are for the second “L” labeled terminal near the switch in the Shelly Plus I4? Is it expected to supply or receive 120VAC at the terminal or can it be left open? Or can it be tied to the Neutral?

The I4 is designed for either 120 volts or 240 volts. 120V would be 1 hot and 1 neutral so you would use L and N on the Shelly. If your lift station runs on 240V then you’ll have 2 hot wires and no nuetral so you would connect to both L’s on the Shelly. Use a meter to determine input voltage to the lift station. Wire colors don’t mean anything. Most of the lift stations I work on are 240 volt (but not all).

Regarding the false signals, are you connecting the Shelly to to switched side of the float switches? One wire to the float switch will always be hot. One wire will only be hot when the fluid level is high enough to raise the float typically. Also, it’s not unusual for the float switches to bleed some voltage. You might check with a meter and see 60 or 80 bolts on the switched side when it should be 0. Means you need to replace the float.

I’m making some assumptions here so might be wrong. If this doesn’t help post a picture of the control box and especially the terminal strip where the floats connect (if there is one).

The Lift Station is definitely running on 120VAC. There are two separate breakers in the box with separate 120VAC connections to the main house breaker. One of the breakers feeds control circuits and the other is specicially to power the pump when the contactor points close. Though the contactor has two sets of connections and the system could suport 240VAC it is not configured that way. I have made many measurements to test the floats and their functionality with a volt meter referenced to Neutral confirming the operation. I also used an Amp Clamp to confirm the pump draws about 6.5 - 75. Amps when running. This image is how it is wired.

In the atached image of the terminal strip L1, L2, and N on the left side are power for the pump and you can see there is no connection on L2. So when the contactor closes the L1 120VAC is sent to the pump.

Pins 9, 11, and 15 supply 120VAC to the floats and when the float connections close pins 10, 12, and 16 receive voltage from the floats to do their things.

Pins 9 and 10 are the water too low off float.
Pins 11 and 12 are the Pump on/off normal operation float.
Pins 15 and 16 are the water is too high warning float.

I am connecting my “A”, “B”, and “C” connections to pins 10, 12, and 16. These are the pins where I see low voltage AC kinda floating on the lines which I believe is what is causing the Shelly to indicate they are on. My proposed design above would take float changes and respectivel energize the coils on the relays and feed either 120VAC or Neutral to the Shelly I4 switch inputs 2, 3, and 4 respectively. By doing this ther Shelly should never see the floating low level voltages which I believe are causing the issue when the floats are in an open state which two of them are most of the time (the pump on and alert lines).

So, to confirm what you suggest. I should connect Neutral and my Control Circuit 120AC to the Shelly on connection points “N” ans “L” (the one next to the “N” and the Shelly) respectively for 120VAC operation. I should leave the other “L” connection open on the Shelly since I am not running 240VAC. If I do this, feeding either 120VAC or Neutral from the relays to the Shelly inputs should work properly and not cause any issues??? Correct???

According to this diagram you should

  • connect power to the shelly’s rightmost L & N
  • connect the second L to all of the relay’s commons
  • connect the inputs to the relay’s NOs
  • (or the other way round)
  • leave the inputs floating when the relays are open

However, I don’t see why pulling the open input to neutral wouldn’t work.

Some investigation appeared to indicate that there was some low amount of voltage (2-9VAC for example) floating on the switch lines when the circuit was open and not connected to the 120VAC

This sounds like your neutral is not cleanly bound to neutral. There should must be 0V between shelly’s N and the relay’s N when they are correctly connected to the same potential.

The two L are not used for 110/240V. Connecting them that way might blow up the device.

Thanks for the response.

So a quick question. What is the relationship between the “L” next to the Neutral which I understand to be supplying power for the Shelly to operate and the other “L” you are suggesting all relay commons get attached to? Is it a Voltage out point, a voltage in point, or a contact to which we apply a common voltage point (120VAC, Neutral, Ground, etc.) that depends on our specific needs?

According to the label and to some of the wiring diagrams I’d expect them to be in parallel - which your measurement showed them not to be.
Currently, I can not confirm anything as I don’t have an i4 here, sorry.

Using your suggestions on how to finalize the wiring I have installed the status monitor circuit and it appears to be working for now. I will watch over it for the next few days/weeks and make sure it remains working as expected… Thanks!