PicochessWeb - wow!

6,093 views
Skip to first unread message

Dirk

unread,
May 5, 2021, 4:43:57 PM5/5/21
to PicoChess
Hello PicochessWeb lovers,

Picoweb_8.jpg(Desktop screenshot from Micha’s PicoChess Web sd card image provided on schachcomputer.info)

I must say that I am really impressed by all the software and hardware variations &  enhancements the picochess community came up with especially since I published my V3 like…
  • „ready to start“ images by Randy
  • chess engine compilations by Al - esp. mame/mess!
  • mame gui  support for mame engines in desktop environment
  • Wilhelm’s new home for his PI4 (which made my „MolliPi“ and Al’s „ScallyPi“ possible)

Lately I am very interested in all the alternative picochess web  solutions Dirk S., Simon, Kyle & Micha came up with.

We now have so many possibilities to play with picochess:

  1. Stand alone Raspberry Pi with DGT Clock
  2. DGTPI or DIY DGTPI
  3. PI with Revelation II
  4. Picochess Web

Isn’t that incredible?

So I thought I have a deeper look at the Picochess Web solutions.

For me the best hardware for this is a 7 inch touch display with integrated care and loud speaker like Micha suggested in the middle of his schachcomputer.info thread  https://www.schachcomputer.info/forum/showthread.php?t=6378&page=5

IMG_0481.jpg

I think a 7 inch touch display is a good compromise between size and usability.

IMG_0473.jpg

I was lucky to get the display on amazon for a reduced price of 50 euro.

I have put a PI4 4GB Rev.1.2 into it with extra big heat sinks so that I can run the PI4 with a fan.

The Display needs a 12V power supply and I bought a special 12V power bank for this as well for a flexible power solution.

IMG_0471.jpeg

... to be continued
Message has been deleted

Dirk

unread,
May 5, 2021, 4:49:31 PM5/5/21
to PicoChess

IMG_0483.jpegI started with the SD card image provided by Micha (see his schachcomputer.info thread) but tweaked it for my belongings - thank you for this Micha!!!

Although I have 2 excellent ways to play picochess (MolliPI & Revelation II) I must admit that I am really surprised how nice and completely new the playing feeling with such a setup is.

What are the main benefits besides of the „new hight tech“ feeling compared to a classical DGTPI (and I really love my MolliPi as well):

  1. Good integrated loudspeaker
  2. No need for extra batteries
  3. Full web server information  
  4. No more restriction to 11 characters on „clock display“
IMG_0484.jpeg

That means we have beside of the textual and voice move annoucemet now a graphical one via an arrow on the graphical chess board, all the extra book and game  data base information and the possibility to have an additional analysis engine running in parallel (PI4 recommended) showing a full best principal variation - amazing.

As mentioned before I started with Michas image and did some changes:

  • modified the clock.html (with the great help of Simon - thank you!)
  • get rid of DGTPI services
  • get rid of the cursor as I use it 
  • Use longer engine names like Micha did in his image (I copied the names from there)
  • Adjust the text output routines in picochess code for longer messages (additionally we could overwork all messages in translate.py for this)

Unfortunately there is one severe issue which have been mentioned by some users already: The clock times will be reseted sometimes after each move although the fix by Marcel Swidde have been applied.

I seems to depend on the engine which is selected (mame engine seems to be more problematic) and on time settings (game time or Fischer vs move time)

I am trying to find a workaround for that and hopefully we will find one (any help is welcome) but that might take some time…

Here you see see PicochessWeb in action:

  1. Total boot time until established bluetooth board connection (which is fast)
PicoChessWeb_startup.MOV 2021-05-05 22-24-47.jpg

https://www.dropbox.com/s/f05vfe0run26yjv/PicoChessWeb_playing.MOV?dl=0 


Again thanks to Micha for the picochess web base image…

Dirk


Wilhelm

unread,
May 6, 2021, 4:10:40 AM5/6/21
to PicoChess
Hi Dirk,

great presentation. Thank you for sharing.
I feel like getting a piece like that too.

The integrated loudspeakers are important to me, as I'm not a fan of cables.
Also important and here the decisive step forward is the detailed and easily legible text information. A completely different quality than on the display of the DGT3000.

This is the future of Picochess.

thanks
Wilhelm

Dirk Sommerfeld

unread,
May 6, 2021, 6:47:15 AM5/6/21
to PicoChess
Nice work...

The only thing I will not use the same display. The 12V power is my personal show stopper.  That's the reason why I look arround the market to find a display that's full integrated in Pi.  I use a 7" Display that get's power direct from the Pi and is connected to the spi Interfache from the Pi. But in the end of the day we are very closed with the result's :) 
The Bluetooth problem with rev 1.4 is the biggest up coming problem, because all new Pi's are from this revision. Good for all , they have Rev 1.2 at home....
I love picoweb... It's like a Endgame. Thank's to all.

Dirk

Dirk

unread,
May 6, 2021, 6:53:53 AM5/6/21
to PicoChess
Hi Dirk,

first I also thought that the 12V is not a good choice but as I have written there is a power bank which outputs 12V and even 5V with which I can charge my eBoard at the same time and no extra cables to the PI as it is integrated in the touch display case - so why is it still a show stopper for you.
And eben better we have integrated speaker with excellent quality and no extra cable for them as well.
For me this solution its really perfect for PicoChessWeb but maybe you will come up with a even better solution!?

Dirk

Dirk Sommerfeld

unread,
May 6, 2021, 7:06:29 AM5/6/21
to PicoChess
Dirk, it's a fantastic job you did !!! All other are personal taste or interrest. Everything have pro's and cont's. I didn't have an internal spaeker, I recognize it in the moment I build it. 

Dirk

PXL_20210429_065106368.jpg

