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

Aeotec smart switch 7 - cannot be switched #288

Open
snoep opened this issue Jan 8, 2023 · 5 comments
Open

Aeotec smart switch 7 - cannot be switched #288

snoep opened this issue Jan 8, 2023 · 5 comments

Comments

@snoep
Copy link

snoep commented Jan 8, 2023

Hi,
Recently bought the aeotec smart switch 7. It is recognized in the expert ui without any problems, though in 'control'switch menu, it is shown as a dimmable object. The switch on/off does not work, by using the switch it just disables the led. Openhab has seen the same problem, see https://community.openhab.org/t/aeotec-smart-switch-7/84932 though I have no clue what to change where in the xml file on the razberry to have the same fix.

I'm running a razberry 7 pro on software 4.02 and UI version 1.6.,2 . The firmware on the controller is SDK 7.17 and serial API version 7.21

Any suggestions how to fix this are very much appreciated,.

@snoep snoep changed the title Aeotec smart switch 7 Aeotec smart switch 7 - cannot be switched Jan 8, 2023
@PoltoS
Copy link
Member

PoltoS commented Jan 9, 2023

This is a bug in the device - they use SwitchBinary for on/off and SwitchMultilevel in the same channel for the LED. This is not allowed by the protocol.

You can check in Configuration ⇒ Interview ⇒ Expert Commands tab that the switch is controllable via SwitchBinary Set.

There are two ways to fix this bug:

  1. Make a Code device and use code from the Configuration ⇒ Interview ⇒ Expert Commands tab (there is a JS copy button)
  2. alter the NIF of the device (remove SwitchMultilelve) and press Force Interview - this will remove the SwtichMultilevel from the UI for that device.

Please give us your feedback on closing the issue.

@snoep
Copy link
Author

snoep commented Jan 9, 2023

Newbie here, I have no clue what to do where, apologies.
If in expert mode, click configuration = expert commands, I do not understand where to make a code device and what to copy.
when in interview per selected device, I can call for NIF, force interview, view interview result, select device description and generate zddx
I should be able to alter the NIF - if I would know where to find it. The thing I can do i generate ZDDX, but I have no clue to do what with the file.
From the generated ZDDX, the line with equals option 38 - the switch multilevel. But if I do remove that line, where do I store this file to have the device re-interviewed?

Thanks again.
Kind regards

@snoep
Copy link
Author

snoep commented Jan 11, 2023

Sorry, did not work. It is a smart switch 7, not a smart switch 6.
I entered the command for the related device, changed the ip to the host ip and the x twice to the device nr and the response is [94,85,34,152,159,108]. After that a force interview.
Switching off still switches off the led, not the switch.

@PoltoS
Copy link
Member

PoltoS commented Jan 12, 2023

You are right. This is because it is with the S2 security...

BTW, don't you see the same controls on channels? This device should have channels for the switch (№1) and for the color (№2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants