--
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/1c3080e4-699c-4c97-b6fc-8a7f1479963bn%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/824b2004-19ce-47cf-bc64-aaa8844c61b3n%40googlegroups.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/pHMmlH0mSUs/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/ffa6e023-748b-4d8d-84c8-f52fe069cf35n%40googlegroups.com.
Am 14.12.2020 um 17:09 schrieb RandyR <randy...@gmail.com>:
Ok. Thanks for that info. I don't use BT but I understand that being able to shutdown is an acceptable workaround for now. I will keep trying to solve this problem with my limited programming/linux abilities and hopefully I will stumble upon the solution. :^)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/846fa26d-1547-4ceb-b2db-0856fc9cd273n%40googlegroups.com.
If I remember correctly the way I implemented the standby mode of the DGT Pi is by going to run level 0 which is single user mode. In this mode you only run dgtpicom so the pi uses minimal power and is save to unplug without SD card corruption. When you start the clock, dgtpicom exits and the pi goes back to a normal run level by reinitialising everything.
Unfortunately the Bluetooth module can normally only be initialised once because it changes the communication speed and will no longer work on the default communication speed. I fixed this by not changing the communication speed but apparently this is different for the Pi 4b.
To get back to your question, I don’t really understand your current solution but you can simply turn the dgtpi display off by calling self.libl.dgtpicom_off(1) from python. You should probably place this somewhere in https://github.com/jromang/picochess/blob/master/dgt/pi.py
Best regards,
Lucas van der Ploeg | DGT
--
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/deb05d4a-0784-4237-98ef-762b22933d39n%40googlegroups.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/pHMmlH0mSUs/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/7cbcf5b0-2f3a-49ef-8420-09548da013f0n%40googlegroups.com.
Python Chess is installed on my system: /usr/local/lib/python3.7/dist-packages/chess
in file uci.py (for tournament setting):
def go
…
Bug fix:
if movestogo is not None and int(movestogo) > 0:
Instead of
if movestogo is not None and movestogo > 0:
--
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/pHMmlH0mSUs/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/ada8176b-24db-4593-bd25-9c6b5bfd3efbn%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/d033c6ac-2fab-4a9e-bdf6-48aa528a6c19n%40googlegroups.com.
Am 19.12.2020 um 23:09 schrieb RandyR <randy...@gmail.com>:
Dirk, I added my utilities.py edits from the post above and the clock now turns off before the pi shuts down. You can then either remove/reapply power or use the ON/OFF button to restart picochess. You can shutdown using the 2 queens or the ON/OFF button. When you use the ON/OFF button to start, you will see the dashes and flashing mode 25 until the pi takes over. My hack can probably be improved so feel free. :^)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/pHMmlH0mSUs/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/ffb569c3-8f01-4627-bcc0-285574e7213bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/2bc2780e-30e6-474e-85d3-63ba0a5030efn%40googlegroups.com.
wpa_supplicant.conf looking like this…
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE
network={
ssid="your router SSID“
psk="your password“
key_mgmt=WPA-PSK
}
.. .into the main (boot) directory of the sd card directly after having successfully flashed the image.
--
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/pHMmlH0mSUs/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/294ed7ce-144e-4dd7-93d8-0e35f53d1899n%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/7cca3d6a-6054-4df6-a8f6-fe67ab0464acn%40googlegroups.com.
Am 22.12.2020 um 17:57 schrieb RandyR <randy...@gmail.com>:
No problem, Dirk. I may even work on an image similar to what Marcel made, with a desktop, VNC and Samba. We'll see.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/31d09f4c-86e1-487b-ac39-6836ebfac4a9n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/622ea07a-2a3f-4f7e-8303-dc5a8b4f8ed4n%40googlegroups.com.