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

AwoX - set off does not switch off the LED but sets the brightness to 1 #19007

Closed
87insane opened this issue Sep 18, 2023 · 12 comments
Closed

AwoX - set off does not switch off the LED but sets the brightness to 1 #19007

87insane opened this issue Sep 18, 2023 · 12 comments
Labels
problem Something isn't working stale Stale issues

Comments

@87insane
Copy link

What happened?

See comments here: #18366 (comment)

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

@87insane 87insane added the problem Something isn't working label Sep 18, 2023
@julianfs
Copy link

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,
},

@87insane
Copy link
Author

can somebody here, try that? I think thats the way

@Hypfer
Copy link

Hypfer commented Sep 27, 2023

can somebody here, try that? I think thats the way

What about you as the author of the issue?

@87insane
Copy link
Author

iam on holliday without my hardware...

@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added the stale Stale issues label Oct 30, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2023
@87insane
Copy link
Author

Hey can somebody test this? I cant...

@Frans-Willem
Copy link

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 ?

@87insane
Copy link
Author

Hey - I think this can resolve our problem:
#19007 (comment)

But i cant test actually.

@kaigame
Copy link

kaigame commented Nov 25, 2023

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 :)

@kaigame
Copy link

kaigame commented Nov 27, 2023

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!!

@MarcR2000
Copy link

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

@mbbert
Copy link

mbbert commented Jan 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests

7 participants