-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wpi2 at bootstrap #28
Comments
Does it flash when the Pi boots, or when homebridge starts? Not sure it's possible to control the pin states until after the Pi has booted - because they haven't been initialised by the kernel. That would mean you would need to design a circuit that handles the reboots electronically rather than software. If they don't flash during the actual boot, and only start misbehaving during homebridge startup, then there probably is something we can fix in the plugin. |
The gpio start HIGH (one time for a few milliseconds) during homebridge startup. |
I /think/ the fix may be to set the value before the direction - which happens in It would need the line
... moving in between the .export command and .direction. I'm not near my Pi setup at the moment to give it a try - but if you're able to test that as a fix, that would be great. Got a bunch of other changes to publish as well, so can work this into the next release. |
Ok - thanks for trying. Will do some more testing when I've got time in
front of my Pi.
…On Wed, 23 Aug 2017 at 11:59, kiondi ***@***.***> wrote:
I move command line between the export and direction but is the same at
homebridgestrat, the code:
[image: image]
<https://user-images.githubusercontent.com/30904725/29612708-d7e8d096-8802-11e7-9012-09f34849bba8.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARe_tdf3LlZdiXFBxH6KrJnIY8iW1ULNks5sbAYigaJpZM4O9iBm>
.
|
Ok, I leave you a video of the stratup sequence with 2 relays connected on gpio. |
Struggling with the same.. have you managed to solve it? It opens my garage on rpi startup :D |
Hi
Thank you for your great job.
I have a problem when raspberry boot.
My relay board, connected on gpio (active with LOW signal) switch from HIGH to LOW all time raspberry start.
How can I do to not blink the outputs at each reboot?
thank you for any suggest.
Marco
The text was updated successfully, but these errors were encountered: