Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of brightness_step #96

Closed
7oku opened this issue Dec 29, 2022 · 3 comments
Closed

Usage of brightness_step #96

7oku opened this issue Dec 29, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@7oku
Copy link

7oku commented Dec 29, 2022

Link

https://www.zigbee2mqtt.io/devices/LED1842G3.html#ikea-led1842g3

Adapter version

2.4.5

What is missing or not working

According to the docs for ikea/hue bulbs we should be able to use brightness_step attribute to control brightness in a given step of an integer (either up like 40 or down with -40) through zigbee2mqtt. I would expect there to be an object in the object browser of iobroker, just like we find brightness and brightness_move here.

Is that object missing and/or is that supposed to be utilized in another way?

Device exposes

--->>> fromZ2M -> 0x14b457fffe44edf0 exposes: {"date_code":"20181203","definition":{"description":"TRADFRI LED bulb E27 WW clear 250 lumen, dimmable","exposes":[{"features":[{"access":7,"description":"On/off state of this light","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"},{"access":7,"description":"Brightness of this light","name":"brightness","property":"brightness","type":"numeric","value_max":254,"value_min":0}],"type":"light"},{"access":2,"description":"Triggers an effect on the light (e.g. make light blink for a few seconds)","name":"effect","property":"effect","type":"enum","values":["blink","breathe","okay","channel_change","finish_effect","stop_effect"]},{"access":7,"description":"Controls the behavior when the device is powered on","name":"power_on_behavior","property":"power_on_behavior","type":"enum","values":["off","previous","on"]},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"LED1842G3","options":[{"access":2,"description":"Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no transition).","name":"transition","property":"transition","type":"numeric","value_min":0}],"supports_ota":true,"vendor":"IKEA"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","touchlink"],"output":["genScenes","genOta","genPollCtrl","touchlink"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":["greenPower"],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Bad oben Retro Light","ieee_address":"0x14b457fffe44edf0","interview_completed":true,"interviewing":false,"manufacturer":"IKEA of Sweden","model_id":"TRADFRI bulb E27 WW clear 250lm","network_address":2628,"power_source":"Mains (single phase)","software_build_id":"2.3.093","supported":true,"type":"Router"}
@7oku 7oku added the device problem Data points or functionalities are missing label Dec 29, 2022
@o0shojo0o
Copy link
Contributor

Hi @7oku,

yes that's right brightness_step I haven't implemented in the adapter yet.
I'm looking into it, but can't tell you how long it will take me.

@o0shojo0o o0shojo0o added enhancement New feature or request and removed device problem Data points or functionalities are missing labels Dec 30, 2022
o0shojo0o added a commit that referenced this issue Dec 31, 2022
@o0shojo0o
Copy link
Contributor

Please test the dev branch: https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/tree/dev_%2396

@7oku
Copy link
Author

7oku commented Jan 1, 2023

Hey @o0shojo0o,

awesome, that was quite fast and works like a charm.
Closing the ticket!

@7oku 7oku closed this as completed Jan 1, 2023
o0shojo0o added a commit that referenced this issue Jan 2, 2023
-   (o0shojo0o) added option `Brightness step should also turn the light on or off`
-   (o0shojo0o) added handling of `brightness_step` ([#96](#96))
-   (o0shojo0o) states processing more flexible designed ([#94](#94))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants