When triggering a scene through GPIO it does not activate when the contact is made but after it is removed
example: momentary switch pressed down does nothing but when it is depressed it (sometimes) activates the scene - the sometimes is also a problem but activating it on button press is much more important
I thought this was a rasp pi issue but I realized the little joystick in the input section moves when the button is pressed down (so it is seeing it at the contact point)
help
thank you
GPIO input
- mcallegari
- Posts: 4827
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
https://docs.qlcplus.org/v4/input-output/input-profiles
Have a look at "Generate an extra Press/Release when toggled"
Might be what you're looking for
Have a look at "Generate an extra Press/Release when toggled"
Might be what you're looking for
-
- Posts: 9
- Joined: Mon Oct 09, 2023 11:05 pm
- Real Name:
it still didn't activate on button press - I ended up figuring out a work around where I had the GPIO trigger a keystroke and had the input of the scene be trigged by the keystrokemcallegari wrote: ↑Sat Oct 21, 2023 9:28 am https://docs.qlcplus.org/v4/input-output/input-profiles
Have a look at "Generate an extra Press/Release when toggled"
Might be what you're looking for
the code I used was: (GPIO.17 triggering "A")
dtoverlay=gpio-key,gpio=17,active_low=1,gpio_pull=up,keycode=30
if this is helpful to anyone heres a list of the keys
https://github.com/torvalds/linux/blob/ ... nt-codes.h
my project is 100% now thank you so much for making this software!
- GGGss
- Posts: 3152
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
ehmm... and what if you simply use a pull-down resistor instead of using the pull-up way of connecting... With this, you are inverting your input.
All electric machines work on smoke... when the smoke escapes... they don't work anymore