I love my onefinity but it has bothered me that once I found out how to set the units to Imperial so that it boots to imperial units, but the numbers on the jog buttons were still in the metric units. You always had to toggle the units to metric then imperial to get the jog buttons correct. I emailed email@example.com and asked them about that and they replied that its normal and yes you must toggle the units even though it boots in imperial units.
So I did som digging around in the source code and found that the lines for the jog button are hard coded buttons at boot instead of making them a variable. So if you are comfortable with ssh you can do this. After the fix the toggle still works if you ever need to revert to metric units.
ssh into your controller
sudo cp index.html index.html.orig
the above line does the following: makes a copy of the original index.html and names it index.html.orig
- sudo nano index.html (key commands are shown at the bottom of the window to get around in nano editor)
- on keyboard hit ctrl underscore (on my keyboard _ is with the - button, I hit ctrl- NOT ctrl shift-)
if you have a seperate keypad on your keyboard mine doesn’t work in nano so use number keys on the normal keyboard
- type 3078 (This takes you to line 3078 in the file). see the screenshot below with the red circle. We need to change those 4 values.
- change 0.1 to 0.005
- 3 lines down change 1.0 to 0.05
- 3 lines down change 10 to 0.5
- 3 lines down change 100 to 5
- hit ctrl o and enter.
- hit ctrl x
- reboot the machine
if you messed up and need to recover the backup you made in step 1&2 you can do this by doing the following
- ssh into controller
- cd /usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/http
- sudo cp index.html.orig index.html (this overwrites the index.html with the backup we made of the original index.html.orig.