Forums

Chessconnect: a free chrome extension for electronic chessboards

Sort:
vitualis

I should have mentioned I used Edge on Windows 11, so I can't help with MacOS.

joernupbde

I use Mac as my development platform. So, that's covered. 😎

Quantenhorst
Quantenhorst hat geschrieben:

Today I tried for the first time to use this app (via Edge on MacOS 13.6). The board showed up right away and after about five seconds, disconnected. Since then I hadn't been able to reconnect, no matter what. Tried re-installing the app, restarting/refreshing browser and of course the board itself. Can use it with the Chessnut app still. Any ideas?

Tried with Chrome now. Doesn't work for me. sad.png

Position on board is correct, animation set to fast. Waiting for Bluetooth to blink. Unfortunately it doesn't show up anymore. 
Firmware: CNCP100_V105

joernupbde

Hi Quantenhorst,

just so that I get a clear understanding of your scenario:

  • When you open chess.com, is the Connect button of Chessconnect showing?
  • When you press this button, does the bluetooth pairing dialog open up?
  • Does the Chessnut board show up in the bluetooth dialog?
  • Is the blue LED on the Chessnut board blinking
  • When you select the Chessnut board and press pair, does the "Connect" button change to "Reconnect"?

Please bear with me, if I try to get the most obvious possibilities out of the way first.

Quantenhorst
  • Yes 
  • Yes 
  • Only once; not anymore 
  • Yes 
  • It did, the one time it worked (for about 5 seconds)
joernupbde

Right. Just to be really really sure: the blue LED is _blinking_ and not solid, right? And you can connect via the Chessnut app? That is slightly weird. Can you please open the chrome development tools, try connecting to the board and send me the output from the console?

Quantenhorst

It is blinking, yes. And yes, I can connect with the app, both on MacOS and via iOS. 
The output from Edge: 
Uncaught TypeError: Cannot read properties of undefined (reading 'game')
at I.getBoardElement (chesscom.ts:57:18)
at We (content.ts:143:21)
at ye.onclick (content.ts:161:3)
getBoardElement @ chesscom.ts:57
We @ content.ts:143
ye.onclick @ content.ts:161
sentry.client.00d8ba90.js:14

joernupbde

Can you try on MacOS using Chrome? And press the connect button after opening an analysis board on chess.com (i.e. selecting "Learn" and then "Analysis").

The bluetooth dialog opening up without the Chessnut board showing - even after a while - indicates towards a problem in the bluetooth layer. The exeption you sent is not critical and should only arise, if there is no active chessboard present (hence the analysis board). It has already been fixed in the upcoming version of Chessconnect.

Quantenhorst

Tried with MacOS on Chrome on the Analysis page. No output in Chrome console this time, also the board still not showing up.

Quantenhorst

Update: I went to edge/chrome://bluetooth-internals and looked for devices. As soon as I opened that page the Chessnut Pro showed up right away. And is now shown as connected. Apparently it also works on chess.com now. What I find interesting, in the Bluetooth dialogue, it shows as Chessnut Pro. The time before it would show Chessnut Air ..
BUT, when I close edge/chrome://bluetooth-internals, it would disconnect.

joernupbde

That is a Chessnut Pro board, right? Yours has a slightly newer firmware than mine. (Does anybody know, how to upgrade the firmware on a chessnut board?)

From what we know so far, I would assume that the filters that Chessconnect sets for the bluetooth dialog do not match your board. But then it should never have shown up.

Anyway, two more things to try:

  1. try resetting the page permissions in chrome (see screenshot below). Probably won't help, but who knows.
  2. Make sure the blue LED is blinking and search for Bluetooth devices with your phone or your Mac. What is the name that the Chessnut board broadcasts? It should be"Chessnut Air". With capital "C" and "A".

Quantenhorst

See post from before. Yes, a Chessnut Pro. I updated the firmware today - received a new one from Chessnut as I had issues with clicking sounds on my board.

Quantenhorst

Checked in my phone, it shows as Chessnut Pro.

joernupbde

Eureka! That's it. Chessnut changed the name broadcasted by the board. I will make an update for the next version which will probably be released in a week or so. If you don't want to wait, I can send you a beta version tomorrow.

And thank you for you cooperation. Another mystery solved by the chess community!

Quantenhorst

Yes pls. Would love the beta to try out. Thanks man!

joernupbde

I will send you the beta either today or tomorrow morning. Depends on my family...

joernupbde

Quantenhorsts Problem could be fixed with the new version of Chessconnect.

joernupbde

IMPORTANT: I just found out that chess.com has renamed "focus mode" to "theatre mode". As a consequence, the connect button is now missing in theatre mode. I will release the fix with the next version which is currently being beta tested.

Here is the list of improvements:

  • Added support for new "theatre mode" on chess.com
  • Added warning message if chess.com is set to use WebGL
  • Connect button changes to icon if sidebar is collapsed
  • Info dialog pops up the first time a version with new features is invoked
  • Support for Millenium boards (ChessGenius, eOne, King Competition)
  • Support for startup position where black and white is swapped.
  • Click on extension icon now opens options dialog
joernupbde

The next version 0.0.2.0 is about to be released. Here is what's new (and it's a lot...):

  • Support for Millenium boards 🥳(at least ChessGenius, eOne, King Competition. But I had postitive feedback for T55, and other boards, too).
  • Support for startup position where black and white is swapped 🥳(for all those Chessnut Pro users out there). 
  • Gave the reconnect feature a complete rewrite. As a consequence the reconnect hot key is no longer necessary. See options page for more.
  • Battery level is now indicated by the color of the connect button. Red means less than 33%
  • Added support for new "theatre mode" (formerly known as focus mode) on chess.com
  • Added warning message if chess.com is set to use WebGL
  • Connect button changes to icon if sidebar is collapsed
  • Info dialog pops up the first time a version with new features is invoked
  • Click on extension icon now opens options dialog

Thanks to all of you who contributed their ideas to this or helped testing. Some of you spent quite a bit of their time on this. 🙏

joernupbde

The new version 0.0.2.1 is now being rolled out by the web store. There are quite a lot of changes this time. So don't be surprised by the slightly modified look and feel. Let me know, what you think, and where there is room for improvements. 😇