How to use button in dashboard to toggle Led in raspberry pi?

Use the flow I posted and connect the output of the function node to the GPIO node input.

1 Like