Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


KiwiME

214 posts

Master Geek


#318717 14-Feb-2025 11:17
Send private message quote this post

I need an automatic power transfer (changeover) switch for a rainwater pump on a 20A circuit.  My electrician doesn't seem to be able to come up with anything under $3-4 grand installed, more than twice what I expect is reasonable.

 

It's literally a changeover contactor and a plastic box placed along the path of an existing circuit with an inlet receptacle for the generator.  When the generator is started it detects that presence and swaps that circuit to the alternative power supply without risking back-feed to the mains.

 

There is an NZ manufactured one but it's manually-operated. There are a few others with EU certs offered by reputable suppliers priced at $800 to $1500 (for the hardware alone) but it's not clear if those could be signed-off.  There's plenty on eBay that say they comply with EU standards and are attractively priced.

 

Has anyone had one installed and certified by an electrician in NZ at a reasonable price that could share the source of that part?  I'm in Hawkes Bay.


Create new topic
KiwiME

214 posts

Master Geek


  #3358759 30-Mar-2025 16:24
Send private message quote this post

After reverse-engineering one great looking prospective transfer switchbox (NZ$800) from reputable company Victronics I realized that all they've done is use a 2-pole double-throw contactor backwards to select the two power sources.  I think that's what my local electrician was proposing as well for a ridiculous $3-4k.  There's no way that's going to be compliant as best as I can see because the flashover isolation between the sources would be inadequate.  Proper changeover switches space the source contacts much further apart and use solenoids or a motor to toggle the load between them.

 

I eventually purchased a switch that actually complies with IEC 60947.6.1 as required by the NZ 2010 standards and is also quite inexpensive.  It's a compact new design from 2024 and perfectly suits my relatively-light load. But it's also autonomous in operation and has no provision for external low-voltage controls like more expensive ones do.  What I need to do is use the generator to determine when the transfer switches over by placing that as the primary (default) power source rather than the mains.

 

I can see now why automatic switches don't suit every situation.  You shouldn't just suddenly and blindly suddenly change power to working appliances from one source to another with an unsynchronised phase angle.  Running motors could pull a big spike in current and pop a breaker even if electronics don't care.

 

So, seeing as my application is for one pump only I've designed a controller that will momentarily disable the pump some tens of seconds before starting the generator.  As soon as the transfer switch sees generator power it will change to that power source irrespective of mains power.  That way if the pump is already running on generator power and the mains suddenly reappears it won't switch back until the generator has been turned off and the pump has stopped.

 

 

 

But there are more challenges once I started looking at installation details.  My existing 6kW conventional 'dumb' petrol generator (only 3 years and still a popular model) has a fully-isolated 230VAC output.  My new 5.5kW conventional (smart 2-wire run) diesel generator has a neutral-chassis bond with an RCD.  It's almost unbelievable that there are two electrical configurations for portable generators on sale today in NZ and neither vendor mentions this significant detail.

 

The complication resulting is that the electric code seems to require that N from mains to the load is maintained at either transfer switch position to maintain the single established MENs point at the main switchboard. But my diesel generator has its own MENs when grounded and I'm pretty sure but not certain that you can't or shouldn't have both. 

 

Disconnecting the MEN link in the generator means that the RCD will not work properly if the generator was used in a stand-alone situation.  The obvious answer is for the transfer switch to switch both L and N for the mains source as well as the generator source to allow the load to either MENs without conflict.  

 

There are many guides on the web from various sources like Worksafe and both NZ and Australian lines companies.  But they cover specific situations such as temporarily running an entire house from a genset in an emergency where you completely disconnect both mains L and N. Further research is needed before I call the electrician.




SirHumphreyAppleby
2852 posts

Uber Geek


  #3358761 30-Mar-2025 16:49
Send private message quote this post

I'm not going to pretend I understand the technical details, at least on first glance, but I have been watching this thread and thank you for your update.

 

Where did you source the GEYA GR2 from and ensure compliance?


KiwiME

214 posts

Master Geek


  #3358780 30-Mar-2025 17:22
Send private message quote this post

That’s a good question.  I imported this directly from the manufacturer and they have provided copies of the testing and certification documents. Since I’m not selling this item to the public in NZ there is no SCoC. It’s on me and my electrician to accept the compliance. They have other older transfer switch products but this is the first to meet the requirements that NZ has adopted.




KiwiME

214 posts

Master Geek


  #3400050 4-Aug-2025 22:12
Send private message quote this post

As an update to my thread for anyone interested, over four months later the fully automatic generator backup system for my rainwater pumps is nearly complete. It's now connected between the pumps and their mains supply temporarily using heavy-duty extension cords while I debug the software.  After more testing I'll call my electrician to see if they'll agree to wire it up permanently to the 20A circuit leading to the two pumps that passes by (behind the trellis) where the installation is located on my 1st-floor patio.

 

 

 

It's still based around the automatic low-cost transfer switch ('ATS') that I described above plus a controller PCB that I designed based around an Espressif ESP32 DevkitC microcontroller.  Luckily I have the skills to do the electronics and Arduino-based software adequately but the simple website required a couple of weeks learning some javascript, CSS and websockets - at least well enough to get this working.  Most of the small electronic parts came from Jaycar but others are from the UK, US and China - all with minimal or no shipping costs.  The quality of the circuit board manufacturing, my first time designing such a thing, was especially impressive - and cost only US$60 shipped for the minimum quantity of 5, taking only four days. I just wish I'd made less mistakes...

 

Aside from managing the generator during power-out and rainfall conditions, it also automatically charges the lead-acid battery in the 6kW generator for 30 minutes twice a day, and tests the two relays that temporarily isolate the two pumps during generator / ATS startup and shutdown. The battery charge is limited to 14.7 V and 2 A.  I also use the current sensor to correct for resistive voltage losses in the wires leading to the generator so that I can accurately know the voltage at the battery terminals.

 

It's permanently logged into my WiFi and hosts a simple smartphone-sized webpage that indicates the status, much the same as the LEDs on the PCB, but including the live DC supply and battery voltages with charge current, plus I can start a 30-min battery charge if required, or stop one already in progress.  There is also a simple text page hosted that holds timestamped logs of events, alerts and faults.  It's written to non-volatile RAM on the ESP32, so survives loss of power.  'Faults' are also emailed, assuming the WiFi is working when required. 

 

There's currently no intent to 'control' the generator from the webpage, nor intervene in the automated process.  My logic is that if I can't think of what can happen now while programming this, I won't think of it later under duress.

 

 

 

The basic process is that if the mains power fails the controller will continue to run off the generator battery for 10 minutes in case the power comes back on.  It will then switch itself 'off' to save battery energy.  It only draws about 70 mA so it could run for hours off the 30Ah battery without a problem.

 

The 300 L rainwater below-ground tank has four new level switches added, two each for redundancy on each of two channels.  If any of the four are are lifted by the water level the controller will boot-up on the gen battery again.  It will then isolate ('inhibit') the pumps (disconnect them from their AC supply using relays) and start the generator.  A relay (to the right of the Geya ATS) indicates to the controller when generator power is present and the transfer switch will automatically change over when it sees that same voltage.   The controller will drop the inhibits in sequence allowing each pump to start separately as to avoid having both start at the same time - should both have been triggered by their own built-in float switches.

 

It will then time the operation of each pump (noting that normally only one pump runs, the other is a backup) and then decide if it's better to switch off the generator or wait until the tank fills up again.  It will always run the generator long enough to give the battery enough charge to start up again, perhaps 8 minutes.  Note that the higher the rainfall present the longer it takes to pump out the tank, so that's what this decision is based on. 

 

In very heavy rain a 1-2 minute pumpout might be needed every 6-10 minutes so the generator would stay running during the wait.

 

If the mains power comes back on during any of this, the process is not disrupted.  The transfer switch is wired to prioritise the generator input, so by controlling when the generator is 'on' or 'off' I can control when the transfer switch changes to the non-priority mains position.  Given that the mains could be flakey when it returns I'd not be in too much of a rush to switch back anyway.

 

 

 

The biggest risk I can think of is if a circuit breaker (or the RCD) trips on the generator.  I'll be able to time-out at the appropriate stage and shut it down, but there's nothing I can do remotely to correct such a fault.  It's critical that I ensure that I minimise the chance of a ground fault or earth leakage due to water ingress in the submerged pumps and their integrated float switches. But I also have to keep the generator from trying to start over and over due to the remaining high water level and no mains power.

 

Out of about 10 distinct modes of operation I have one which is intended to prevent the system from 'cycling' pointlessly due to an error such as the one above.  If the generator and pump power does not appear when expected after an appropriate time-out I'll move to 'Mode 90' after which it cannot leave without a controller restart.

 

Here are some photos of the rig. It's had a lot of 'bench' testing but I haven't had it actually start the generator by itself yet.

 

 

 

 

 

 


Create new topic





News and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.