04-17-2020, 06:26 PM
(This post was last modified: 04-17-2020, 06:27 PM by Tim Curtis.)
Prolly add a print statement in the callback function for the particular buttons you have defined. This would show when the event occurs. It should only occur when button is pressed.
Something like below.
Something like below.
Code:
def sw_1_event(channel):
subprocess.call(sw_1_cmd)
print('sw_1_event')