Dirk

unread,
May 6, 2021, 7:09:10 AM5/6/21
to PicoChess
Hi Wilhelm,

thanks - I really under estimated the use of the picochess web server but it is really so much better (more information & possibilities) than the DGT Clock display.
The developers of the web server have done really great work.
The only thing is that I would like to have a better display quality (at least OLED or even better e-ink) and I find it more comfortable to look at the DGT Clock with its old fashioned display than the IPS touch display. But by reducing the contrast and brightness it is fine for my eyes.
With the board display we always have the current INTERNAL picochess position in view (a lot of other chess computers like the REV2 show the actual board position not the internal engines position which makes no sense at all) so that we can correct wrong positions easily and set up a position when we continue a saved game.
Furthermore we can go back and for in the game history and can even copy the main principal variation of the analysis engine to the board to have a look (after that resend to the current board position etc.).
There is only one flaw I came along and that is that the analysis engine can't be stopped after having player for some time with this analysis engine. Very strange but I don't know the html/java/css things to fix that unfortunately.

In the game record windows we always see the whole technical engine name and the current chosen level which is really nice we we hadn't on the DGT clock.

So yes - so many possibilities now and for sure the picochess future, I agree!
Dirk

Wilhelm schrieb am Donnerstag, 6. Mai 2021 um 10:10:40 UTC+2:

Dirk Sommerfeld

unread,
May 6, 2021, 7:58:11 AM5/6/21
to PicoChess
@Dirk
It is possible that you provide the version of your timecontrol.py ? 

Thank's Dirk

Dirk

unread,
May 6, 2021, 8:00:12 AM5/6/21
to 'Dirk' via PicoChess
Hi Dirk,

I will share all modified files for the better PicChessWeb experience but at the moment I am still examining the timecontrol bug - this is really not easy and the most complex part of the whole picochess code…

Dirk

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/14e06d74-db68-433f-b858-9672ff128184n%40googlegroups.com.

Dirk Sommerfeld

unread,
May 6, 2021, 8:21:50 AM5/6/21
to PicoChess
sure I know.... I try it also, but don't found it. Every move is like a refresh + the offset. 

Santiago Torres

unread,
May 16, 2021, 7:54:38 PM5/16/21
to PicoChess
Dear friends,  congratulations for such a great work.  I have installed picochessweb in a 10.1 in screen version with speakers.  It worked great.  May be I am missing something but picochess voice is only in German? I can change the voice of the human player but picochess voice (the chess module) doesn't change.   On the other hand it would be great to have picochess working on other hardware plataforms (i.e Millennium, Certabo..) it would force the vendors to improve their hardware and  chess modules.   Just a humble opinion.  Thanks for your help regarding picochess voice.
Regards,

Santiago

RandyR

unread,
May 17, 2021, 9:10:17 AM5/17/21
to PicoChess
Santiago,
Have a look at your picochess.ini file. The two voice entries are user-voice and computer-voice. Make sure there aren't duplicate entries.

Randy

BillyC

unread,
Jul 30, 2021, 6:54:37 PM7/30/21
to PicoChess
Hello Dirk,
could you fix the timecontrol-bug in the meantime?

Best regards

Dirk

unread,
Aug 1, 2021, 2:58:29 PM8/1/21
to PicoChess

Hi Billy,

