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

USB Relay driver based on https://github.com/JPEWdev/pyhid-usb-relay #106

Open
mangelajo opened this issue Oct 4, 2024 · 0 comments
Open
Assignees

Comments

@mangelajo
Copy link
Member

mangelajo commented Oct 4, 2024

https://github.com/JPEWdev/pyhid-usb-relay


(testrelay) ➜  ~ pyhid-usb-relay enum
Board ID=[ffffffffff] ver 1.0, State: 00
(testrelay) ➜  ~ pyhid-usb-relay set-serial
usage: pyhid-usb-relay set-serial [-h] (--bus BUS ADDRESS | --serial SERIAL) new_serial
pyhid-usb-relay set-serial: error: the following arguments are required: new_serial
(testrelay) ➜  ~ pyhid-usb-relay set-serial 0102030405
usage: pyhid-usb-relay set-serial [-h] (--bus BUS ADDRESS | --serial SERIAL) new_serial
pyhid-usb-relay set-serial: error: one of the arguments --bus --serial is required
(testrelay) ➜  ~ pyhid-usb-relay set-serial --serial 0102030405
usage: pyhid-usb-relay set-serial [-h] (--bus BUS ADDRESS | --serial SERIAL) new_serial
pyhid-usb-relay set-serial: error: the following arguments are required: new_serial
(testrelay) ➜  ~ pyhid-usb-relay set-serial --serial ffffffffff 0102030405
(testrelay) ➜  ~ pyhid-usb-relay enum
Board ID=[01020] ver 1.0, State: 00
(testrelay) ➜  ~ pyhid-usb-relay set-serial --serial 01020 aa0001
(testrelay) ➜  ~ pyhid-usb-relay enum
Board ID=[aa000] ver 1.0, State: 00
(testrelay) ➜  ~ pyhid-usb-relay set-serial --serial 01020 aa001
(testrelay) ➜  ~ pyhid-usb-relay enum
Board ID=[aa000] ver 1.0, State: 00
(testrelay) ➜  ~ pyhid-usb-relay enum
(testrelay) ➜  ~ pyhid-usb-relay set-serial --serial aa000 aa001
(testrelay) ➜  ~ pyhid-usb-relay enum
Board ID=[aa001] ver 1.0, State: 00
(testrelay) ➜  ~ pyhid-usb-relay on aa001
'aa001' is not a valid relay descriptor
(testrelay) ➜  ~ pyhid-usb-relay on
usage: pyhid-usb-relay on [-h] [--serial SERIAL] [--pulse] relay
pyhid-usb-relay on: error: the following arguments are required: relay
(testrelay) ➜  ~ pyhid-usb-relay on --serial aa001
usage: pyhid-usb-relay on [-h] [--serial SERIAL] [--pulse] relay
pyhid-usb-relay on: error: the following arguments are required: relay
(testrelay) ➜  ~ pyhid-usb-relay on --serial aa001 0
Index 0 is outside range [1..4]
(testrelay) ➜  ~ pyhid-usb-relay on --serial aa001 1
(testrelay) ➜  ~ pyhid-usb-relay on --serial aa001 2
(testrelay) ➜  ~ pyhid-usb-relay off --serial aa001 2
(testrelay) ➜  ~ pyhid-usb-relay off --serial aa001 1
@mangelajo mangelajo converted this from a draft issue Oct 4, 2024
@mangelajo mangelajo self-assigned this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant