Humidifier Setpoint

A combined simplified setpoint list widget for controlling a humidifier and showing the current reading. The icon’s color changes based on the current humidity sensor Item’s value: > 45% purple, 30% to 45% blue, < 30% orange. The setpoint controls a separate Item to set the humidity below which the humidifier will turn on (implemented in a rule or by a binding). Dragging the slider will show the current setpoint number.

Changelog

Version 0.1

  • initial release

Resources

uid: rlk_humidifier_setpoint_list
tags:
  - list
  - humidifier
props:
  parameters:
    - description: Humidifier name
      label: Name
      name: name
      required: false
      type: TEXT
    - context: item
      description: Control Item
      label: Control Item
      name: control_item
      required: false
      type: TEXT
    - context: item
      description: Sensor Item
      label: Sensor Item
      name: sensor_item
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Feb 4, 2021, 10:54:03 AM
component: oh-slider-item
config:
  icon: f7:drop
  iconColor: '=(Number.parseInt(items[props.sensor_item].state) > 45) ? "purple" : (Number.parseInt(items[props.sensor_item].state) > 30) ? "blue" : "orange"'
  title: '=props.name + ": " + items[props.sensor_item].displayState'
  unit: "%"
  min: 0
  max: 100
  step: 1
  item: =props.control_item
  scaleSteps: 10
  scaleSubSteps: 5
  color: blue
  label: true