AW: Certabo Electronic Chess Board
News on the python UCI side:
I've committed a number of enhancements on github. The latest code now uses an internal thread for the serial communication. The port can be specified on the commandline and also via an UCI option. It defaults to 'auto', which uses serial port auto-detection. It skips all devices with different vendor id & pid. So false detection chance is minimized. The latest version also fixes a bug in concert with lichess-bot.py, as that one sends two "isready" commands. This caused behavior where two serial threads were spawned, interfering with each other. Also the port is now locked exclusively. The new thread based serial communication does also handle reconnects to a different serial device (e.g. on linux the USB serial adapter might get assigned a different device on reconnect). In 'auto' port config it will just do an additional scan before attempting to reconnect. Board rotation has been added as option, but that's untested. Calibration is also an option, and apparently works fine. All differences between the internal board representation and the phyiscal board will be shown via LED state (e.g. wrong piece setup, invalid moves, etc). The current master branch does play nicely with pychess and lichess-bot.py
A short video showing some of the features can be found here:
|