Converter plugin help


Does simple conversions (Byte to Kilobytes, Kilobytes to Megabytes, etc…).

The automatic sensor will adjust to B/KB/MB/GB/TB as needed. Example: Let's say you give it an input value that happens to be 1032 bytes, it will automatically convert the input to 1.01 kilobytes. Then, as the input value reaches 1048576 bytes, it will automatically convert the input to 1 megabyte. And so on up to terabytes, at which point it will just show you 1024 terabytes. Let me know if you exceed this and I will kick it up a notch. ;)

Parameter explanation:
Sensor: Convert
  • <Method> : Easy enough... set to whichever conversion method (see below) you need.
  • <Value> : This is the value that will be converted. Type something in or drop in a sensor (Be sure this sensor is dedicated=yes).
  • <Decimal> : Yup, 37..-37. This is optional and is set, by default, to -2 (ex: 123.45).

    Sensor: AutoConvert
  • <ACStartUnit> : The AutoConvert start point. If you are sending in Bytes to AutoConvert then set to B, if sending in Kilobytes set to KB, and so forth.
  • <Value> : Same as above.
  • <ACSuffix> : This will be appended to the end of the output. Example... <ACSuffix>%au/sec</ACSuffix> could look like this... MB/sec. "%au" in the suffix tells the plugin to put in the current AutoConvert Unit (B,KB,MB,GB).
  • <Decimal> : Same as above.

    Convertion methods
    Negative -> Value to negative Value
    B2KB -> Bytes to Kilobytes
    B2MB -> Bytes to Megabytes
    B2GB -> Bytes to Gigabytes
    KB2B -> Kilobytes to Bytes
    KB2MB -> Kilobytes to Megabytes
    KB2GB -> Kilobytes to Gigabytes
    MB2B -> Megabytes to Bytes
    MB2KB -> Megabytes to Kilobytes
    MB2GB -> Megabytes to Gigabytes
    GB2B -> Gigabytes to Bytes
    GB2KB -> Gigabytes to Kilobytes
    GB2MB -> Gigabytes to Megabytes

    Change log
    v 0103
    - added convert to negative
    v 0102
    - first release