Skip to content

Tripper voltage/battery percentage edits#41

Open
alecm wants to merge 2 commits into
mitchpond:masterfrom
alecm:TripperTemp
Open

Tripper voltage/battery percentage edits#41
alecm wants to merge 2 commits into
mitchpond:masterfrom
alecm:TripperTemp

Conversation

@alecm

@alecm alecm commented Sep 10, 2016

Copy link
Copy Markdown

@mitchpond

First time trying this w/ Github - hope I got protocol/process right. I think this is from your most recent June 6th version.

I made a couple of tweaks to your great Tripper Device Type. Not an expert but I think they work.

Edited getBatteryResult

  • corrected variable for log.debug (rawValue => volts)
  • added mapping values for 3.0 and 2.9 volts (new batteries were showing null values). Also changed mappings for 28 and 27 just because I want to see more intermediate values as it starts to decrease. I'm frankly tempted to just show the voltage but that would be confusing to most.

Agree with your assessment on voltage. Under 2.1 or so seems to start giving problems.

Edited getBatteryResult - corrected variable for reporting and added mapping values for 3.0 and 2.9 volts.
Wanted more different values displayed as voltage starts to go down in the batteries.
@alecm alecm changed the title Tripper temp edits Tripper voltage/battery percentage edits Oct 28, 2016
@alecm

alecm commented Oct 28, 2016

Copy link
Copy Markdown
Author

Sorry - had mistitled - it's edits to voltage/battery percentage not temp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant