How to trigger the fingerbot via CLI

I don’t like to login web GUI each time to just trigger the fingerbot.

So I spend some time to explore in the system and found below cli commands.

Command Usage Expected Behavior
action fingerbot action Triggers a single press/push using current settings.
set-action fingerbot set-action 500 Sets the push/hold duration (try with a number in ms).
off / stop fingerbot off Likely retracts the arm or cancels a hold.
loop-start fingerbot loop-start Starts a repeating press cycle (use with caution!).
loop-stop fingerbot loop-stop Stops the repeating cycle.
read fingerbot read Likely reads current settings or status from the bot.
update-battery fingerbot update-battery Refreshes the battery level data.
connect fingerbot connect Establishes the BLE link (as seen in your init script).

Now I can easily to write a script to ssh to the KVM and trigger one click automatically by the command - finger action. Even it tells the battery level.:slightly_smiling_face:

root@glkvm:~# fingerbot action
Get paired finger robot addr CD:67:A2:29:98:7C
Found paried device in dbus object
Connect to robot CD:67:A2:29:98:7C successfully.
Processed command successfully
Read successfully
battery level: 100 %
push time: 800 ms
hold time: 500 ms
pull time: 803 ms
repeat times: 0
repeat interval: 0 ms
Done.