zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Dimmer range from min to max brightness ignored?

Open UsefulVid opened this issue 1 year ago • 7 comments

What happened?

I set the dimmer min and max range from min 10 to max 150. These values seem to be ignored. I am using HA and the values with the percent slider are always calculated as if 254 is the max value. In HA my slider is only working in the lower part and in the upper part it is of no use. TS0601_dimmer_5

What did you expect to happen?

I expected that I could dim precisely in the min and max range and not under or above.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.1

Adapter firmware version

7.3.1.0 build 176

Adapter

EZSP v12 Sonoff

Setup

Addon on HA

Debug log

2024-04-29 17:08:18.172 DEBUG (MainThread) [homeassistant.components.mqtt.models] Rendering incoming payload '{"brightness":55,"countdown":0,"light_type":"led","linkquality":188,"max_brightness":150,"min_brightness":15,"power_on_behavior":"off","state":"OFF","switch_type":"momentary"}' with variables {'entity_id': 'select.esstischlicht_switch_type', 'name': 'Switch type', 'this': <template TemplateStateFromEntityId(select.esstischlicht_switch_type)>} and Template<template=({{ value_json.switch_type }}) renders=505>

UsefulVid avatar Apr 29 '24 13:04 UsefulVid

I have the same problem with : Zigbee Model: TS0601 Zigbee Manufacturer: _TZE204_5cuocqty Description: Zigbee 1 channel Dimmer

Here is my z2m infos :

Zigbee2MQTT version: 1.40.1 403d3c0 Coordinator type: zStack3x0 Coordinator revision: 20240710

do you still have it?

Domochip avatar Sep 07 '24 13:09 Domochip

Yes problem still present

UsefulVid avatar Sep 07 '24 14:09 UsefulVid

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] avatar Dec 28 '24 00:12 github-actions[bot]

no stale please :)

UsefulVid avatar Dec 29 '24 15:12 UsefulVid

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 01 '25 00:03 github-actions[bot]

Still present

UsefulVid avatar Mar 01 '25 01:03 UsefulVid

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 01 '25 00:05 github-actions[bot]

Still present

vitalybibikov avatar Jun 03 '25 09:06 vitalybibikov

Issue still appears to be present. For a dimmer to work with a broad range of LED lights, having both the min and max values on a slider is pretty important.

Right now, only about around 65-150 out of the 0-255 range of my slider has any meaning.

qs-data avatar Jun 06 '25 22:06 qs-data