Monitoring shore power connected on a yacht


#1

Hello I’m a newbie in aspect to the Raspberry Pi. I’m building a system for our yacht to monitor the temperature and heating on board. This part is working and I want to monitor that the shore power is connected. I’m using a relay that gives a signal high to GPIO 27 which actually works. A trigger set on gpio 27 that the input is high works, but is notifying this state every 60 seconds. How can I adjust the Pi that it sends one notification for an event??

Kindly regards and thanks in advance

Andries


#2

have a look at this topic Sending MQTT messages within notification limit


#3

Case closed. All working proper now.

Thanks for the support