# Openhab2, Tasmota B1 Color Temperature Slider

**URL:** <https://community.openhab.org/t/openhab2-tasmota-b1-color-temperature-slider/71740>\
**Category:** Items & Sitemaps\
**Tags:** tasmota, light-b1, sonoff-b1\
**Created:** [April 4, 2019, 8:20pm UTC](https://community.openhab.org/t/openhab2-tasmota-b1-color-temperature-slider/71740 "2019-04-04T20:20:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![noppes123](https://community.openhab.org/user_avatar/community.openhab.org/noppes123/32/115976_2.png) [@noppes123](https://community.openhab.org/u/noppes123)\
**Post date:** [April 11, 2019, 3:26pm UTC](https://community.openhab.org/t/openhab2-tasmota-b1-color-temperature-slider/71740/3 "2019-04-11T15:26:08Z")

</div>

You defined the ‘kleurtemperatuur’ item as a standard dimmer, and that will not understand anything other than ON/OFF or a value between 0 (=OFF) and 100 (=ON) AFAIK. It is basically a percentage.

For most light bulbs that support color temperature like IKEA TRÄDFI or Philips/Signify Hue, there is support in the binding for color temperature. For instance, the Hue binding translate the value for color temperature to a value between 0=‘cold’ up to 100=‘warm’. This is not going to help your configuration as it communicates via a generic MQTT topic.

You could define the item as a `Number` and use `Setpoint` in the sitemap; may not be very user friendly. Also a ‘[proxy item](https://community.openhab.org/t/design-pattern-proxy-item/15991)’ could work, combined with a rule that converts values, or even a simple [transformation](https://www.openhab.org/docs/configuration/transformations.html#transformation-services) of values.  
It may be advisable to start creating predefined values (or ‘scenes’ as they are often called) to simplify the UI.

---

_[View the full topic](https://community.openhab.org/t/openhab2-tasmota-b1-color-temperature-slider/71740)._
