Open hellishvictor opened 3 months ago
Hi With anything but the older model StreamDeck Mini (pid 0063) this is expected behaviour since pid is a required parameter but if it's not provided streamdeck-cli assumes a Mini by default. I don't have access to a Mini so I can not reproduce.
Same with the SD XL (pid 006c) using the serial and vid, but no problem using the pid.
Yes, with the XL this is expected behaviour. Pid is required parameter.
Technically vid is required as well, but currently there is no reason to use anything but the default value. Serial is optional and only really useful to distinguish between StreamDecks if you have more than one of the same model connected at the same time. But even when using serial you still need to pass the correct pid as well.
Ok, --serial and --vid are complementary of --pid (which is the main) for be used only when there's several devices connected. Thanks for your explanation.
we could definitely make the default behaviour cleverer (list all devices, connect by index, or something)!
Hi, I get the error on the title using one of the followings:
streamdeck-cli --serial CL1234567890 get-buttons
streamdeck-cli --vid 0fd9 get-buttons
However, it did connect using the "--pid" option: streamdeck-cli --pid 0063 get-buttons
Connected to device (vid: 0fd9 pid: 0063 serial: CL1234567890)
Cheers.