From 0e67257376acba057260c38525a158ca2d1aa7d9 Mon Sep 17 00:00:00 2001 From: Wouter Bouvy Date: Tue, 3 Dec 2024 10:27:53 +0100 Subject: [PATCH] 0.219.0 --- CHANGELOG.md | 11 ++ base.proto | 2 + docs/enum-json/base.json | 1 + docs/enum-json/value.json | 29 ++-- docs/html/asset.html | 120 +++++++++------ docs/html/asset_service.html | 120 +++++++++------ docs/html/assignment.html | 6 + docs/html/certificate.html | 6 + docs/html/currentuser.html | 6 + docs/html/device.html | 120 +++++++++------ docs/html/device_service.html | 120 +++++++++------ docs/html/device_type_service.html | 6 + docs/html/email_notifications.html | 6 + docs/html/event.html | 6 + docs/html/export.html | 6 + docs/html/field.html | 120 +++++++++------ docs/html/field_service.html | 120 +++++++++------ docs/html/health.html | 6 + docs/html/integration_mqtt.html | 6 + docs/html/integration_slack.html | 6 + docs/html/map.html | 6 + docs/html/message.html | 6 + docs/html/modem.html | 120 +++++++++------ docs/html/modem_alarm.html | 6 + docs/html/modem_message_body_parser.html | 6 + docs/html/named_location.html | 6 + docs/html/organization.html | 120 +++++++++------ docs/html/publisher.html | 6 + docs/html/role.html | 6 + docs/html/simulation.html | 124 +++++++++------ docs/html/simulation_service.html | 10 +- docs/html/tag.html | 6 + docs/html/testing.html | 6 + docs/html/token.html | 6 + docs/html/transfer_service.html | 6 + docs/html/unit_preferences_service.html | 114 ++++++++------ docs/html/user.html | 6 + docs/html/value.html | 120 +++++++++------ docs/html/value_service.html | 120 +++++++++------ docs/html/webhook.html | 6 + docs/md/asset.md | 43 ++++-- docs/md/asset_service.md | 43 ++++-- docs/md/assignment.md | 1 + docs/md/certificate.md | 1 + docs/md/currentuser.md | 1 + docs/md/device.md | 43 ++++-- docs/md/device_service.md | 43 ++++-- docs/md/device_type_service.md | 1 + docs/md/email_notifications.md | 1 + docs/md/event.md | 1 + docs/md/export.md | 1 + docs/md/field.md | 43 ++++-- docs/md/field_service.md | 43 ++++-- docs/md/health.md | 1 + docs/md/integration_mqtt.md | 1 + docs/md/integration_slack.md | 1 + docs/md/map.md | 1 + docs/md/message.md | 1 + docs/md/modem.md | 43 ++++-- docs/md/modem_alarm.md | 1 + docs/md/modem_message_body_parser.md | 1 + docs/md/named_location.md | 1 + docs/md/organization.md | 43 ++++-- docs/md/publisher.md | 1 + docs/md/role.md | 1 + docs/md/simulation.md | 47 +++--- docs/md/simulation_service.md | 5 +- docs/md/tag.md | 1 + docs/md/testing.md | 1 + docs/md/token.md | 1 + docs/md/transfer_service.md | 1 + docs/md/unit_preferences_service.md | 42 +++-- docs/md/user.md | 1 + docs/md/value.md | 43 ++++-- docs/md/value_service.md | 43 ++++-- docs/md/webhook.md | 1 + simulation.proto | 4 +- value.proto | 186 ++++++++++++++--------- 78 files changed, 1550 insertions(+), 816 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5ca3cc..4c4f79d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog Hiber API +### 0.219 (2024-12-03) + +##### ValueSimulationService + +- The `unit` and `numeric-value-type` are now required for numeric value simulation. + +##### ValueService + +- Added `Value.Numeric.Type.OTHER` and `Value.Numeric.Other` for value types that are known but not supported. +- Reordered and added documentation for `Value.Numeric.Type` values and `Value.Numeric` type objects. + ### 0.218 (2024-11-26) ##### UserService diff --git a/base.proto b/base.proto index 90679ad..c72a807 100644 --- a/base.proto +++ b/base.proto @@ -750,5 +750,7 @@ enum UnitOfMeasurement { ITEMS_PER_24_HOURS = 45; + OTHER = 54; + reserved 13; } diff --git a/docs/enum-json/base.json b/docs/enum-json/base.json index 04e4176..23acd0c 100644 --- a/docs/enum-json/base.json +++ b/docs/enum-json/base.json @@ -112,5 +112,6 @@ , "FLOW_CUBIC_FEET_PER_SECOND": "" , "REVOLUTIONS_PER_MINUTE": "" , "ITEMS_PER_24_HOURS": "" + , "OTHER": "" } }] \ No newline at end of file diff --git a/docs/enum-json/value.json b/docs/enum-json/value.json index 52c340a..ef4c324 100644 --- a/docs/enum-json/value.json +++ b/docs/enum-json/value.json @@ -110,20 +110,21 @@ "description": "The type of numeric value that is represented. Supported types will automatically convert to the preferred unit (based on the user settings).", "values": { "TYPE_UNKNOWN": "" - , "PERCENTAGE": "" - , "TEMPERATURE": "" - , "DISTANCE": "" - , "PRESSURE": "" - , "VOLTAGE": "" - , "SPEED": "" - , "VOLUME": "" - , "DURATION": "" - , "FUEL_EFFICIENCY": "" - , "MASS": "" - , "BATTERY_LEVEL": "" - , "FLOW": "" - , "ROTATION_SPEED": "" - , "RATE": "" + , "BATTERY_LEVEL": "Battery level, as a percentage." + , "DISTANCE": "Distance in metric or imperial units." + , "DURATION": "Time period." + , "FLOW": "Volume per time period." + , "FUEL_EFFICIENCY": "Fuel efficiency, e.g. mpg or l/100km." + , "MASS": "Mass." + , "OTHER": "Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available." + , "PERCENTAGE": "A percentage, typically 0-100%." + , "PRESSURE": "Pressure." + , "RATE": "Count per time period, e.g. the amount of items counted in a 24 hour window." + , "ROTATION_SPEED": "Speed that something rotates per time period, typically in revolutions per minute." + , "TEMPERATURE": "Temperature." + , "SPEED": "Speed, e.g. km/h." + , "VOLTAGE": "Voltage, e.g. mV." + , "VOLUME": "Volume, e.g. m³." } },{ "name": "VoltageUnit", diff --git a/docs/html/asset.html b/docs/html/asset.html index 2babf6c..2d385fb 100644 --- a/docs/html/asset.html +++ b/docs/html/asset.html @@ -622,6 +622,10 @@