yes I think I have found a solution although not perfect because it is a code change only for the PicochessWeb setup and not for any other setup (DGTPI, stand alone) when playing without a DGT clock. (For integrating this code change for all possible set ups we would need to check if a DGT clock is attached to picochess etc. Maybe someone has time and is keen on finding a solution for this (I have no time and won't do this)

I will post the modified files soon when I am back from my travel...

Dirk
Message has been deleted
Message has been deleted

Dirk

unread,
Aug 2, 2021, 2:36:21 PM8/2/21
to PicoChess

For those of you who are interested in an optimized PicoChessWeb setup:

Here are my files which I exclusively use for my PicoChessWeb and NOT for the "standard" setups like DGTPI or standalone with attached clock or Revelation II.

I started with the PicoChessWeb image published by Micha in schachcomputer.info forum (see some postings above and the other threads about this setup).


1. The main change is the workaround for the clock reset bug: I just commented out the whole clock setting/starting part in timecontrol.py and now it seems to work (but I have no idea why ;-)

Just replace the fire timecontrol in main picochess folder.


2. I have done some more changes to the web display (see above): 

PicoWeb.jpg

I have enlarged the buttons and changed the order and the color that it makes more sense for me (main menu button is blue on the right, lever orange to the left).

if you would like to use this setup replace the clock.html file in the /web/picoweb/templates folder and  custom.css in /web/picoweb/static/css and app.js in /web/picoweb//static/js.


3. Further improvements for using the better (more text) display options of the PicoChessWeb setup:

Replace picochess.py and server.py in main folder and display.py together with translate.py in subfolder dgt for longer text messages.


4. Micha has already reworked the engines.ini file by using longer, more readable engines names: use the changes from his engines.ini in your engines.ini and favorites.ini (thank you fro this!)


Maybe someone is willing to create PicoChessWeb image with all these changes and the changes I mentioned in the beginning (getting rid off the dgtpi services, hiding mouse cursor,)

Enjoy.

Dirk

Dirk

unread,
Aug 2, 2021, 2:40:29 PM8/2/21
to PicoChess
I get error messages when attaching the source files for some reasons and can not attach zip files so here is a (only temporary) link to the file on google drive:

Dirk

unread,
Aug 2, 2021, 3:05:15 PM8/2/21
to PicoChess
The html and css file will only work correctly with Michas image or when someone is using same resolution (I think 1024X600 if I am right - unfortunately I have npc access to my system at the moment in order to check).
Thanks Randy for the hint!
Dirk


Gilles Beauvisage

unread,
Aug 25, 2021, 9:13:46 AM8/25/21
to PicoChess
Hallo Dirk,

Ich schreibe Ihnen auf Deutsch, weil ich glaube, dass Sie Deutscher sind und ich dachte, Sie würden sich freuen. Persönlich kommuniziere ich gerne auf Deutsch, weil ich es in der High School gelernt habe. Ich hatte mir die Version 3 von Schachcomputer.info heruntergeladen und sie funktionierte einwandfrei. Haben Sie mit Stockfish 14 ein neues Image für DGT PI erstellt und wo finden Sie es? Ich habe den DGT PI Computer, das Dgt Bluetooth Board und den Revelation 2 AE Computer. Grüße
Gilles

Dirk

unread,
Aug 25, 2021, 10:57:51 AM8/25/21
to PicoChess

Bonjour Gilles,

Ich weiss es zu schätzen, dass Du mir auf Deutsch schreibst aber ich denke es ist besser weiter auf Englisch zu schreiben damit die meisten Picochess User davon profitieren können ohne übersetzen zu müssen - so let’s switch back to english (by the way your german is very excellent I wish my french would be the same but it is almost no longer existing :-(

Randy is so kind to provide almost immediately when Al publishes a new stockfish engine release an updated DGTPI image (one desktop and one lite image - later is best for the good old DGTPI).

Just have a look at his thread

https://groups.google.com/g/picochess/c/jCuWSm0EDH8

and download the lite image.

But keep in mind this image will have eventually other engines installed than the schachcomnputer.info image you were talking about so you would have to copy and save the engines you would miss otherwise (you need some linux know how for this - if you con’t do that you could ask someone in schachcomputer.info forum ion they would update the images…

Enjoy

Dirk

P.S: You really have a nice and almost complete picochess equipment

Dirk

unread,
Aug 31, 2021, 10:18:05 AM8/31/21
to PicoChess
Micha from schachcomputer.info has now updated his images with my coding bug fixes/enhancement for the PicoWeb and improved more text messages and eventually (you will have to check by yourself) the bluetooth problem for the PI4.

If you are interested in a straight out-of-the-box image for a PicoWeb device (he provided optimized builds for 7 and 10 inch displays) - this is the place to look for:


Beside of the special Web enhancements you will also get 
Stockfish 14
CT800 V1.43

Big thanks for that to Micha!

Regards Dirk (aka 'Molli' ;-)



Dirk schrieb am Mittwoch, 5. Mai 2021 um 22:43:57 UTC+2:

Scally

unread,
Aug 31, 2021, 10:46:04 AM8/31/21
to PicoChess
Hi Dirk,

Thanks for the update, Stockfish14 and the NN version have been available on my Dropbox for over a Month, I believe Randy has already added them to his latest images. 

I compiled the latest CT800 at the weekend and have added that too:


If anyone else needs a particular Engine for their Picochess give me a shout, preferably on a different thread.


Cheers,

Al.

RandyR

unread,
Aug 31, 2021, 12:33:41 PM8/31/21
to PicoChess
Hi Al,

CT800 is showing as v1.42 from your link.

Randy

Scally

unread,
Aug 31, 2021, 12:38:29 PM8/31/21
to PicoChess
Hi Randy,

Good spot, my bad. I uploaded from my Picochess RPi rather than from my Compiler RPi.

I’ve just uploaded the correct version.

Cheers,

Al.

RandyR

unread,
Aug 31, 2021, 12:40:27 PM8/31/21
to PicoChess
Thanks, Al. I'll update my images.

Randy

Micha

unread,
Sep 12, 2021, 2:03:41 PM9/12/21
to PicoChess
Hello,

there are 3 new PicoChess Web variants available for free download. 

Many thanks to Molli for his corrected version 3. 

More new features can be found in the thread.


Also the Raspi 4B V1.4 Bluetooth problems could be solved. The DGT board is now ALWAYS connected after ~10 seconds. 

My idea was, a script removes all existing bluetooth devices at every reboot and reconnects the board. This was exactly the problem so far. 

Tests confirm this idea. It works...

Greeting
Micha

Dirk

unread,
Sep 12, 2021, 2:18:02 PM9/12/21
to pico...@googlegroups.com
Hi Micha,
I have tested your new image and out of the box it connects to my Bluetooth board - so far so good.
But after applying the newest raspian os updates it no longer connects (I have a pi 4 1.2). So this is the same problem Al mentioned at first after updating his DGTPI but he could fix it by changing some durations in the scripts, but this did not work for others and unfortunately not for me as well.

So best thing is not to update the os at the moment…

Thanks for your great image…

Molli

Von meinem iPad gesendet

Am 12.09.2021 um 20:03 schrieb Micha <voel...@gmail.com>:


--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/w90SjCQ_ssc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/937deb2e-c8e3-4351-b587-e55fe76799cdn%40googlegroups.com.

Micha

unread,
Sep 12, 2021, 2:22:29 PM9/12/21
to PicoChess
Hi Dirk,

did you test my last image? With the new script?

Greetings
Micha

RandyR

unread,
Sep 12, 2021, 2:27:22 PM9/12/21
to PicoChess
Dirk,

Have you had a look at dgt/board.py? I don't have your experience with python but it looks like the BT connection gets reset in there as well. Also, I think it's using rfcomm which I have read is deprecated in Bluez 5. It would be interesting to know if the BT board can be paired with a clean RPiOS image (without PicoChess) and automatically pair consistently on reboot. I don't have a BT board to test unfortunately.

Randy

Dirk

unread,
Sep 12, 2021, 2:28:58 PM9/12/21
to pico...@googlegroups.com
Yep - and It works fine before the update, I just did

sudo apt update 

sudo apt full-upgrade


and then the board has been no longer found by the pi.



Von meinem iPad gesendet

Am 12.09.2021 um 20:22 schrieb Micha <voel...@gmail.com>:


You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/75bf8e04-61f4-41be-9025-4a435fcb5e26n%40googlegroups.com.

Micha

unread,
Sep 12, 2021, 3:05:24 PM9/12/21
to PicoChess
Hi Dirk,

ok, thanks. But the images work? Right? 

I always want to provide a solution for the technical layman. The large number of users have no technical background and would like to play with PicoChess Web. At least that is my experience. That's where I wanted to start. 

Just load the image and run...

The current images offer these possibilities. To all users. If you like PicoChess Web, you are welcome to test these images. 

I think PicoChess Web is a very big gain for a good price.

Greetings
Micha

Dirk

unread,
Sep 12, 2021, 3:08:27 PM9/12/21
to pico...@googlegroups.com
Yes - it works perfectly out of the box.
Nice image!
I enjoy picoChessWeb very much  - really a big step forward and for me the best possible way to play.
Dirk

Von meinem iPad gesendet

Dirk

unread,
Sep 13, 2021, 4:29:01 AM9/13/21
to PicoChess
Hi Randy,

nope and I am not familiar with these technical hardware related python routines so it is up to someone else to check this ;-)

Dirk

Randy Reade

unread,
Sep 13, 2021, 10:01:45 AM9/13/21
to pico...@googlegroups.com
Ha ha. Understood Dirk. Enjoy your 'retirement. 😉

Randy

Steve Sun

unread,
Jul 2, 2022, 8:56:56 AM7/2/22
to PicoChess
60663E36-CFE9-40EA-AE1C-F523D0DB45E1.jpegHi Dirk, please see the yellow circled part of the Pi 4B PCB (right next to the type-c power socket), this is NOT the version we need! Otherwise we will run into your “Bluetooth” problem again. Fortunately, all the 8G models are using the type of SMPS design on your Pi 4Bs. This problematic pcb version not only has the Bluetooth issue, but also overclock stability issue! When we are buying the Pi, we will not be able to open the box before paying… The suggestion is to just buy the 8G model to avoid all the problems.

Cheers

Steve 

dirk.d.s...@gmail.com 在 2021年5月6日 星期四晚上7:06:29 [UTC+8] 的信中寫道:
Dirk, it's a fantastic job you did !!! All other are personal taste or interrest. Everything have pro's and cont's. I didn't have an internal spaeker, I recognize it in the moment I build it. 

Dirk

Scally

unread,
Jul 3, 2022, 6:24:16 AM7/3/22
to PicoChess
Hi Steve,

I have no problems with my RPi 4b with 8gb ram nor with my RPi 4b with 4gb ram but I haven’t tried my RPi 4b models with 2gb or 1gb of ram.

However I’m currently trying out Picochess on 2 Compute Module 4’s, 1 with 8gb ram and the other with 1gb of ram. The 8gb model  has no Bluetooth problems but the 1gb model gives no response to bluetoothctl.

I have resolved this issue by adding a script and calling this at boot, then all works well. This should also work on the other models of RPi 4b.

Save this script in /opt/Picochess/scripts/BT-temp-Fix.sh using nano:

sudo nano /opt/picochess/scripts/BT-Temp-Fix.sh 

#!/bin/bash -p
#
export TERM=xterm
clear
echo "Temporary Fix to BT when no response to bluetoothctl, until fixed within RPi-Update"
echo
sleep 3
sudo modprobe btusb
sleep 1
sudo systemctl start bluetooth.service
sleep 1
sudo systemctl status bluetooth.service
sleep 1
echo
echo "All done, try bluetoothctl or Picochess"

Save it via Ctrl-x & y

Give this executable rights via:

cd /opt/picochess/scripts
sudo chmod a+x BT-Temp-Fix.sh

Then add this line to crontab:

cd
sudo crontab -e

add this line to the bottom:

@reboot /opt/picochess/scripts/BT-Temp-Fix.sh 1>/opt/picochess/scripts/BT-Temp-Fix.log 2>&1

Save it via Ctrl-x & y

BT is then reset at reboot where bluetoothctl & Picochess should work.


Cheers,

Al.

Dirk

unread,
Oct 21, 2022, 8:11:44 AM10/21/22
to PicoChess
Hello PicochessWeb Users,

thanks to Gerhard the Picochess Web Server has been fixed and enhanced (since the Shiv's Online database information is missing).

Gerhard fixed the stop functionality of the analysis engine, added book information and basic game information for the current position.

The PicochessWeb solution is now one of my favorite ways to play Picochess, thank you so much Gerhard!

IMG_4671 (2).jpeg

You can read more about Gerhards additions and how to install them in his threads:

Game database:

Opening book database:


Thank you so much Gerhard!

Dirk

Working Analysis Engine 

PicoWeb engine 2022-10-21 12-13-27.jpg

Opening Book Information

PicoWeb book 2022-10-21 12-14-02.jpg

Game Information

PicoWeb games 2022-10-21 12-14-53.jpg

Randy Reade

unread,
Oct 21, 2022, 10:01:41 AM10/21/22
to pico...@googlegroups.com
Thanks for sharing the screenshots, Dirk. Gerhard has done some awesome work. I hope to integrate it into my images when I get around to updating the engines.

Randy

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/bef49006-7d81-44c6-b158-22f28343ef2fn%40googlegroups.com.

Shivkumar Shivaji

unread,
Oct 21, 2022, 10:05:07 AM10/21/22
to pico...@googlegroups.com
Great work indeed!

Sorry for the delay in getting things done on picochess web. Glad that Gerhard has taken it over. I am happy to restore the online service given that people are using this. However, I think it's best if Gerhard or someone else maintains the chessui repo. Happy to share github access. Let me know.

Thanks!, Shiv

Randy Reade

unread,
Oct 21, 2022, 10:06:58 AM10/21/22
to pico...@googlegroups.com
Shiv, could you share the server code? Could it be run locally?

Randy

Alan Cooper

unread,
Oct 21, 2022, 10:08:55 AM10/21/22
to pico...@googlegroups.com
Hi all,

It looks great!

I have 6 days between cruises starting the 27th to give it a go myself …

Nice work …

Al. 

Sent from Scally's iPhone 13 Pro


On 21 Oct 2022, at 16:05, Shivkumar Shivaji <sshi...@gmail.com> wrote:


Great work indeed!

Sorry for the delay in getting things done on picochess web. Glad that Gerhard has taken it over. I am happy to restore the online service given that people are using this. However, I think it's best if Gerhard or someone else maintains the chessui repo. Happy to share github access. Let me know.

Thanks!, Shiv

On Fri, 21 Oct 2022 at 07:02, Randy Reade <randy...@gmail.com> wrote:
Thanks for sharing the screenshots, Dirk. Gerhard has done some awesome work. I hope to integrate it into my images when I get around to updating the engines.

Randy

On Fri., Oct. 21, 2022, 7:11 a.m. 'Dirk' via PicoChess, <pico...@googlegroups.com> wrote:
Hello PicochessWeb Users,

thanks to Gerhard the Picochess Web Server has been fixed and enhanced (since the Shiv's Online database information is missing).

Gerhard fixed the stop functionality of the analysis engine, added book information and basic game information for the current position.

The PicochessWeb solution is now one of my favorite ways to play Picochess, thank you so much Gerhard!

<IMG_4671 (2).jpeg>


You can read more about Gerhards additions and how to install them in his threads:

Game database:

Opening book database:


Thank you so much Gerhard!

Dirk

Working Analysis Engine 

<PicoWeb engine 2022-10-21 12-13-27.jpg>


Opening Book Information

<PicoWeb book 2022-10-21 12-14-02.jpg>


Game Information

<PicoWeb games 2022-10-21 12-14-53.jpg>


--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/bef49006-7d81-44c6-b158-22f28343ef2fn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/CAE5WduvQW%3D08dfGGe%2Bf0zAXrpUsJ8iBBXFkKDhe-8Xdwq-Lf1A%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.

Shivkumar Shivaji

unread,
Oct 21, 2022, 10:11:14 AM10/21/22
to pico...@googlegroups.com
Yes, the server code is based on an older version of the databases. I think it's also part of chessui. I will check and replace it if not. It might be easier to adapt the code to Gerhard's newer version. I will have a look.

Shiv 

Randy Reade

unread,
Oct 21, 2022, 10:17:19 AM10/21/22
to pico...@googlegroups.com
Thanks, Shiv. I looked at the new chessui code but could not figure out how the server side of it. I was thinking it would be easier to just change the url and port in the current picochess code to localhost instead of your server, but adapting the new chessui code for picochess proved beyond my ability.

Randy 

Shivkumar Shivaji

unread,
Oct 21, 2022, 11:15:24 AM10/21/22
to pico...@googlegroups.com
Oh, that's easy, I can change that. I also prefer if there is a localhost solution especially as I don't want to maintain the server either.

Gerhard, do you want to submit your changes to some GitHub repo or a PR to chessui itself?

Shiv

Dirk

unread,
Oct 21, 2022, 11:24:48 AM10/21/22
to PicoChess
Hi Randy,

yes I think that makes sense at least the fix for the stop of the analysis engine although there are still some rare cases where it does not work on my system but I haven't figured out on what this problem depends.

On a PI4 I think it is not a big deal to run the book server and game database server locally. But with active Tutor and the web analysis engine it might b e too much for a PI3!?

At least we have now the possibility to run these services locally!

I just discovered another feature of the game database server I was not aware of:

If you click on one of the database games (having the same position in common with your current game) it is shown in the game record window.

game1.jpeg

Touching the game Carlsen vs Peng:

game2.jpeg

 game3.jpeg

And touching on a move shows the corresponding position on the board like usual so we can have a detailed look at a possible game development...

game4.jpeg

After pressing the Sync button or playing the next move the current game is shown again:

game5.jpeg

Really nice - well done, Gerhard!

Enjoying the web server again!
Dirk

Randy Reade

unread,
Oct 21, 2022, 12:28:37 PM10/21/22
to pico...@googlegroups.com
I think you are right, Dirk. Running the server on a Pi3b (DGTPi) may be asking for too much. I suppose another option would be running on a separate PC/Pi on your home network but not sure that would be suitable for everyone. However, even a handicapped engine should still provide a good match for almost everyone. 😊

Maybe the server wouldn't use many resources since it's just sitting there waiting for a query?

Randy


--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.

Shivkumar Shivaji

unread,
Oct 21, 2022, 12:31:08 PM10/21/22
to pico...@googlegroups.com
I would say the server does not consume many resources at all. It's just a simple python server. In fact, this server already runs on picochess but does not serve the databases. I will post on how to serve the databases in an image and comment during the weekend.

Shivkumar Shivaji

unread,
Oct 21, 2022, 12:31:30 PM10/21/22
to pico...@googlegroups.com
Great work, Gerhard. The initial version I had did actually support database queries for the current position. I also put in search by players/elo sort etc for the web version. However, Jurgen and now Gerhard helped improve the code and features a lot. The search by player feature does not make sense on a small display :)

The current version is ideal for mobile and small displays!

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.

Randy Reade

unread,
Oct 21, 2022, 12:32:53 PM10/21/22
to pico...@googlegroups.com
That's great, Shiv! Thank you.

Randy Reade

unread,
Oct 27, 2022, 10:30:40 AM10/27/22
to pico...@googlegroups.com
Looking forward to this, Shiv. I hope you can share something soon.

Randy

On Fri., Oct. 21, 2022, 11:31 a.m. Shivkumar Shivaji, <sshi...@gmail.com> wrote:

christopher stummer

unread,
Oct 27, 2022, 10:49:33 AM10/27/22
to pico...@googlegroups.com
Hi guys,
What is the best way to update my picochess with all the new improvements? 

Can I flash an updated rpi4 img from somewhere?  

Best,
Chris

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.

Maarten Smeets

unread,
Nov 7, 2022, 7:10:20 AM11/7/22
to PicoChess
Hi all, I've successfully downloaded and installed the Picochess Web image (Picoweb_10) .
Everything worked flawless.
Today I downloaded the new image (PicoChessWeb31). This image has some updates and supports different boards.
But when I select my board (I have a DGT smartboard) then nothing happens. 
The interface works as usual but when I make a move on the board, I see my move on the screen and then nothing happens. The computer isn't playing.
What can cause this issue? And how to fix it?
The schachcomputer_info forum stopped registration so I can't be a member of that forum.

Op donderdag 27 oktober 2022 om 16:49:33 UTC+2 schreef stum...@gmail.com:

christopher stummer

unread,
Nov 7, 2022, 8:44:24 AM11/7/22
to pico...@googlegroups.com
Hi Maarten,
Can you point me in the right direction to download and install the newest version? I also have a dgt smart board and can give it a go. 
Best,
Chris

Maarten Smeets

unread,
Nov 7, 2022, 8:50:05 AM11/7/22
to PicoChess
Hey Chris, I found the latest image HERE
And I have flashed the new version again and everything works!
It is a little bit different then the other version. You need to select your board first it restarts automatically and then it's good to go.


Op maandag 7 november 2022 om 14:44:24 UTC+1 schreef stum...@gmail.com:

Maarten Smeets

unread,
Nov 7, 2022, 8:55:57 AM11/7/22
to PicoChess
Well I was to fast apparently.
The problem is still there. When I change game time to 15minutes then the computer won't play moves.
If I don't alter the game time then the computer plays moves. Back to square one

Op maandag 7 november 2022 om 14:50:05 UTC+1 schreef Maarten Smeets:

Maarten Smeets

unread,
Nov 7, 2022, 9:21:01 AM11/7/22
to PicoChess
What I found out so far is that if you change the PicoTutor - PicoExplorer from 'Off' to 'On' then the computer doesn't play.

Op maandag 7 november 2022 om 14:55:57 UTC+1 schreef Maarten Smeets:

christopher stummer

unread,
Nov 7, 2022, 9:27:14 AM11/7/22
to pico...@googlegroups.com
Thanks Maarten,
Currently downloading. --best c

Randy Reade

unread,
Nov 7, 2022, 9:31:08 AM11/7/22
to pico...@googlegroups.com
Maarten,

Check the picochess folder and make sure the following files are there:

chess-eco_pos.txt
opening_name_fen.txt

Randy

Dirk Mollmann

unread,
Nov 7, 2022, 9:34:22 AM11/7/22
to pico...@googlegroups.com
Or something is wrong in the image with the PicoTutot engine… which should be stockfish…

Am 07.11.2022 um 15:31 schrieb Randy Reade <randy...@gmail.com>:



Randy Reade

unread,
Nov 7, 2022, 9:37:08 AM11/7/22
to pico...@googlegroups.com
Also, maybe check the picotutor-log.txt.

Randy

Dirk

unread,
Nov 7, 2022, 9:38:05 AM11/7/22
to PicoChess

Ah no - opening explorer shouldn't use stockfish... so it's probably the missing files as Randy pointed out...

Maarten Smeets

unread,
Nov 7, 2022, 9:43:58 AM11/7/22
to PicoChess
Thank you all for helping out!
Now, I can't find the files that Randy is mentioning.
But then again i'm not sure how to find these files. 
I don't have a picochess folder when I plug my SD-card into my computer.
I have an overlays map and other files beneath it.

Op maandag 7 november 2022 om 15:38:05 UTC+1 schreef Dirk:

RandyR

unread,
Nov 7, 2022, 9:56:05 AM11/7/22
to PicoChess
I assume you are using a Windows PC. The SD card has 2 partitions - one in FAT32 which Windows can read, the other is EXT4 which is the Linux partition. Windows can't read that.

Can you use SSH to log into the Raspberry Pi?

Maarten Smeets

unread,
Nov 7, 2022, 10:03:01 AM11/7/22
to PicoChess
Yes, I have the PuTTy application.
I wanted to login with 'Pi' and password 'Raspberry' but that doesn't work.
Does it have a different password?


Op maandag 7 november 2022 om 15:56:05 UTC+1 schreef RandyR:

Maarten Smeets

unread,
Nov 7, 2022, 10:05:54 AM11/7/22
to PicoChess
ok picochess is the password.
Now how do I acces the folders?

Op maandag 7 november 2022 om 16:03:01 UTC+1 schreef Maarten Smeets:

RandyR

unread,
Nov 7, 2022, 10:07:16 AM11/7/22
to PicoChess
cd /opt/picochess

RandyR

unread,
Nov 7, 2022, 10:08:02 AM11/7/22
to PicoChess
Then type 

ls -la

Maarten Smeets

unread,
Nov 7, 2022, 10:10:54 AM11/7/22
to PicoChess
Thank you Randy!
I don't have this file:  chess-eco_pos.txt

Op maandag 7 november 2022 om 16:08:02 UTC+1 schreef RandyR:

Maarten Smeets

unread,
Nov 7, 2022, 10:19:22 AM11/7/22
to PicoChess
Sorry, I have that file as well.
So all is complete

Op maandag 7 november 2022 om 16:10:54 UTC+1 schreef Maarten Smeets:

RandyR

unread,
Nov 7, 2022, 10:26:46 AM11/7/22
to PicoChess
Can you check the picotutor log:

cat picotutor-log.txt

or you can view it with less:

less picotutor-log.txt

Use W and X to scroll. Q to exit.

Any warnings?

RandyR

unread,
Nov 7, 2022, 3:53:16 PM11/7/22
to PicoChess
That should have said 'Use W and Z to scroll. Q to exit.'

Maarten Smeets

unread,
Nov 8, 2022, 4:19:57 AM11/8/22
to PicoChess
Hey Randy,
I was working yesterday so I just did what you asked.
There are no warnings. The cat picotutor-log.txt did nothing so I tried 'Less'.
All I saw was a bunch of '~' signs beneath eachother. The size of the document is 0.

Op maandag 7 november 2022 om 21:53:16 UTC+1 schreef RandyR:

RandyR

unread,
Nov 8, 2022, 9:22:49 AM11/8/22
to PicoChess
Ok. Let's try starting picochess from the command line and see what output it gives:

sudo service picochess stop
cd /opt/picochess
sudo python3 picochess.py

Then test using PicoExplorer OFF and ON. If there is a problem you should see it on the terminal.

Also let me know what engine you are testing with and what level and time setting.

Randy

Maarten Smeets

unread,
Nov 8, 2022, 11:00:13 AM11/8/22
to PicoChess
Maybe I'm missing something.
Whenever I execute your commandlines the name of the current engine disappears and the word 'closed' appear.
The arrows are non responsive so I can't navigate to the picotutor submenu

Op dinsdag 8 november 2022 om 15:22:49 UTC+1 schreef RandyR:

RandyR

unread,
Nov 8, 2022, 11:18:41 AM11/8/22
to PicoChess
You can't use the web interface while picochess is stopped. After you enter the final command, picochess should start.

RandyR

unread,
Nov 8, 2022, 11:19:40 AM11/8/22
to PicoChess
Then you will need to refresh the web page.

Cordial Iter

unread,
Nov 8, 2022, 11:28:34 AM11/8/22
to PicoChess
I have tested the image of Dirk, the one that lalamelat mentionend yesterday.
It's great, has a lot of useful new things. And for the first time my bluetooth speakers re-connect after booting!!
But... it seems to be very unstable. I had a lot of frozen screens. If you play around with the preferences and settings you probably cause a system crash.
I didn't succeed in playing one single game to the end. Think I'll go back to the V3.0. 

CCDC Cycling

unread,
Nov 9, 2022, 6:26:43 AM11/9/22
to PicoChess
Hi All, my sincere apologies, i am new to this group. I get a "forbidden" error when trying to access https://schachcomputer.info/ for downloading the latest picochessweb image.

I have a R-Pi Model 3B+ lying around, and would like to use the picochessweb image with an 7 or 10" touchscreen for playing/training - for some reason, the https://schachcomputer.info/ link does not work for me.

Best Regards
Anand

CCDC Cycling

unread,
Nov 9, 2022, 11:51:06 AM11/9/22
to PicoChess
I managed to download the 'Lite' image, write to an 8GB SD Card and boot the Rpi3b+ with it. I also disabled the DGTPi service, commented out the dgtpi=true in the ini file, and comment the 4 lines related to the clock in the config.txt and rebooted.

The system rebooted and I am able to access the webserver using a browser and IP address of the Rpi. However, in the first screen, the "Book" section remains in the "loading" state.. and in the section below the board display, it always says "processing".. As i have not connected any board (waiting for a chessnut air to be delivered), i was hoping to play with the engine - but when i move the white piece, there is no corresponding move of the black piece by the engine. I am not sure if this is the correct way to use the system.

RandyR

unread,
Nov 9, 2022, 12:01:55 PM11/9/22
to PicoChess
Anand,

Did you try the link in this thread? It is a modified PicoChessWeb version from Dirk which has support for other chess boards and a built-in book/games server (by Gerhard). Or there is another thread which provides older images of PicochessWeb, but only for the DGT boards (from Micah). Those might need a Bluetooth fix.

I see your new post - the book/games server provided by Shiv is currently down. He is working on a fix. And, no, the browser chessboard is only for displaying the moves made on the physical chessboard.

Randy

vogelmann...@gmail.com

unread,
Nov 9, 2022, 1:29:12 PM11/9/22
to pico...@googlegroups.com

I have installed it and changed the board.py file. But when i want to scan the devices in bluetooth menü, see the error

 

--

You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.

image001.png

Randy Reade

unread,
Nov 9, 2022, 1:46:16 PM11/9/22
to pico...@googlegroups.com
What do you see if you type:

rfkill


vogelmann...@gmail.com

unread,
Nov 9, 2022, 1:51:22 PM11/9/22
to pico...@googlegroups.com
image001.png

RandyR

unread,
Nov 9, 2022, 2:00:32 PM11/9/22
to PicoChess
First, let's try updating the system:

sudo apt update
sudo apt full-upgrade

Just hit <enter> at the [Y/n] prompt.
After it is finished:

sudo reboot

vogelmann...@gmail.com

unread,
Nov 9, 2022, 2:03:52 PM11/9/22
to pico...@googlegroups.com

Have done it before.

 

But i do it again.

 

 

The same

 

 

Von: pico...@googlegroups.com <pico...@googlegroups.com> Im Auftrag von RandyR
Gesendet: Mittwoch, 9. November 2022 20:01
An: PicoChess <pico...@googlegroups.com>
Betreff: Re: PicochessWeb - wow!

 

First, let's try updating the system:

 

sudo apt update

sudo apt full-upgrade

 

Just hit <enter> at the [Y/n] prompt.

After it is finished:

 

sudo reboot

On Wednesday, November 9, 2022 at 12:51:22 PM UTC-6 vogelmann...@gmail.com wrote:

 

Von: pico...@googlegroups.com <pico...@googlegroups.com> Im Auftrag von Randy Reade
Gesendet: Mittwoch, 9. November 2022 19:46
An: pico...@googlegroups.com
Betreff: Re: PicochessWeb - wow!

 

What do you see if you type:

 

rfkill

 

 

On Wed., Nov. 9, 2022, 12:29 p.m. , <vogelmann...@gmail.com> wrote:

I have installed it and changed the board.py file. But when i want to scan the devices in bluetooth menü, see the error

 

 

image001.png
image002.png

RandyR

unread,
Nov 9, 2022, 2:17:54 PM11/9/22
to PicoChess
Now type:

sudo rm -rf /var/lib/bluetooth

then reboot.

RandyR

unread,
Nov 9, 2022, 2:21:40 PM11/9/22
to PicoChess
Next, try

bluetoothctl power on

vogelmann...@gmail.com

unread,
Nov 9, 2022, 5:26:31 PM11/9/22
to pico...@googlegroups.com

So, i have find the problem with bluetooth connection. If i uncomment in picochess.ini zhe command dgtpi=true then my board is going to connect.

 

 

 

 

But somethong wit the clock does not work fine. I will test ist wit image V3.

 

 

Von: pico...@googlegroups.com <pico...@googlegroups.com> Im Auftrag von RandyR
Gesendet: Mittwoch, 9. November 2022 20:22
An: PicoChess <pico...@googlegroups.com>
Betreff: Re: PicochessWeb - wow!

 

Next, try

--

You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.

image001.png
image003.jpg

CCDC Cycling

unread,
Nov 9, 2022, 6:17:56 PM11/9/22
to PicoChess
Thank you Randy.. I get a forbidden error for both the links. So right now I only have the 'Lite' image from the links you posted a couple of days ago. I will try again later tonight.

- Anand

Screenshot from 2022-11-10 07-15-54.png

Screenshot from 2022-11-10 07-14-05.png

Randy Reade

unread,
Nov 9, 2022, 6:29:11 PM11/9/22
to pico...@googlegroups.com
Are you using a DGTPi?

Randy Reade

unread,
Nov 9, 2022, 6:31:40 PM11/9/22
to pico...@googlegroups.com
Perhaps try a different browser? Not sure why you would be blocked.

Good luck.

Randy

--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/w90SjCQ_ssc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/28542151-5b1d-44fa-a649-ffcb1944550en%40googlegroups.com.

Randy Reade

unread,
Nov 9, 2022, 6:35:51 PM11/9/22
to pico...@googlegroups.com
Oh, and for the web server, when picochess is restarted you will need to reload that web page.

Randy

On Wed., Nov. 9, 2022, 4:26 p.m. , <vogelmann...@gmail.com> wrote:

CCDC Cycling

unread,
Nov 9, 2022, 6:48:13 PM11/9/22
to PicoChess
Thank you Randy, I found this link:

https://hiarcs.net/forums/viewtopic.php?t=9662 and I have emailed: webm...@schachcomputer.info to request a new account.

I have a DGT3000 clock, a Raspberry Pi 3b+ and have just ordered a ChessNut Air board. At the moment, I have two options:

a) Convert the DGT3000 to a DGTPi using the Rpi and order a new DGT e-board - this is the option is I don't get access to schachcomputer.info

b) Use the Chessnut Air with Rpi and use DGT3000 as a normal clock - this is the option, if I get the image that supports Chessnut Air

I will keep you posted.

- Anand

Randy Reade

unread,
Nov 9, 2022, 7:01:34 PM11/9/22
to pico...@googlegroups.com
Hi Anand,

I'm not very familiar with Gerhard's changes to support other boards so not sure why you couldn't scan via bluetoothctl, unless you didn't stop picochess first. That could cause it. In the future, if you want to do anything on the Pi, stop picochess first:

sudo service picochess stop

To restart it afterwards:

sudo service picochess start

As for the file access, I don't have an account there but am still able to download via links on the forum. Very strange.

Anyway, glad you are making progress. 😊

Randy

You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/b5b77d1e-3a99-48b2-8770-f4724add90c0n%40googlegroups.com.

vogelmann...@gmail.com

unread,
Nov 10, 2022, 8:44:27 AM11/10/22
to pico...@googlegroups.com

RandyR

unread,
Nov 10, 2022, 9:53:43 AM11/10/22
to PicoChess
In that case the dgtpi = true should remain commented out:

#dgtpi = true

I suspect picochess was running.

Randy

CCDC Cycling

unread,
Nov 10, 2022, 11:22:47 AM11/10/22
to PicoChess
Thank you Randy. I am still not able to download a working PicoChessWeb from anywhere, and now i am not even sure if I need the web version.

I will wait for my ChessNut Air to be delivered and if your Lite Image works with Chessnut that is a good starting point.

I also have a SquareOff Pro which has bluetooth, although I have not yet tried connecting the Picochess Lite to the SquareOff - i hope if bluetooth works, there is a chance that the board gets recognized??

- Anand

gkalab

unread,
Nov 10, 2022, 11:33:08 AM11/10/22
to PicoChess
SquareOff Pro will definitely not work. No need to try it. Every e-board uses a different protocol to communicate with other devices. SquareOff apparently decided to keep the internals of their protocol.

Gerhard
It is loading more messages.
0 new messages