Closed eqikkwkp25-cyber closed 6 months ago
Now I understand that your Bluetooth problems are somewhat different from mine. Mine are definitely due to the distance between host and client, hence my interest in small mobile devices. A prototype for this is finished (cost me some nerves, framebuffer and button overlays etc), i'm working on a second one with a bigger battery. On a side note, unfortunately Termux doesn't understand Bluetooth, otherwise you could use the smartphone for this.
We should look into this, especially if more users use the code.
I've never heard of wakepy, thanks for the link, need to check it. Alternatively, one could record how the SquareOff app handles it or Android apps in general. Is it guaranteed that this works better with the app?
Apologies for the delay (again), I've been a bit busy recently so didn't have much time for testing. Tried the code out yesterday and it all seems to work for me, I've been able to watch live games successfully. It's great fun being able to watch live games on a physical board - makes you feel like you're there almost :)
For longer games my laptop keeps sleeping/turning off bluetooth (crashing the app). Disabling sleep manually works but it would be nice if we could automate this. Perhaps something like https://github.com/fohrloop/wakepy might work here? I'll give it a try.