# Modbus Things

**URL:** <https://community.openhab.org/t/modbus-things/130989>\
**Category:** Items & Sitemaps\
**Created:** [January 1, 2022, 4:16pm UTC](https://community.openhab.org/t/modbus-things/130989 "2022-01-01T16:16:09Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![rossko57](https://community.openhab.org/user_avatar/community.openhab.org/rossko57/32/70263_2.png) [@rossko57](https://community.openhab.org/u/rossko57)\
**Post date:** [January 3, 2022, 10:53am UTC](https://community.openhab.org/t/modbus-things/130989/31 "2022-01-03T10:53:54Z")

</div>

If you want to use Number:Temperature type Item, ideally you would update it with temperatures - that is to say a quantity, a numeric _with_ units.  
Temperature 20 means nothing - you need 20°C.

You seem to be using Modbus gain profile, which allows you to specify a unit by hand (as Modbus itself does not understand any units)

> [@JS Transformation of Number:Power](https://community.openhab.org/t/js-transformation-of-number-power/126247/10):
>
> As an alternative solution that perhaps some people find less error prone: When it comes to scaling plain numbers from modbus and converting them to UoM (numbers with associated unit), you can use modbus:gainOffset profile. This can be also to write numbers to modbus (with units converted accordingly). Simply set the profile’s gain parameter to 24 W. There is a full example using textual config in docs: [Modbus - Bindings | openHAB](https://www.openhab.org/addons/bindings/modbus/#scaling-example)

Note that if you are changing unit types and editing profiles etc. in flight, it probably will not work properly until the next reboot. Set everything up how you want it, then reboot.

---

_[View the full topic](https://community.openhab.org/t/modbus-things/130989)._
