The Ecowitt gateway driver will output sensor signal level and battery state data for all connected sensors. You can run the driver directly (refer to step 4 in the
Ecowitt gateway driver quick start) or
run WeeWX directly to observe the signal level and battery state fields provided by the driver. The sensor battery state data varies by sensor, have a look at the Ecowitt gateway driver wiki page
Sensor battery states for more detail. The signal level data provided by the API is not true signal level data, rather it is the number of the last four sensor packets that were successfully received by the gateway device, it is a number from 0 to 4 inclusive. You can certainly map the fields you are interested in to WeeWX fields
rxCheckPercent and
consoleBatteryVoltage but you will need to make sure the units of the mapped fields are the same (
rxCheckPrecent is interpreted as a percentage and
consoleBatteryVoltage is interpreted as a number of Volts) or you will need to tell WeeWX of the new units these fields will use. Alternatively, why not just add one or more new fields to the WeeWX database? This is easily done and avoids confusion as you can use self evident names for the fields. Have a look at the section
Customizing the database in the WeeWX
Customization Guide.