This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detect a fault in the AC power supply from the dock
#1
Hello everybody.

What do you think would be the simplest way to detect - using the MacArthur Hat - an interruption in the AC power supply from the socket on the dock?

I would like to raise an alarm and send a message to my phone when that happens.
Reply
#2
(2026-04-05, 09:21 AM)Nas Wrote: Hello everybody.

What do you think would be the simplest way to detect - using the MacArthur Hat - an interruption in the AC power supply from the socket on the dock?

I would like to raise an alarm and send a message to my phone when that happens.

Hi Nas
What a great idea! 
Perhaps a 230V/5V relay before any smartness (eg inverter charger with UPS facility) fed from the shorepower connection? Detect the change from open to closed or vice versa? 
I assume your RPi will be battery powered, as would need to be your notification system. 
But it will also flag when you pull out the shorepower supply before you set sail.
There is a device made to do this IIRC if it is all too hard, read about it in a DBA forum post. Has same issue of notifying you when you unplug shorepower. https://barges.org/discussion-forum/barg...t=0#145112
And in the same thread a member had a RPi doing the work, perhaps we should ask him!
Regards
Chris
Reply
#3
Hi. Being notified when you unplug the shore power it’s not a problem (you know the reason of the alarm).

Somebody suggested to use an optocoupler connected to the AC shorepower to produce an alert via a GPIO pin in the raspberry. That could work for me, it’s very cheap!

A different suggestion I have received is to use a Tuya wifi smart plug, it seems that can produce an alarm when disconnected from the main power.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)