flarn2006 / BHSTools

Tools for interacting with Brinks BHS-3000 and BHS-4000 / IntelliBus, custom firmware for BHS-4000
GNU General Public License v3.0
41 stars 8 forks source link

An even number of hex digits must be given. #6

Open rheide99 opened 3 years ago

rheide99 commented 3 years ago

I'm having trouble running this command: command.py PORT 6 0 In my scenario, this is exactly what I ran: command.py /dev/tty.usbserial-1410 6 0

I get the following message: An even number of hex digits must be given.

For what it's worth, I had no issues running this: command.py /dev/tty.usbserial-1410 90 Supers.db 0

Any suggestions?

A little background: I'm using RS-485. s3121.py was not running when trying this command. Lastly - when running s3121.py everything was working great. Thanks for all hard work!

vermagit commented 3 years ago

Looking at the code, I ran: python.exe command.py COM3 6 00000000

So replace 0 with 00000000 to run the command successfully.

However this doesn't yet seem to get rid of CH trouble. In my case, I also had CP trouble which I got rid of by clearing events.

vermagit commented 3 years ago

@rheide99 Were you able to get over your issue?

flarn2006 commented 3 years ago

Thanks for catching that; I'll update the FAQ!