Thanks that worked like a charmedSo:
For deactivating the relay on shutdown have you considered using the gpio-poweroff devicetree overlay by adding something liketo the end of your config.txt?Code:
[all]dtoverlay=gpio-poweroff,gpiopin=15
For full details on the overlay refer to /boot/overlays/README and be aware that using this overlay means you will no longer be able to use GPIO3 to trigger a boot.
Statistics: Posted by danilux — Thu Mar 28, 2024 6:17 am