Skip to content
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

Sparkfun DHD doesn’t accept button input #102

Open
bretbenz84 opened this issue Dec 17, 2022 · 2 comments
Open

Sparkfun DHD doesn’t accept button input #102

bretbenz84 opened this issue Dec 17, 2022 · 2 comments

Comments

@bretbenz84
Copy link

Although the dhd is detected using /dev/serial/by-id/usb-SparkFun_SparkFun_Pro_Micro_HIDPC-if00 and commands for lights can be sent from the web interface, button input doesn’t appear to work.

@eXistenZ0688
Copy link

same issue (on v4 software), except that the webpage also says stargate software not running. the service is sunning on the pi, even teh main site addressboook shows the gate as online, but all input is dead

@jonnerd154
Copy link
Owner

Although the dhd is detected using /dev/serial/by-id/usb-SparkFun_SparkFun_Pro_Micro_HIDPC-if00 and commands for lights can be sent from the web interface, button input doesn’t appear to work.

Thanks for reporting this! I'm not having this issue with my 3B+ running all the newest stuff (via apt-get updates/upgrades), but lets see what we can do.

@bretbenz84 when this happens, are you running the Gate software as a daemon using sudo systemctl start stargate.service (etc), or directly executing the script?

Separate from that, in the startup logging sequence you should see output that tells you what mode the software thinks it's running as (direct-exec or daemon) Something like Running as Daemon: True.

I'm asking them separately because the keyboard input handling is different in direct-execution vs daemon modes. For everything to work, the software needs do all of the following correctly:

  • Detect how it's running (direct-exec or daemon)...this is done via the --daemon flag when called from systemctl
  • Select the right method to interact with the keyboard
  • Do the interaction correctly

...we just need to find which!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants