Rating bar

219 views
Skip to first unread message

waldomiro dias machado junior

unread,
Sep 20, 2025, 6:30:18 AM (7 days ago) Sep 20
to pico...@googlegroups.com
Picochess is wonderful, congratulations to all the programmers! One suggestion, if possible: add the option to have the rating bar like Chess Dojo's, it's incredible! Thanks, Waldomiro.

Em quarta-feira, 10 de setembro de 2025, Randy Reade <randy...@gmail.com> escreveu:
Ok. Good. Now, your best chance of connecting consistently to the Chessnut Air is to start the Pi then immediately turn on the board (this just ensures the board led is still flashing blue when PicoChess starts looking for it). From experience, if it doesn't connect, turn both the Pi and the board OFF and start again.

Randy


On Wed, Sep 10, 2025, 12:46 p.m. waldomiro dias machado junior <pet...@gmail.com> wrote:
Hello Randy,

I was only able to connect my Chessnut by downloading the PicoChess 3.4 image with the fix; the command didn't work for me. 

Thank you very much.

Waldomiro 

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/CAE5Wdus3iucO27wc6n0wyX7PenJP7FOepd8SjZ5WP9XtMwfu_Q%40mail.gmail.com.

Antonio

unread,
Sep 20, 2025, 7:52:40 AM (7 days ago) Sep 20
to PicoChess

It is something that I have in mind and I have done several tests, but it would only be when analyzing the webserver's stockfish. I haven't moved forward because I don't know the acceptance it would have and seeing that there is a tendency towards minimalism...

Antonio

unread,
Sep 21, 2025, 5:39:16 AM (6 days ago) Sep 21
to PicoChess

would it be good like that???
Although the usefulness that I see is when analyzing with the smartphone, it is not necessary to slide the screen, because with a larger screen, 
it is repeating the information that the engine already shows.


I keep trying...
Captura de pantalla 2025-09-21 113438.png
Screenshot_20250921_113525_com.android.chrome.jpg

Johan Sjöblom

unread,
Sep 21, 2025, 8:00:09 AM (6 days ago) Sep 21
to PicoChess
Hello Antoni (and others)

Should I open an issue and create a branch where this can be tested as part of the V4 code? If I open a branch you can place the code there for testing or?

BR, Johan

Antonio

unread,
Sep 21, 2025, 8:11:39 AM (6 days ago) Sep 21
to pico...@googlegroups.com
Estoy fuera de casa, esta noche lo subo a github para probar. Se modifican los archivos web como los de la presentación del motor anterior.


I'm away from home, tonight I'll upload it to github to test. The web files are modified like those in the previous engine presentation.

--
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/hVE6tOI6BLE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/5bc2c4fa-1517-49f6-af25-cca9195aafc0n%40googlegroups.com.

Johan Sjöblom

unread,
Sep 21, 2025, 11:52:02 AM (6 days ago) Sep 21
to PicoChess
There is now a issue 101, to do these modifications in that branch do something like:
git fetch origin git checkout 101-rating-bar

Note, nothing done there yet, just a branch created which is currently same as master branch.

BR Johan

Antonio

unread,
Sep 21, 2025, 11:58:45 AM (6 days ago) Sep 21
to pico...@googlegroups.com

I have uploaded the complete webserver folder to github in branch 101.    Is it okay like this?

Johan Sjöblom

unread,
Sep 21, 2025, 1:48:23 PM (6 days ago) Sep 21
to PicoChess
I rebased it and created a PR, so anyone can now test the branch or read what the PR would change. Its basically additions...

Test and comment in the issue or in the PR. You can also review the code in the PR and comment.

BR; Johan

RandyR

unread,
Sep 24, 2025, 4:40:12 PM (3 days ago) Sep 24
to PicoChess
Interestingly, if you are on the master branch and run an update, it doesn't update the other branches. I did an update, then had to use 'git pull' after using 'git switch':

pi@picochess:/opt/picochess $ git switch 101-rating-bar
Switched to branch '101-rating-bar'
Your branch is behind 'origin/101-rating-bar' by 2 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
pi@picochess:/opt/picochess $ git pull
Updating fe9b1302..08f3aeab
Fast-forward
 web/picoweb/static/js/app.js | 53 +++++++++++++++++++++++++++++++++++++-------
 1 file changed, 45 insertions(+), 8 deletions(-)


I guess that's normal. My question would be, if I use the menu now to update v4, will it be the current branch that (only) gets updated?

Randy

RandyR

unread,
Sep 24, 2025, 4:57:02 PM (3 days ago) Sep 24
to PicoChess
It appears that if you have never switched to a different branch (e.g. 'git branch' only shows 'master') if you have done a 'git pull' (on 'master') and then 'git switch' to a desired branch, it will be up-to-date. This makes sense as you wouldn't want git to make changes to your local branch if it's different from the remote repo. It's a complicated and powerful system.

RandyR

unread,
Sep 24, 2025, 5:47:09 PM (3 days ago) Sep 24
to PicoChess
However, if you are not on the master branch and do an update, it will fail (at least for a git switch to a different branch):

WARNING: You are on branch '101-rating-bar', not 'master'.
Skipping update to avoid interfering with work on another branch.
Backup completed at: /home/pi/pico_backups/current

Johan Sjöblom

unread,
Sep 25, 2025, 2:18:25 AM (3 days ago) Sep 25
to PicoChess
At the moment the update script has a protection so that if you are not on master branch it will not update. This is what you now experienced. Working on branches means you have to manually switch to the branch and manually do git pull.

Peter Eggen

unread,
Sep 26, 2025, 9:33:26 AM (yesterday) Sep 26
to PicoChess
Is there any info available on how to test this? I have updated Picochess using the Menue System->Power->Restart and Update Picochess but not seeing it?

RandyR

unread,
Sep 26, 2025, 10:23:35 AM (yesterday) Sep 26
to PicoChess
I believe these steps should work via ssh or locally:

cd /opt/picochess
sudo systemctl stop picochess
git fetch origin
git checkout 101-rating-bar
git pull
sudo reboot

Switch back to master before updating via the menu:

cd /opt/picochess
sudo systemctl stop picochess
git checkout master
sudo reboot
<update via menu>

Or, just update using the terminal:

cd /opt/picochess
sudo systemctl stop picochess
git pull
sudo reboot

Note: instead of rebooting you could just restart PicoChess:

sudo systemctl start picochess

To refresh the kiosk web browser in an attached display you can use:

DISPLAY=:0 xdotool key F5

or press F5 on an attached keyboard.

To see the analysis bar, press the ANALYZE button on the ENGINE tab in the browser. 

Randy

Peter Eggen

unread,
Sep 26, 2025, 11:10:34 AM (yesterday) Sep 26
to PicoChess
Thx, worked perfectly

Johan Sjöblom

unread,
6:00 AM (11 hours ago) 6:00 AM
to PicoChess
For those that now do git pull (which is the only way to update when you are testing a branch like the 101):

There is now more information in the System -> Information menu: In addition to version (like 4.1.4) there is now also "Update info" and "git info". If the git info does not start with "git:" then the system is not updatable and it means you are on a branch, tag, or some specific commit... As said, the only way to currently update a branch is to switch back to master, and then you can do an update from the menu. If you tried the update on a branch the Update info will show failed. Note that the update info is meant for "normal" non-development users so it will only show when you last updated pico from the menu. If you do your own "git pull" then it will now know that you have updated.
Currently this update and git info is only updated upon starting picochess... So if you manually switch to master branch on a terminal a "still running" pico will show old git info as it was when it started... So there are some improvements that could be made but at least now there is information available for users without an external extra screen. If you do have an external screen you can run the info scripts yourself (without sudo) at any point to get the fresh info:
> ./check-update-status.sh
or
>./check-git-status.sh
These are the two scripts that show the information in the System -> Information menu. So by changing the scripts we can improve the info.
Obviously you can simply also do "git status" instead of the check-git-status.

Let me know when you think this "rating bar" is good enough to be taken into master branch and I can merge. If you have received an invite to be a developer you can mark it as approved to indicate that. With 2 approvals anyone can merge (typical rule that I use). Before merging one would need to check for the need to rebase the PR to avoid conflicts if something has happened on the master branch.

BR, Johan
Reply all
Reply to author
Forward
0 new messages