Read the statement by Michael Teeuw here.
Need "correct" version of node-libgpiod ....
-
@sdetweil yes, indeed …
-
@rkorell Do have any any resources for your current development? I’m also stucking at a similar problem handling GPIO for buttons using a Raspberry Pi 5.
Do you have a Github Repository? -
@schlomm I’m absolute beginner …
Had HEAVILY used AI to get this done and have recycled a LOT.GPIO part is from old (discontinued) module MMM-Pir from Bugsounet.
This is reflected in pirLib.js - sliightly modified for my purposes.I do have a repository - pushed literally minutes ago …
Feel free to have a look.Buttons should work with some modification. Essentiall for my purposes I simply query state of a single GPIO pin - to which a PIR sensor is connected. Code must be enhanced to handle more than one pin - if you are talking about “butons” - which signals plural…
As mentioned such modification should be doable with AI as well.
[ EDIT : My system is a raspi5 / bookworm as well - this is main reason for some difficulties. Some procedures simply doesn’t work anymore with new libraries and I had to change implementation…]
Good luck!
Warm regards,
Ralf -
@sdetweil Dear Sam,
I was able to get this done - to my big surprise …
As announced, I just have pushed it to git and will post a corresponding message tomorrow.
Do I get it right that it is recommended to edit the modules page as well?
And the 3rd Party Modules page then will populate by itself, right?
Thanks!Warmest regards,
Ralf -
@rkorell yes, you edit the wiki page, and then the 3rd party list will pick up those changes on the next refresh (once a day)
-
-
@sdetweil thx!
-
@rkorell Thanks for publishing your great module. I already use it and hell yeah - it’s great :)
I was also able to make the needed modification to my “Buttons”-module using the node-libgpiod package. Main reason why it was not working was the missing postinstall script.Thanks and “schöne Grüße” :)
-
@schlomm
This is really cool.
Awesome that it works as designed…
(Was a little bit afraid that especially postinstall will fail and module doesn‘t work as expected…)
So thanks for (first !) confirmation for working module!Warmest regards,
Ralf- Schöne Grüße zurück - danke für‘s Kompliment und Danke für‘s „externe“ Testen! :-)