question

demderder avatar image
demderder asked

raspberry pi, swap relay on or off

im using a pi to run venus os. i have my relay board connected. im using https://github.com/kwindrem/RpiGpioSetup to give a few more options. relays 1 - 4 are on when the relay switch in venus says its off. how can i set it so the relay position is swapped so when my relay switch is on the relay is on?


I would ask in the github but i dont see a discussion tab

Raspberry PiRelay
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
Kevin Windrem avatar image
Kevin Windrem answered ·

What you are trying to do has been discussed before but may not be possible. Inverting the state of the relay control probably requires a DT overlay and that is certainly possible. However, during boot, the relays will all close until the DT overlay loads. Depending on what is connected to the relays this could be highly undesirable.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic

Raspberry Pi running Victron’s Venus firmware - Blog Post

Venus OS Large image: Signal K and Node-RED - Install

raspberrypi install venus image


Additional resources still need to be added for this topic