paul- wrote: > I have no idea if it would affect GPIO, but it might be worth a shot.
Thanks Paul - that doesn't seem to make any difference unfortunately. paul- wrote: > > Otherwise, can you do your test with one button on one GPIO pin.....then > I might be able to replicate here on my rpi4GB. I set up two commands on GPIO24: PAUS, defined by PAUS=["pause"], STOP, defined by STOP=["stop"] (the behaviour is the same regardless of whether LMS is running, so I don't think the actual commands matter) I put one jumper wire on physical pin 18 (GPIO24) and one on physical pin 6 (GND). Then I ran sbpd with Code: -------------------- sbpd -v -f /home/tc/sbpd_commands.cfg b,24,PAUS,2,0,STOP,500 -------------------- Touching the two wires together briefly will trigger the PAUS command most times, but approximately 1 time in 5 it will do nothing. The terminal output shows me how many milliseconds the wires were touched, but sometimes there's no output at all. I can't tell if there's a pattern - too quick between presses, to short a press. Code: -------------------- 1565904525.7711 6 GPIO.c,102: Short PRESS: 257 1565904525.7711 6 control.c,106: Button CB set for button #:0, gpio pin 24 1565904525.8355 6 control.c,217: Button pressed: Pin: 24, Press Type:Short 1565904525.8355 6 servercomm.c,74: Send Command:0, Fragment:["pause"] 1565904525.8399 6 servercomm.c,134: Curl Error: (6) 1565904525.8400 6 servercomm.c,136: Could not resolve host: (null) -------------------- ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=107001 _______________________________________________ diy mailing list diy@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/diy