Skip to content

Format battery as % #912

Closed Answered by WiggyToo
WiggyToo asked this question in Q&A
Discussion options

You must be logged in to vote

Answer was to add this to belchertown.py just after the imports at the top.

#Extend dictionary for battery percent observations
weewx.units.obs_group_dict['rainBatteryStatus'] = 'group_percent'
weewx.units.obs_group_dict['windBatteryStatus'] = 'group_percent'
weewx.units.obs_group_dict['outTempBatteryStatus'] = 'group_percent'
#end

Regards,
Gav

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WiggyToo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant