You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As ascertained in #221, Get-SensorHistory fails when a channel has been configured with a custom Scaling Division or Scaling Multiplication. This results in a discrepancy between the raw and display value of the channel, resulting in ConvertUtilities.ToDynamicDouble failing to be able to convert the value properly
Get-SensorHistory should be modified to get the channels of the sensor being retrieved, and automatically apply any required scaling division/multiplication values to the raw channel value prior to passing it to ConvertUtilities.ToDynamicDouble. When -Raw is specified, Get-SensorHistory should still emit the original, unmodified raw value
The text was updated successfully, but these errors were encountered:
lordmilko
added
the
bug
Issues that have been confirmed to be bugs in PrtgAPI and will be fixed in a future version
label
Sep 15, 2021
As ascertained in #221,
Get-SensorHistory
fails when a channel has been configured with a custom Scaling Division or Scaling Multiplication. This results in a discrepancy between the raw and display value of the channel, resulting inConvertUtilities.ToDynamicDouble
failing to be able to convert the value properlyGet-SensorHistory
should be modified to get the channels of the sensor being retrieved, and automatically apply any required scaling division/multiplication values to the raw channel value prior to passing it toConvertUtilities.ToDynamicDouble
. When-Raw
is specified,Get-SensorHistory
should still emit the original, unmodified raw valueThe text was updated successfully, but these errors were encountered: