-
Notifications
You must be signed in to change notification settings - Fork 506
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
Philips RWL021 does not work since update to v2.27.0 #7783
Comments
The device have stoped to use DDF ? If you make right clic then "edit DDF" do you have this one https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/philips/rwl02_dimmer_switch.json on the DDF editor ? Perhaps similar too #7775 |
Hmm that's odd, I've checked with my test Hue dimmers, here the DDFs are assigned fine, on both Linux and Windows. @Rolf56 what was the previous deCONZ version from which you have updated? |
I have what looks like the same issue. RWL021 working on 2.26.3, broken after update to 2.27.0, working again after rolling back to 2.26.3. I did not attempt to debug, I just rolled back. |
I m checking both path, but it's the same used by the editor ? (with the error message) |
Oha opening a DDF JSON in the editor is a regression in v2.27.0 will be fixed soon. Do any of your devices show the "DDF" label on the top right of the node? I installed deCONZ as user and also as admin on my Windows setup to check if the paths could be a problem, but here it works just fine. I don't really understand what is the difference to your setup yet 🤔 |
I don't think this is Windows-specific or a permission issue, I'm seeing the same thing on Linux in the "deconz-community" docker container. |
there are no DDF labels at all I thinks issue #7775 has the same problem! It uses a Raspberry system. |
The LINUX CMake define was added in CMake 3.25, since the release is compiled with an older version the PL_LINUX wasn't defined. This caused DDF paths to only be resolved to the local DDF directory. Issues: dresden-elektronik/deconz-rest-plugin#7783 dresden-elektronik/deconz-rest-plugin#7785 dresden-elektronik/deconz-rest-plugin#7776 dresden-elektronik/deconz-rest-plugin#7775
Hi @Rolf56 after some testing another bug was found which hopefully is also the cause of trouble in your setup (but unclear since in your setup no DDFs at all were loaded). Can you please try version v2.27.2-beta http://deconz.dresden-elektronik.de/win/deCONZ_Setup_Win32_V2_27_02.exe |
Hi Manuel, thank you for your support. I have installed version v2.27.2-beta but I see no difference. |
Damn hoped that would also catch your issue.
The Debug view should then show logs from the start. |
The loading phase is not in the log, here the result from logs: 21:05:47:398 update ddf lumi.switch.n2aeu1 index 3 |
Hmm that looks like only the Draft DDFs are updated which are created when the existing ones aren't found. 🤔 To get the full log can you please download and start DebugView from Microsoft, it's a small log viewer utility showing everything deCONZ prints out. https://learn.microsoft.com/de-de/sysinternals/downloads/debugview Then please try the following: Open a Powershell Window in
The DebugView tool should now show a whole bunch more lines. Note I appended |
Here the output file of DebugView |
- Reduce noise in `--dbg-ddf` log output - More error logging while loading DDFs - Load raw JSON DDFs where manufacturer name constant can't be resolved This is for ongoing investigation of dresden-elektronik#7783
Thanks a lot, this gives much more insight now.
Sorry I have to bother you a bit more with creating logs since your setup is the only remaining one showing the load issue. Can you please repeat the DebugView step for a new log with attached version |
here the log file for above version |
Oh that's interesting, your system might not have MS vcruntime140 installed. It can be downloaded from: https://www.microsoft.com/de-de/download/details.aspx?id=48145 |
installing of MS vcruntime140 did not help. I tried it with a newer version found in: https://learn.microsoft.com/de-de/cpp/windows/latest-supported-vc-redist?view=msvc-170 file: https://aka.ms/vs/17/release/vc_redist.x64.exe but this does not help too. Do you have any ideas how to test the environment to see OpenSSL works? |
I have the same issue on macOS with v2.27.2 (since 2.27.0) and when I restart the app it work for a while and then later it stops. |
In that case it is different from the problem here, in @Rolf56 setup DDFs aren't loaded at all since somehow the SHA-256 hashing function used internally from OpenSSL doesn't load. Here a workaround is being made currently to not depend on OpenSSL for this. |
@Rolf56 here is a version which doesn't depend on OpenSSL for loading DDFs. Can you please give it a try: deCONZ_Setup_Win32_V2_27_02_5f8d1d.zip |
This version looks pretty good! I got some DDF labels as expcted and both Philips RWL021 are functioning! I took a log again, maybe you want to check if everithing works as designed. Mani thanks for your support! |
Ha nice thanks again for testing, this was a tricky one to debug. @aryelevin I'm closing this issue for now, and suggest to make a new one for the macOS case to not mix up too many things. |
Is there a PR comming after this to get it in the codebase? |
The code for the test versions above is already merged in dresden-elektronik/deconz-lib@aedf77f and will be available in v2.27.3-beta |
Does the issue really belong here?
Is there already an existing issue for this?
Describe the bug
This is almost the same issue as we had with versions v2.19.0-beta and v2.19.1 what I opend under #6461. It was fixed, but with v2.27.0 it occures again!
I already tried to reconnect the devices, this works an the deveces sends battery state and so on, but no button state (for example 4002)
Steps to reproduce the behavior
by pressing a button, the LED on the Dimmschalter lights up red, somtimes green or yellow.
Expected behavior
state should change, what not happen.
Screenshots
No response
Environment
deCONZ Logs
15:02:07:278 [INFO] - No button map for: RWL021, broadcast to: 0x0014, endpoint: 0x01, cluster: ONOFF (0x0006), command: ON (0x01), payload: None, zclSeq: 202
15:02:07:310 0x00158D0003CBE818: update ZCL value 0x01/0x000C/0x0055 after 0 s
15:02:07:313 [INFO] - No button map for: lumi.relay.c2acn01, unicast to: 0x0000, endpoint: 0x01, cluster: 0x000C, command: 0x0A, payload: 55003900BDE73C, zclSeq: 91
15:02:07:315 payload: 55003900bde73c
15:02:07:317 don't create binding for attribute reporting of sensor lumi.relay.c2acn01
15:02:07:319 don't create binding for attribute reporting of sensor lumi.relay.c2acn01
15:02:07:358 [INFO] - No button map for: RWL021, unicast to: 0x0000, endpoint: 0x02, cluster: 0xFC00, command: 0x00, payload: 0100003000210000, zclSeq: 201
15:02:07:470 [INFO] - No button map for: RWL021, unicast to: 0x0000, endpoint: 0x02, cluster: 0xFC00, command: 0x00, payload: 0100003002210100, zclSeq: 203
15:02:07:584 [INFO] - No button map for: lumi.relay.c2acn01, unicast to: 0x0000, endpoint: 0x01, cluster: 0x000A, command: 0x00, payload: 0000, zclSeq: 122
Additional context
No response
The text was updated successfully, but these errors were encountered: