e-sr / moonboard

GNU General Public License v3.0
96 stars 43 forks source link

New Moonboard App #62

Open andreashandlerleadit opened 9 months ago

andreashandlerleadit commented 9 months ago

Hm, there seems to be an issue with the new Moonboard App. Anyone experiancing the same?

e-sr commented 8 months ago

i will look at it sunday

andreashandlerleadit commented 8 months ago

The strings changed. Holds are now R instead of P and one logger caused an issue. Working again

Robbe92 commented 8 months ago

@andreashandlerleadit you're telling me change this if t=='P': in if t=='R': it's right ?

e-sr commented 8 months ago

yes, it should work

e-sr commented 8 months ago

the app send a sequence of characters describing the problem. The sequence always start with 'l#' and finish with '#'. Holds information are comma , separated. The hold first character describe the hold type. 'S' for start, 'R' for moves and 'E' for end holds. The following char describe the position. As an Example we can have 'l#S5,R9,R13,E18#'

The hold positions is a number between 1 and 198. Assigned as follow:

A1 = 1 A18 = 18 B1 = 19 B18 = 36 ... K18 = 198

Kirby-Ben commented 8 months ago

added a line: if t=='R' under the if t=='P'

now works with the old and new Moon Apps

New Moon App is still really buggy, but this e-sr programming has worked flawlessly for nearly two years. Thanks again for all the efforts!

reinarrow commented 7 months ago

Hi guys. I have one of these running at my local climbing gym, you can see at my own fork, where I solved quite some issues and improved bluetooth connection.

I was wondering, how did Moonboard manage this update to the app? Did they ask all their customers to update their devices too? Or maybe they had this already planned and the devices also supported the new protocol (with the R instead of P for intermediate holds)? I'm guessing the second, that this was within their plans to update from time to time so that the "non-fair" competence gets out of the game.

reinarrow commented 7 months ago

Just after writing this and some research I found this in the arduino version here:


The new app introduces 'show move beta', @sintoris is right about just changing "P" to "R" during normal operation, but when show beta is on you get additional holds/colours:

"L" -> lefthand
"R" -> Righthand
"M" -> Match hands
"F" -> footholds

so you have S, R, L, M, F, E hold types now!
HattoriHanzo031 commented 2 months ago

Hi guys. I have one of these running at my local climbing gym, you can see at my own fork, where I solved quite some issues and improved bluetooth connection.

I was wondering, how did Moonboard manage this update to the app? Did they ask all their customers to update their devices too? Or maybe they had this already planned and the devices also supported the new protocol (with the R instead of P for intermediate holds)? I'm guessing the second, that this was within their plans to update from time to time so that the "non-fair" competence gets out of the game.

Original board has OTA update exposed, so it might be that first time someone used new app on the board it made the update.