How to set sphinx battery?

I follow this.

sphinx is

sphinx "/opt/parrot-sphinx/usr/share/sphinx/drones/anafi4k.drone"::firmware=""

and enter

echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"anafi4k", "object":"lipobattery/lipobattery", "parameter":"discharge_speed_factor", "value":"0"}, "id": 1}' | curl -d @- http://localhost:8383 | python -m json.tool

but no use

i want infinite battery.

With current Sphinx version you can use sphinx-cli:

sphinx-cli param lipobattery/lipobattery discharge_speed_factor 0

OK, thank you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.