zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
749 stars 687 forks source link

[Device Support Request] OSRAM Switch-LIGHTIFY #324

Closed docgalaxyblock closed 4 years ago

docgalaxyblock commented 4 years ago

Is your feature request related to a problem? Please describe. This switch version is not yet supportet

Describe the solution you'd like Complete device support Primary buttons and secondary the battery (seems to report the voltage but HA says unknown)

Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line. https://pastebin.com/ZTE1nkrr

Additional context zha_event log pressing all buttons https://pastebin.com/Lm7W210A

dmulcahey commented 4 years ago

The device wasn’t removed. You need to press the remove device button on the device card in the ZHA config panel then press a button on the remote to wake it up. Wait about a minute then re-pair the device and attach the logs. The log should contain <SimpleDescriptor lines. If it doesn’t it wasn’t removed and re-paired correctly

docgalaxyblock commented 4 years ago

I've waited 5min between removing and adding it again... Will setup a VM and pair it there...then it should be ok

dmulcahey commented 4 years ago

Did you wake the remote up when removing it? It’s a battery powered device. You have to ensure it isn’t sleeping or it won’t remove

docgalaxyblock commented 4 years ago

ehm nope but I have reset the remote

dmulcahey commented 4 years ago

Yeah that’s not gonna remove the data from zigpy. Pair it, remove it while waking it up to make sure that it’s removed for real. Then pair it.

docgalaxyblock commented 4 years ago

After I successfully destroyed my ZHA I think I got it now right

dmulcahey commented 4 years ago

Yep paste looks good. I’ll take a look in a bit.

docgalaxyblock commented 4 years ago

@dmulcahey Do you know when this will be avaible in homeassistant?

dmulcahey commented 4 years ago

109

docgalaxyblock commented 4 years ago

@dmulcahey I updated top 109 today, still No quirk. (Removed it completely)

dmulcahey commented 4 years ago

Yeah I didn’t push an update into 109. Sorry about that.

docgalaxyblock commented 4 years ago

Can you bush it to next beta?

dmulcahey commented 4 years ago

Won’t be any betas until 110

docgalaxyblock commented 4 years ago

@dmulcahey Hi I got some problems regarding this device I have three bitron video power metering plugs that turn off if I press the down left button (button 2) What I have done:

dmulcahey commented 4 years ago

Did you directly bind them at any point?

docgalaxyblock commented 4 years ago

No I never touched the binding because I could not find any documentatin about it

but in my opinion they are binded because I removed the coordinator ram my main and my testinh HA and the switch turns them off. I could not understand why the switch turns all off. it should only act to the binded one right?

docgalaxyblock commented 4 years ago

Hi, it's an binding problem. I can remove the stick and it still switches the plug off. I don't know why the trigger because I did not bind them. It's a bit weird for me: if I connect them to a z2mqtt network I could switch the plugs off an on (the switch isn't supported by z2mqtt) if I connect them to ZHA I can only switch them off...

Greetings

docgalaxyblock commented 4 years ago

So I today got an conbee2 to play with and tested the Osram Switch again. The Switch talks directly to all devices, I connected a hue lamp to my ZHA and the unconfigured switch controlls the hole lamp (on/off, brightness, hue and color temp) So it is a switch bug, I will take a look to purchased an OSRAM Gateway to update the firmware. Zigbe2mqtt is not able to update this device more specifically the switch is not supported by Z2M

Edit 1: only pressing button 1 did not switch directly other devices but it is also the only button working at the automatisations assistant (holding button 1 also triggers directly other devices and is not usable at the assistant)

Edit 2: ATM button 1 is not working anythere...not with the assistant or directly

docgalaxyblock commented 4 years ago

Update: The device has some problems...

https://github.com/Koenkk/zigbee2mqtt/issues/962 https://github.com/Koenkk/zigbee-herdsman-converters/pull/1112 https://github.com/dresden-elektronik/deconz-rest-plugin/pull/2917

unromeo commented 4 years ago

Any updates on this issue ? The OSRAM switch mini is working without issues in zigbee2mqtt, they somehow managed to solve the problems they had with it. Only in ZHA, the broadcasting is still present. I migrated everything from zigbee2mqtt but this is the only device I am not able to use inside ZHA.

gnaggi commented 3 years ago

are there any news about it? Can't get OSRAM switch mini working in ZHA too.

floriandotorg commented 1 year ago

Is there any update on this? I just bought the switch and have this problem. @gnaggi, @unromeo could you find a solution? Thanks!

TheJulianJES commented 1 year ago

@floriandotorg Please create a new issue and fill-out the issue template.