What are the recommended low-voltage shutdown settings, high-voltage shutdown settings and voltage recovery restart settings on the Witty Pi 4? The documentation shows that the input voltage range is 6V~30V (via XH2.54 connector. Are those the settings I should use or some other values? Thanks!
There is no "high-voltage shutdown" in Witty Pi 4.
Low-voltage shutdown and voltage recovery restart are for battery use cases: Witty Pi 4 shuts down the device when the battery voltage goes too low, and startup the device when the battery voltage is recovered. The settings of these value depends on the battery you use. The low-voltage threshold should be set to the End of Discharge Voltage (or a bit higher) for the battery; The recovery voltage threshold should be set to the End of Charge Voltage (or a bit lower) for the battery.
Witty Pi 4 doesn't charge your battery, so the charging circuit needs to be implemented by yourself.