Table of Contents

MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -3310,6 +3314,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + @@ -4807,6 +4817,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -4960,7 +4977,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -4984,7 +5001,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -5007,6 +5024,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -5637,87 +5661,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/asset_service.html b/docs/html/asset_service.html index 99da9dd..b4effe0 100644 --- a/docs/html/asset_service.html +++ b/docs/html/asset_service.html @@ -693,6 +693,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -4114,6 +4118,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    @@ -5858,6 +5868,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -6011,7 +6028,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -6035,7 +6052,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -6058,6 +6075,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -6688,87 +6712,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/assignment.html b/docs/html/assignment.html index 59dca45..b3f01fc 100644 --- a/docs/html/assignment.html +++ b/docs/html/assignment.html @@ -5359,6 +5359,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/html/certificate.html b/docs/html/certificate.html index ea8e75e..1d9a67a 100644 --- a/docs/html/certificate.html +++ b/docs/html/certificate.html @@ -3171,6 +3171,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/currentuser.html b/docs/html/currentuser.html index f81fc2b..77dcd6e 100644 --- a/docs/html/currentuser.html +++ b/docs/html/currentuser.html @@ -3746,6 +3746,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/device.html b/docs/html/device.html index 2931d70..33bd204 100644 --- a/docs/html/device.html +++ b/docs/html/device.html @@ -805,6 +805,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -3672,6 +3676,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + @@ -7527,6 +7537,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -7680,7 +7697,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -7704,7 +7721,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -7727,6 +7744,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -8357,87 +8381,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/device_service.html b/docs/html/device_service.html index c0ddcfa..8a15e1f 100644 --- a/docs/html/device_service.html +++ b/docs/html/device_service.html @@ -694,6 +694,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -3521,6 +3525,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    @@ -6635,6 +6645,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -6788,7 +6805,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -6812,7 +6829,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -6835,6 +6852,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -7465,87 +7489,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/device_type_service.html b/docs/html/device_type_service.html index 292c0f1..c0b441f 100644 --- a/docs/html/device_type_service.html +++ b/docs/html/device_type_service.html @@ -2820,6 +2820,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/html/email_notifications.html b/docs/html/email_notifications.html index 21abcbc..7ba8118 100644 --- a/docs/html/email_notifications.html +++ b/docs/html/email_notifications.html @@ -3273,6 +3273,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/event.html b/docs/html/event.html index a83dcb4..4a8e7aa 100644 --- a/docs/html/event.html +++ b/docs/html/event.html @@ -12256,6 +12256,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/export.html b/docs/html/export.html index ea088ee..563d4d5 100644 --- a/docs/html/export.html +++ b/docs/html/export.html @@ -3665,6 +3665,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/field.html b/docs/html/field.html index 9dcd227..4dcfdda 100644 --- a/docs/html/field.html +++ b/docs/html/field.html @@ -460,6 +460,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -3229,6 +3233,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + @@ -3456,6 +3466,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -3609,7 +3626,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -3633,7 +3650,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -3656,6 +3673,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -4286,87 +4310,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/field_service.html b/docs/html/field_service.html index e03dc47..76d3b97 100644 --- a/docs/html/field_service.html +++ b/docs/html/field_service.html @@ -952,6 +952,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -4804,6 +4808,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    @@ -9774,6 +9784,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -9927,7 +9944,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -9951,7 +9968,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -9974,6 +9991,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -10604,87 +10628,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/health.html b/docs/html/health.html index 85587f2..984b13e 100644 --- a/docs/html/health.html +++ b/docs/html/health.html @@ -3335,6 +3335,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/html/integration_mqtt.html b/docs/html/integration_mqtt.html index f894170..6a47b27 100644 --- a/docs/html/integration_mqtt.html +++ b/docs/html/integration_mqtt.html @@ -4225,6 +4225,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/integration_slack.html b/docs/html/integration_slack.html index 53fa7ca..5672fd9 100644 --- a/docs/html/integration_slack.html +++ b/docs/html/integration_slack.html @@ -3938,6 +3938,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/map.html b/docs/html/map.html index 419513f..e626a1e 100644 --- a/docs/html/map.html +++ b/docs/html/map.html @@ -3373,6 +3373,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/message.html b/docs/html/message.html index e71e0c2..d89f9af 100644 --- a/docs/html/message.html +++ b/docs/html/message.html @@ -3416,6 +3416,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/modem.html b/docs/html/modem.html index bf5de13..4dde33e 100644 --- a/docs/html/modem.html +++ b/docs/html/modem.html @@ -869,6 +869,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -5565,6 +5569,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + @@ -8023,6 +8033,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -8176,7 +8193,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -8200,7 +8217,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -8223,6 +8240,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -8853,87 +8877,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/modem_alarm.html b/docs/html/modem_alarm.html index 62bc4d9..d1d6fb2 100644 --- a/docs/html/modem_alarm.html +++ b/docs/html/modem_alarm.html @@ -5140,6 +5140,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/html/modem_message_body_parser.html b/docs/html/modem_message_body_parser.html index 4833421..b01bf9c 100644 --- a/docs/html/modem_message_body_parser.html +++ b/docs/html/modem_message_body_parser.html @@ -4963,6 +4963,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/named_location.html b/docs/html/named_location.html index 80f040d..c7ebf90 100644 --- a/docs/html/named_location.html +++ b/docs/html/named_location.html @@ -3330,6 +3330,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/organization.html b/docs/html/organization.html index 76088ae..520b8e3 100644 --- a/docs/html/organization.html +++ b/docs/html/organization.html @@ -528,6 +528,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -3827,6 +3831,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + @@ -4054,6 +4064,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -4207,7 +4224,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -4231,7 +4248,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -4254,6 +4271,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -4884,87 +4908,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/publisher.html b/docs/html/publisher.html index e13f6f3..43ce900 100644 --- a/docs/html/publisher.html +++ b/docs/html/publisher.html @@ -3701,6 +3701,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/html/role.html b/docs/html/role.html index 3fee99e..ad7f2eb 100644 --- a/docs/html/role.html +++ b/docs/html/role.html @@ -2752,6 +2752,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/simulation.html b/docs/html/simulation.html index 43d5eec..4205326 100644 --- a/docs/html/simulation.html +++ b/docs/html/simulation.html @@ -460,6 +460,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -781,14 +785,14 @@

    ValueSimulation. type hiber.value.Value.Numeric.Type - optional +

    unit hiber.UnitOfMeasurement - optional +

    @@ -3053,6 +3057,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + @@ -3280,6 +3290,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -3433,7 +3450,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -3457,7 +3474,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -3480,6 +3497,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -4110,87 +4134,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/simulation_service.html b/docs/html/simulation_service.html index 91abaed..d8fa573 100644 --- a/docs/html/simulation_service.html +++ b/docs/html/simulation_service.html @@ -3216,6 +3216,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    @@ -5788,14 +5794,14 @@

    ValueSimulation. type hiber.value.Value.Numeric.Type - optional +

    unit hiber.UnitOfMeasurement - optional +

    diff --git a/docs/html/tag.html b/docs/html/tag.html index a1f93e3..98deb17 100644 --- a/docs/html/tag.html +++ b/docs/html/tag.html @@ -3420,6 +3420,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/testing.html b/docs/html/testing.html index d3f3626..5eb8ed2 100644 --- a/docs/html/testing.html +++ b/docs/html/testing.html @@ -3862,6 +3862,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/token.html b/docs/html/token.html index 14f50cf..e84a475 100644 --- a/docs/html/token.html +++ b/docs/html/token.html @@ -3482,6 +3482,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/transfer_service.html b/docs/html/transfer_service.html index ab3b52b..c891594 100644 --- a/docs/html/transfer_service.html +++ b/docs/html/transfer_service.html @@ -3093,6 +3093,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + diff --git a/docs/html/unit_preferences_service.html b/docs/html/unit_preferences_service.html index 6c593d3..89fa50a 100644 --- a/docs/html/unit_preferences_service.html +++ b/docs/html/unit_preferences_service.html @@ -324,6 +324,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -1768,6 +1772,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -1921,7 +1932,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -1945,7 +1956,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -1968,6 +1979,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -2598,87 +2616,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/user.html b/docs/html/user.html index b9b442a..857f9e1 100644 --- a/docs/html/user.html +++ b/docs/html/user.html @@ -4165,6 +4165,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/html/value.html b/docs/html/value.html index dd3b269..e6f32e6 100644 --- a/docs/html/value.html +++ b/docs/html/value.html @@ -214,6 +214,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -759,6 +763,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -912,7 +923,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -936,7 +947,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -959,6 +970,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -1589,87 +1607,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + @@ -4074,6 +4100,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/html/value_service.html b/docs/html/value_service.html index 339026a..2c09a42 100644 --- a/docs/html/value_service.html +++ b/docs/html/value_service.html @@ -706,6 +706,10 @@

    Table of Contents

    MValue.Numeric.Mass +
  • + MValue.Numeric.Other +
  • +
  • MValue.Numeric.Percentage
  • @@ -3749,6 +3753,12 @@

    UnitOfMeasurement

    + + OTHER + 54 +

    + + @@ -6684,6 +6694,13 @@

    Value.Numeric

    + + other + Value.Numeric.Other + +

    + + unknown double @@ -6837,7 +6854,7 @@

    Value.Numeric.Flow

    Value.Numeric.FuelEfficiency

    -

    The value is a distance value, converted to your preferred distance unit.

    +

    The value is a fuel efficiency value, converted to your preferred fuel efficiency unit.

    @@ -6861,7 +6878,7 @@

    Value.Numeric.FuelEfficiencyValue.Numeric.Mass

    -

    The value is a volume value, converted to your preferred volume unit.

    +

    The value is a mass value, converted to your preferred mass unit.

    @@ -6884,6 +6901,13 @@

    Value.Numeric.Mass

    +

    Value.Numeric.Other

    +

    Known unit that is not (yet) supported.

    This could be a very specific value, like a counter,

    or something like energy in joules that is not available.

    + + + + +

    Value.Numeric.Percentage

    The value is a percentage.

    @@ -7514,87 +7538,95 @@

    Value.Numeric.Type

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + + diff --git a/docs/html/webhook.html b/docs/html/webhook.html index df92d01..86f5164 100644 --- a/docs/html/webhook.html +++ b/docs/html/webhook.html @@ -4598,6 +4598,12 @@

    UnitOfMeasurement

    + + + + + +
    PERCENTAGE1

    BATTERY_LEVEL11

    Battery level, as a percentage.

    TEMPERATURE2

    DISTANCE3

    Distance in metric or imperial units.

    DISTANCE3

    DURATION8

    Time period.

    PRESSURE4

    FLOW12

    Volume per time period.

    VOLTAGE5

    FUEL_EFFICIENCY9

    Fuel efficiency, e.g. mpg or l/100km.

    SPEED6

    MASS10

    Mass.

    VOLUME7

    OTHER15

    Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available.

    DURATION8

    PERCENTAGE1

    A percentage, typically 0-100%.

    FUEL_EFFICIENCY9

    PRESSURE4

    Pressure.

    MASS10

    RATE14

    Count per time period, e.g. the amount of items counted in a 24 hour window.

    BATTERY_LEVEL11

    ROTATION_SPEED13

    Speed that something rotates per time period, typically in revolutions per minute.

    FLOW12

    TEMPERATURE2

    Temperature.

    ROTATION_SPEED13

    SPEED6

    Speed, e.g. km/h.

    RATE14

    VOLTAGE5

    Voltage, e.g. mV.

    VOLUME7

    Volume, e.g. m³.

    OTHER54

    diff --git a/docs/md/asset.md b/docs/md/asset.md index 99c36d9..e8744a5 100644 --- a/docs/md/asset.md +++ b/docs/md/asset.md @@ -37,6 +37,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -384,6 +385,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -427,7 +429,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -435,12 +437,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -635,20 +644,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1403,6 +1413,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/asset_service.md b/docs/md/asset_service.md index b3573de..cd97d48 100644 --- a/docs/md/asset_service.md +++ b/docs/md/asset_service.md @@ -73,6 +73,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -779,6 +780,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -822,7 +824,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -830,12 +832,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -1030,20 +1039,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1798,6 +1808,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/assignment.md b/docs/md/assignment.md index 3d30531..48601a3 100644 --- a/docs/md/assignment.md +++ b/docs/md/assignment.md @@ -2829,6 +2829,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/certificate.md b/docs/md/certificate.md index b532b7a..cdb5ed0 100644 --- a/docs/md/certificate.md +++ b/docs/md/certificate.md @@ -926,6 +926,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/currentuser.md b/docs/md/currentuser.md index e9f51d5..1fb4a96 100644 --- a/docs/md/currentuser.md +++ b/docs/md/currentuser.md @@ -1434,6 +1434,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/device.md b/docs/md/device.md index 31a511c..4e7b4d6 100644 --- a/docs/md/device.md +++ b/docs/md/device.md @@ -49,6 +49,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -575,6 +576,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -618,7 +620,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -626,12 +628,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -826,20 +835,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1594,6 +1604,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/device_service.md b/docs/md/device_service.md index f3ddaea..d78772b 100644 --- a/docs/md/device_service.md +++ b/docs/md/device_service.md @@ -56,6 +56,7 @@ They have a unique device (previously modem) number, used to identify them. - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -597,6 +598,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -640,7 +642,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -648,12 +650,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -848,20 +857,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1616,6 +1626,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/device_type_service.md b/docs/md/device_type_service.md index e1893e3..df1611f 100644 --- a/docs/md/device_type_service.md +++ b/docs/md/device_type_service.md @@ -863,6 +863,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/email_notifications.md b/docs/md/email_notifications.md index c109c88..cd01f0a 100644 --- a/docs/md/email_notifications.md +++ b/docs/md/email_notifications.md @@ -945,6 +945,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/event.md b/docs/md/event.md index b318cc1..4c13e66 100644 --- a/docs/md/event.md +++ b/docs/md/event.md @@ -5966,6 +5966,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/export.md b/docs/md/export.md index 5056551..744121c 100644 --- a/docs/md/export.md +++ b/docs/md/export.md @@ -1083,6 +1083,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/field.md b/docs/md/field.md index 048a48a..d591dd2 100644 --- a/docs/md/field.md +++ b/docs/md/field.md @@ -28,6 +28,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -254,6 +255,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -297,7 +299,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -305,12 +307,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -505,20 +514,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1273,6 +1283,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/field_service.md b/docs/md/field_service.md index cf1b6b9..46b883f 100644 --- a/docs/md/field_service.md +++ b/docs/md/field_service.md @@ -117,6 +117,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -1370,6 +1371,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -1413,7 +1415,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -1421,12 +1423,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -1621,20 +1630,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -2389,6 +2399,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/health.md b/docs/md/health.md index ebd46a2..34909c4 100644 --- a/docs/md/health.md +++ b/docs/md/health.md @@ -1040,6 +1040,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/integration_mqtt.md b/docs/md/integration_mqtt.md index 2336d6c..10b8de6 100644 --- a/docs/md/integration_mqtt.md +++ b/docs/md/integration_mqtt.md @@ -1182,6 +1182,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/integration_slack.md b/docs/md/integration_slack.md index 0306859..ca8cbb7 100644 --- a/docs/md/integration_slack.md +++ b/docs/md/integration_slack.md @@ -1133,6 +1133,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/map.md b/docs/md/map.md index 65247d3..1f88d59 100644 --- a/docs/md/map.md +++ b/docs/md/map.md @@ -1205,6 +1205,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/message.md b/docs/md/message.md index 15121ce..78b07a9 100644 --- a/docs/md/message.md +++ b/docs/md/message.md @@ -1110,6 +1110,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/modem.md b/docs/md/modem.md index 0a8efb1..269abac 100644 --- a/docs/md/modem.md +++ b/docs/md/modem.md @@ -101,6 +101,7 @@ used to identify them. - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -1183,6 +1184,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -1226,7 +1228,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -1234,12 +1236,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -1434,20 +1443,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -2202,6 +2212,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/modem_alarm.md b/docs/md/modem_alarm.md index be1bc86..cd91112 100644 --- a/docs/md/modem_alarm.md +++ b/docs/md/modem_alarm.md @@ -1859,6 +1859,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/modem_message_body_parser.md b/docs/md/modem_message_body_parser.md index 639aca8..71c698b 100644 --- a/docs/md/modem_message_body_parser.md +++ b/docs/md/modem_message_body_parser.md @@ -1651,6 +1651,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/named_location.md b/docs/md/named_location.md index 75a344c..8f17907 100644 --- a/docs/md/named_location.md +++ b/docs/md/named_location.md @@ -988,6 +988,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/organization.md b/docs/md/organization.md index d831051..3a3e739 100644 --- a/docs/md/organization.md +++ b/docs/md/organization.md @@ -45,6 +45,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -471,6 +472,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -514,7 +516,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -522,12 +524,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -722,20 +731,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1490,6 +1500,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/publisher.md b/docs/md/publisher.md index b8412b4..bf47523 100644 --- a/docs/md/publisher.md +++ b/docs/md/publisher.md @@ -2148,6 +2148,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/role.md b/docs/md/role.md index 52e8da2..1a90702 100644 --- a/docs/md/role.md +++ b/docs/md/role.md @@ -882,6 +882,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/simulation.md b/docs/md/simulation.md index 53b6501..3a9e80c 100644 --- a/docs/md/simulation.md +++ b/docs/md/simulation.md @@ -28,6 +28,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -170,8 +171,8 @@ Contains a set simulation_interval for which each interval a simulation will be | Field | Type | Description | | ----- | ---- | ----------- | | values | [repeated double](#double) | | -| **optional** type | [optional hiber.value.Value.Numeric.Type](#hibervaluevaluenumerictype) | | -| **optional** unit | [optional hiber.UnitOfMeasurement](#hiberunitofmeasurement) | | +| type | [ hiber.value.Value.Numeric.Type](#hibervaluevaluenumerictype) | | +| unit | [ hiber.UnitOfMeasurement](#hiberunitofmeasurement) | | ### ValueSimulation.ValueRotation.Text @@ -236,6 +237,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -279,7 +281,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -287,12 +289,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -487,20 +496,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1255,6 +1265,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/simulation_service.md b/docs/md/simulation_service.md index c239989..0ec0fac 100644 --- a/docs/md/simulation_service.md +++ b/docs/md/simulation_service.md @@ -422,8 +422,8 @@ Contains a set simulation_interval for which each interval a simulation will be | Field | Type | Description | | ----- | ---- | ----------- | | values | [repeated double](#double) | | -| **optional** type | [optional hiber.value.Value.Numeric.Type](#hibervaluevaluenumerictype) | | -| **optional** unit | [optional hiber.UnitOfMeasurement](#hiberunitofmeasurement) | | +| type | [ hiber.value.Value.Numeric.Type](#hibervaluevaluenumerictype) | | +| unit | [ hiber.UnitOfMeasurement](#hiberunitofmeasurement) | | ### hiber.simulation.ValueSimulation.ValueRotation.Text @@ -1135,6 +1135,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/tag.md b/docs/md/tag.md index 06492a0..c4f038d 100644 --- a/docs/md/tag.md +++ b/docs/md/tag.md @@ -1074,6 +1074,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/testing.md b/docs/md/testing.md index d79a9b4..fe2ebc2 100644 --- a/docs/md/testing.md +++ b/docs/md/testing.md @@ -1236,6 +1236,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/token.md b/docs/md/token.md index fec36f2..c4c8f00 100644 --- a/docs/md/token.md +++ b/docs/md/token.md @@ -1102,6 +1102,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/transfer_service.md b/docs/md/transfer_service.md index 7a6649c..ba50d8d 100644 --- a/docs/md/transfer_service.md +++ b/docs/md/transfer_service.md @@ -1309,6 +1309,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/unit_preferences_service.md b/docs/md/unit_preferences_service.md index 5ad7515..f665a4f 100644 --- a/docs/md/unit_preferences_service.md +++ b/docs/md/unit_preferences_service.md @@ -47,6 +47,7 @@ - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -403,6 +404,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -446,7 +448,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -454,12 +456,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -654,20 +663,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. diff --git a/docs/md/user.md b/docs/md/user.md index 60b2603..30136e7 100644 --- a/docs/md/user.md +++ b/docs/md/user.md @@ -1242,6 +1242,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/value.md b/docs/md/value.md index 8cb9da4..15bd6be 100644 --- a/docs/md/value.md +++ b/docs/md/value.md @@ -18,6 +18,7 @@ - [Value.Numeric.Flow](#valuenumericflow) - [Value.Numeric.FuelEfficiency](#valuenumericfuelefficiency) - [Value.Numeric.Mass](#valuenumericmass) + - [Value.Numeric.Other](#valuenumericother) - [Value.Numeric.Percentage](#valuenumericpercentage) - [Value.Numeric.Pressure](#valuenumericpressure) - [Value.Numeric.Rate](#valuenumericrate) @@ -148,6 +149,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ Value.Numeric.Flow](#valuenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ Value.Numeric.RotationSpeed](#valuenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ Value.Numeric.Rate](#valuenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ Value.Numeric.Other](#valuenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -191,7 +193,7 @@ The value is a distance value, converted to your preferred distance unit. ### Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -199,12 +201,19 @@ The value is a distance value, converted to your preferred distance unit. ### Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ Value.Numeric.Mass.MassUnit](#valuenumericmassmassunit) | | +### Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### Value.Numeric.Percentage The value is a percentage. @@ -399,20 +408,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | ### Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1167,6 +1177,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/value_service.md b/docs/md/value_service.md index 690e971..08b3f89 100644 --- a/docs/md/value_service.md +++ b/docs/md/value_service.md @@ -59,6 +59,7 @@ Messages are parsed to a number of values (depending on the parser), which can b - [hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) - [hiber.value.Value.Numeric.FuelEfficiency](#hibervaluevaluenumericfuelefficiency) - [hiber.value.Value.Numeric.Mass](#hibervaluevaluenumericmass) + - [hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) - [hiber.value.Value.Numeric.Percentage](#hibervaluevaluenumericpercentage) - [hiber.value.Value.Numeric.Pressure](#hibervaluevaluenumericpressure) - [hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) @@ -616,6 +617,7 @@ If the value is numeric, this specifies the unit, value, etc. | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.flow | [ hiber.value.Value.Numeric.Flow](#hibervaluevaluenumericflow) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rotation_speed | [ hiber.value.Value.Numeric.RotationSpeed](#hibervaluevaluenumericrotationspeed) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.rate | [ hiber.value.Value.Numeric.Rate](#hibervaluevaluenumericrate) | | +| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.other | [ hiber.value.Value.Numeric.Other](#hibervaluevaluenumericother) | | | [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) **typed_value**.unknown | [ double](#double) | | | value | [ double](#double) | | | textual | [ string](#string) | Textual representation including unit symbol, rounded based on the user preferences and field config. | @@ -659,7 +661,7 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.FuelEfficiency -The value is a distance value, converted to your preferred distance unit. +The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. | Field | Type | Description | | ----- | ---- | ----------- | @@ -667,12 +669,19 @@ The value is a distance value, converted to your preferred distance unit. ### hiber.value.Value.Numeric.Mass -The value is a volume value, converted to your preferred volume unit. +The value is a mass value, converted to your preferred mass unit. | Field | Type | Description | | ----- | ---- | ----------- | | unit | [ hiber.value.Value.Numeric.Mass.MassUnit](#hibervaluevaluenumericmassmassunit) | | +### hiber.value.Value.Numeric.Other + +Known unit that is not (yet) supported. +This could be a very specific value, like a counter, +or something like energy in joules that is not available. + + ### hiber.value.Value.Numeric.Percentage The value is a percentage. @@ -867,20 +876,21 @@ Supported types will automatically convert to the preferred unit (based on the u | Name | Description | Number | | ---- | ----------- | ------ | | TYPE_UNKNOWN | | 0 | -| PERCENTAGE | | 1 | -| TEMPERATURE | | 2 | -| DISTANCE | | 3 | -| PRESSURE | | 4 | -| VOLTAGE | | 5 | -| SPEED | | 6 | -| VOLUME | | 7 | -| DURATION | | 8 | -| FUEL_EFFICIENCY | | 9 | -| MASS | | 10 | -| BATTERY_LEVEL | | 11 | -| FLOW | | 12 | -| ROTATION_SPEED | | 13 | -| RATE | | 14 | +| BATTERY_LEVEL | Battery level, as a percentage. | 11 | +| DISTANCE | Distance in metric or imperial units. | 3 | +| DURATION | Time period. | 8 | +| FLOW | Volume per time period. | 12 | +| FUEL_EFFICIENCY | Fuel efficiency, e.g. mpg or l/100km. | 9 | +| MASS | Mass. | 10 | +| OTHER | Known unit that is not (yet) supported. This could be a very specific value, like a counter, or something like energy in joules that is not available. | 15 | +| PERCENTAGE | A percentage, typically 0-100%. | 1 | +| PRESSURE | Pressure. | 4 | +| RATE | Count per time period, e.g. the amount of items counted in a 24 hour window. | 14 | +| ROTATION_SPEED | Speed that something rotates per time period, typically in revolutions per minute. | 13 | +| TEMPERATURE | Temperature. | 2 | +| SPEED | Speed, e.g. km/h. | 6 | +| VOLTAGE | Voltage, e.g. mV. | 5 | +| VOLUME | Volume, e.g. m³. | 7 | #### hiber.value.Value.Numeric.Voltage.VoltageUnit Unit of voltage. @@ -1635,6 +1645,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/docs/md/webhook.md b/docs/md/webhook.md index ff39b85..9294d36 100644 --- a/docs/md/webhook.md +++ b/docs/md/webhook.md @@ -1308,6 +1308,7 @@ Unit of measurement for a numeric value. | FLOW_CUBIC_FEET_PER_SECOND | | 50 | | REVOLUTIONS_PER_MINUTE | | 44 | | ITEMS_PER_24_HOURS | | 45 | +| OTHER | | 54 | ## Scalar Value Types diff --git a/simulation.proto b/simulation.proto index f8700ba..4748c84 100644 --- a/simulation.proto +++ b/simulation.proto @@ -60,8 +60,8 @@ message ValueSimulation { message Numeric { repeated double values = 1; - optional value.Value.Numeric.Type type = 2; - optional UnitOfMeasurement unit = 3; + value.Value.Numeric.Type type = 2; + UnitOfMeasurement unit = 3; } message Text { repeated string values = 1; diff --git a/value.proto b/value.proto index 8cfde61..fa3852a 100644 --- a/value.proto +++ b/value.proto @@ -38,20 +38,54 @@ message Value { */ enum Type { TYPE_UNKNOWN = 0; - PERCENTAGE = 1; - TEMPERATURE = 2; + + /* Battery level, as a percentage. */ + BATTERY_LEVEL = 11; + + /* Distance in metric or imperial units. */ DISTANCE = 3; - PRESSURE = 4; - VOLTAGE = 5; - SPEED = 6; - VOLUME = 7; + + /* Time period. */ DURATION = 8; + + /* Volume per time period. */ + FLOW = 12; + + /* Fuel efficiency, e.g. mpg or l/100km. */ FUEL_EFFICIENCY = 9; + + /* Mass. */ MASS = 10; - BATTERY_LEVEL = 11; - FLOW = 12; - ROTATION_SPEED = 13; + + /* Known unit that is not (yet) supported. + * This could be a very specific value, like a counter, + * or something like energy in joules that is not available. + */ + OTHER = 15; + + /* A percentage, typically 0-100%. */ + PERCENTAGE = 1; + + /* Pressure. */ + PRESSURE = 4; + + /* Count per time period, e.g. the amount of items counted in a 24 hour window. */ RATE = 14; + + /* Speed that something rotates per time period, typically in revolutions per minute. */ + ROTATION_SPEED = 13; + + /* Temperature. */ + TEMPERATURE = 2; + + /* Speed, e.g. km/h. */ + SPEED = 6; + + /* Voltage, e.g. mV. */ + VOLTAGE = 5; + + /* Volume, e.g. m³. */ + VOLUME = 7; } /* Special case for battery level, since it can be provided in many units. @@ -68,17 +102,6 @@ message Value { reserved 1,3,4; } - /* The value for rotation speed. The only value is revolutions per minute (RPM), therefore it is not included in - * unit preferences. - */ - message RotationSpeed { - enum RotationSpeedUnit { - REVOLUTIONS_PER_MINUTE = 0; // rpm - } - RotationSpeedUnit unit = 2; - reserved 1,3,4; - } - /* The value is a distance value, converted to your preferred distance unit. */ message Distance { /* Unit of distance */ @@ -99,7 +122,37 @@ message Value { reserved 1,3,4; } - /* The value is a distance value, converted to your preferred distance unit. */ + message Duration { + /* Unit of duration. */ + enum DurationUnit { + MILLISECONDS = 0; // ms + SECONDS = 1; // s + MINUTES = 2; // min + HOURS = 3; // h + DAYS = 4; // d + WEEKS = 5; // w + } + DurationUnit unit = 4; + google.protobuf.Duration duration = 1; + reserved 2,3,5; + } + + message Flow { + /* Unit of volume per time. */ + enum FlowUnit { + CUBIC_METER_PER_HOUR = 0; // m³/h + BARRELS_PER_DAY = 1; // bbl/d + CUBIC_METER_PER_SECOND = 2; // m³/s + CUBIC_FEET_PER_HOUR = 3; // ft³/h + CUBIC_FEET_PER_SECOND = 4; // ft³/s + LITER_PER_HOUR = 5; // l/h + LITER_PER_SECOND = 6; // l/s + } + FlowUnit unit = 2; + reserved 1,3,4; + } + + /* The value is a fuel efficiency value, converted to your preferred fuel efficiency unit. */ message FuelEfficiency { /* Unit of fuel efficiency */ enum FuelEfficiencyUnit { @@ -115,6 +168,24 @@ message Value { reserved 1,3,4; } + /* The value is a mass value, converted to your preferred mass unit. */ + message Mass { + /* Unit of mass. */ + enum MassUnit { + KILOGRAMS = 0; // kg + POUNDS = 1; // lb + } + MassUnit unit = 2; + reserved 1,3,4; + } + + /* Known unit that is not (yet) supported. + * This could be a very specific value, like a counter, + * or something like energy in joules that is not available. + */ + message Other { + } + /* The value is a percentage. */ message Percentage { /* Convenience type for percentage. Technically not a unit, but for consistency, we've added it here. */ @@ -139,6 +210,27 @@ message Value { reserved 1,3,4; } + message Rate { + enum RateUnit { + /* The amount of items counted in a 24 hour window. */ + ITEMS_PER_24_HOURS = 0; + } + RateUnit unit = 2; + uint32 value = 1; + reserved 3,4; + } + + /* The value for rotation speed. The only value is revolutions per minute (RPM), therefore it is not included in + * unit preferences. + */ + message RotationSpeed { + enum RotationSpeedUnit { + REVOLUTIONS_PER_MINUTE = 0; // rpm + } + RotationSpeedUnit unit = 2; + reserved 1,3,4; + } + /* The value is a speed value, converted to your preferred speed unit. */ message Speed { /* Unit of speed. */ @@ -190,57 +282,6 @@ message Value { reserved 1,3,4; } - /* The value is a volume value, converted to your preferred volume unit. */ - message Mass { - /* Unit of mass. */ - enum MassUnit { - KILOGRAMS = 0; // kg - POUNDS = 1; // lb - } - MassUnit unit = 2; - reserved 1,3,4; - } - - message Flow { - /* Unit of volume per time. */ - enum FlowUnit { - CUBIC_METER_PER_HOUR = 0; // m³/h - BARRELS_PER_DAY = 1; // bbl/d - CUBIC_METER_PER_SECOND = 2; // m³/s - CUBIC_FEET_PER_HOUR = 3; // ft³/h - CUBIC_FEET_PER_SECOND = 4; // ft³/s - LITER_PER_HOUR = 5; // l/h - LITER_PER_SECOND = 6; // l/s - } - FlowUnit unit = 2; - reserved 1,3,4; - } - - message Rate { - enum RateUnit { - /* The amount of items counted in a 24 hour window. */ - ITEMS_PER_24_HOURS = 0; - } - RateUnit unit = 2; - uint32 value = 1; - reserved 3,4; - } - - message Duration { - /* Unit of duration. */ - enum DurationUnit { - MILLISECONDS = 0; // ms - SECONDS = 1; // s - MINUTES = 2; // min - HOURS = 3; // h - DAYS = 4; // d - WEEKS = 5; // w - } - DurationUnit unit = 4; - google.protobuf.Duration duration = 1; - reserved 2,3,5; - } - Type type = 1; oneof typed_value { BatteryLevel battery_level = 11; @@ -257,6 +298,7 @@ message Value { Flow flow = 13; RotationSpeed rotation_speed = 16; Rate rate = 17; + Other other = 22; double unknown = 15; }