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
Currently it appears that the raw data values are not accessible from the GetSensorHistory method. Is my understanding correct? Is there any way to retrieve these?
Thanks,
Alex
The text was updated successfully, but these errors were encountered:
lordmilko
added
the
enhancement
Items that are on the todo list for incorporating into PrtgAPI in a future release
label
Apr 8, 2019
I can see you're right, currently only the display value is accessible.
I will rename the current Value property to DisplayValue and add add a new Value property containing the raw value in the next release of PrtgAPI. Until then I believe you'll need to continue manipulating the current Value property to try and get a numeric value.
Please be advised that PrtgAPI 0.9.7 has now been released, which includes a fix for this issue
The existing ChannelHistoryRecord.Value member has been renamed to DisplayValue, and a new Value property containing the raw value has been added. The new Value property will always be expressed in the lowest unit value possible for a given channel (e.g. if the DisplayValue is in megabytes, the Value will be in bytes)
Also note that the SensorHistoryData type has been renamed to SensorHistoryRecord. To update to the latest version, run
Update-Package PrtgAPI
from within the NuGet Package Manager. For a full list of changes (including any breaking changes that may affect you) please see the release notes
Hi,
Currently it appears that the raw data values are not accessible from the GetSensorHistory method. Is my understanding correct? Is there any way to retrieve these?
Thanks,
Alex
The text was updated successfully, but these errors were encountered: