Skip to content

Conversation

@mplogas
Copy link
Owner

@mplogas mplogas commented Jul 31, 2025

PR Classification

Enhancement of sensor data handling and precision in the Ecowitt mapping system.

PR Summary

This pull request improves the precision of sensor data handling by updating several methods in the Ecowitt.Controller.Mapping namespace.

  • SensorBuilder.cs: Changed solar radiation sensor from BuildIntSensor to BuildDoubleSensor for better precision.
  • SensorBuilder.cs: Updated BuildCurrentSensor to include an isMilliAmp parameter for unit differentiation.
  • SensorBuilderLogic.cs: Adjusted water flow sensor logic to correctly apply unit conversions based on the isMetric flag.
  • SensorBuilderAddon.cs: Modified wind direction compass sensor to use the result of CalculateWindDirection directly.

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