darrylb123 / usbrelay

Control usb relay - based on hidapi
GNU General Public License v2.0
316 stars 98 forks source link

Feature Request: re-program product string. #114

Closed mjp66 closed 5 months ago

mjp66 commented 5 months ago

This is not a bug report, but a feature request.

I purchased two 2-channel relay boards which arrived with the same serial number. I used your program on a Raspberry Pi to rename one of them. I later purchased two more units, and these units had unintelligible serial numbers, which your program was also able to fix. But the second set of relays have an additional problem: they claim to be 4 channel units instead of 2 channels, i.e. report USBRelay4.

Do you think you might be able to reprogram this 'product' string?

Thanks for a great program, -Mike

darrylb123 commented 5 months ago

That was nice of them. Does ignoring 3 & 4 cause any issues? The firmware is open source, I wonder if it's possible to replace the firmware with the correct count.

On Sat, 15 Jun 2024, 12:28 am Mike, @.***> wrote:

This is not a bug report, but a feature request.

I purchased two 2-channel relay boards which arrived with the same serial number. I used your program on a Raspberry Pi to rename one of them. I later purchased two more units, and these units had unintelligible serial numbers, which your program was also able to fix. But the second set of relays have an additional problem: they claim to be 4 channel units instead of 2 channels, i.e. report USBRelay4.

Do you think you might be able to reprogram this 'product' string?

Thanks for a great program, -Mike

— Reply to this email directly, view it on GitHub https://github.com/darrylb123/usbrelay/issues/114, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTSUVPD3QVS53NR67ALTOTZHL4ZDAVCNFSM6AAAAABJKO4XFWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TGNJQGM3DSNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

darrylb123 commented 5 months ago

https://github.com/thmahe/usbrelay-firmware

On Mon, 17 Jun 2024, 5:54 pm Darryl Bond, @.***> wrote:

That was nice of them. Does ignoring 3 & 4 cause any issues? The firmware is open source, I wonder if it's possible to replace the firmware with the correct count.

On Sat, 15 Jun 2024, 12:28 am Mike, @.***> wrote:

This is not a bug report, but a feature request.

I purchased two 2-channel relay boards which arrived with the same serial number. I used your program on a Raspberry Pi to rename one of them. I later purchased two more units, and these units had unintelligible serial numbers, which your program was also able to fix. But the second set of relays have an additional problem: they claim to be 4 channel units instead of 2 channels, i.e. report USBRelay4.

Do you think you might be able to reprogram this 'product' string?

Thanks for a great program, -Mike

— Reply to this email directly, view it on GitHub https://github.com/darrylb123/usbrelay/issues/114, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTSUVPD3QVS53NR67ALTOTZHL4ZDAVCNFSM6AAAAABJKO4XFWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TGNJQGM3DSNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mjp66 commented 5 months ago

Thanks for the link, I’ll look that over.

darrylb123 commented 5 months ago

Can you leave a comment on success or failure. I'd be very interested to know.