Closed 87insane closed 1 year ago
You may need to try an external converter to include the line 'meta: {turnsOffAtBrightness1: true},', as used in this definition for an INNR bulb:
{
zigbeeModel: ['RCL 240 T'],
model: 'RCL 240 T',
vendor: 'Innr',
description: 'Smart round ceiling lamp comfort',
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 454]}),
meta: {turnsOffAtBrightness1: true},
ota: ota.zigbeeOTA,
},
can somebody here, try that? I think thats the way
can somebody here, try that? I think thats the way
What about you as the author of the issue?
iam on holliday without my hardware...
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Hey can somebody test this? I cant...
Did some research on this, it appears Awox did not properly implement the "Move to Level with On/Off" command, as in it doesn't properly turn off when asked to go to level 0. Sending the "Off" command of the "On/Off" cluster does work, and could be a workaround, although I'm not sure how to implement this properly.
Can I un-stale this issue ?
Hey - I think this can resolve our problem: https://github.com/Koenkk/zigbee2mqtt/issues/19007#issuecomment-1725871948
But i cant test actually.
I'll happily test this, but i'm no external converter expert, the config will need to be modified to support the Awox light, and there should be more lines of code than this no?
Please forgive my ignorance :)
const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const exposes = require('zigbee-herdsman-converters/lib/exposes'); const reporting = require('zigbee-herdsman-converters/lib/reporting'); const extend = require('zigbee-herdsman-converters/lib/extend'); const e = exposes.presets; const ea = exposes.access;
const definition = { zigbeeModel: ['EGLO_ZM_RGB_TW'], model: '900024/12253', vendor: 'EGLO', description: 'SALITERAS-Z ceiling light', extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370], supportsHueAndSaturation: true}), meta: {turnsOffAtBrightness1: true}, };
module.exports = definition;
This seems to work for me, description is a bit off so might change that.
Can confirm that lights turn off with this added and the lights re-paired.
Thanks!!
I have a similar issue... Will there be a fix or do I need to workaround?
What happened? When you turn the brightness of AwoX22955 to zero, it does not switch off but stays on lowest brightness level. Device only switches off when on/off toggle is pressed.
This is would it looks like after tuning to 0 (no on/off toggle pressed)
topic 'zigbee2mqtt/Eglo_Panel_1', payload '{"brightness":0,"color_mode":"color_temp","color_temp":256.68,"color_temp_startup":65535,"device":{"applicationVersion":2,"friendlyName":"Eglo_Panel_1","hardwareVersion":60,"ieeeAddr":"0xa4c13823a657eeb0","manufacturerID":4417,"manufacturerName":"AwoX","model":"33955","networkAddress":33719,"powerSource":"Mains (single phase)","softwareBuildID":"2.3.12_250","stackVersion":1,"type":"Router","zclVersion":3},"linkquality":94,"power_on_behavior":"previous","state":"OFF"}'
So it does "think" it's off, but actually it isn't.
After toggling ON/OFF it looks like this...
topic 'zigbee2mqtt/Eglo_Panel_1', payload '{"brightness":254,"color_mode":"color_temp","color_temp":256.68,"color_temp_startup":65535,"device":{"applicationVersion":2,"friendlyName":"Eglo_Panel_1","hardwareVersion":60,"ieeeAddr":"0xa4c13823a657eeb0","manufacturerID":4417,"manufacturerName":"AwoX","model":"33955","networkAddress":33719,"powerSource":"Mains (single phase)","softwareBuildID":"2.3.12_250","stackVersion":1,"type":"Router","zclVersion":3},"linkquality":91,"power_on_behavior":"previous","state":"OFF"}'
... and is actually switched off
What did you expect to happen? Switch off on brightness 0
How to reproduce it (minimal and precise) Happens always when tuning to 0 brightness instead of ON/OFF toggle
Zigbee2MQTT version 1.34.0
Adapter firmware version 20220507
Adapter USB Stick CC2652P Sonoff
I got the same issue after upgrading from firmware version 2.2.10 to 2.7.3 (HW version 4.60). Before the upgrade, turning off the lamp was possible. I did the update due to the warning about degraded network performance, and I noticed that the device was reporting it's status every couple of seconds.
I tried to add meta: {turnsOffAtBrightness1: true},
to a custom definition after creating it as described here.
But this didn't work for me, or I did something wrong. Here is my file:
const {light} = require('zigbee-herdsman-converters/lib/modernExtend');
const definition = {
zigbeeModel: ['TLSR82xx'],
model: 'TLSR82xx',
vendor: 'AwoX',
description: 'Automatically generated definition',
extend: [light({"colorTemp":{"range":[153,370]}})],
meta: {turnsOffAtBrightness1: true},
};
module.exports = definition;
But if you add the device to a group, and send {"state": "OFF"}
to the group, the device actually turns off. This might be a work-around for this issue.
What happened?
See comments here: https://github.com/Koenkk/zigbee2mqtt/discussions/18366#discussioncomment-6595176
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.33.0 commit: f224ef7
Adapter firmware version
0x26580700
Adapter
ConBee2/RaspBee2
Debug log
No response