Skip to content

GracefulShutdown uses gpioPin=16 also assigned to Relay 5? #3

@JTG-IX

Description

@JTG-IX

First of all, many thanks for providing these setup helps!
I was already very happy with the GracefulShutdown in the Venus GUI but now discovered in your code GracefulShutdown.sh that when gpio pin16 is pulled low the same could be triggered. (and a hardwire button makes sense in my case).
This pin however seems (?double) used to control relay 5 already in the gpio_list which may be the reason I cannot get it to work.

I tried modifying the gpio_list and can get gpioPin16 to change from out to in by commenting out relay 5 and adding a 6th input under the digital inputs. After reboot it is also shown as 'in' in /sys/class/gpio/gpio23/direction. It does not seem to work though, when I take gpiopin16 (GPIO23) to ground nothing happens where I expect a gracefulshutdown.

Shutting down via the Venus gui works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions