How to ensure gpio is low after deployment or nodered start

Hi

I have an injection - timestamp to set GPIO to low
but it is always high after a deployment or restart

i did read: but did not "understande" the solution
https://discourse.nodered.org/t/rpi-gpio-in-node-always-incorrect-first-read-after-boot/26339/21

to ensure GPIO low I did

[{"id":"33e87854.1286d8","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"dc3f7bc.3f76488","type":"rpi-gpio out","z":"33e87854.1286d8","name":"Giandel_low_init","pin":"40","set":true,"level":"0","freq":"","out":"out","x":460,"y":200,"wires":[],"icon":"node-red/light.svg"},{"id":"a88dfb2d.a449a8","type":"inject","z":"33e87854.1286d8","name":"gpio_low_p40","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":230,"y":200,"wires":[["dc3f7bc.3f76488"]]}]

thanks for guiding

BR T

PS. Looks like I made an error using same GPIO parallel. and not all where initialized with low.

Is it all working now?

The link you posted was about a bug in the GPIO In node that was fixed a year ago. I think you are using GPIO Out so it is irrelevant anyway.

Hi Colin,

I think it is working now.
as I added in first comment, I deleted duplicate GPIO Nodes and checked the initilized box and set to low.

thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.