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

Data point 'wlan' for switching all active FritzBox WLAN frequency bands (2.4/5.0GHz) does not work #395

Open
UrsKobler opened this issue Jun 29, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@UrsKobler
Copy link

Describe the bug
The datapoint 'wlan' for global switching of all activated WLAN frequency bands cannot be operated, although it is writable.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'objects'
  2. Click on 'tr-064.0.states.wlan'
  3. Set wlan to 'false'
  4. Nothing happens

Expected behavior
I expect that changing the datapoint 'tr-064.0.states.wlan' from true to false will turn off all frequency bands enabled in the FritzBox. This reaction should correspond to pressing the physical WLAN button on the FritzBox.

Screenshots & Logfiles
According to the published AVM documentation regarding the API for TR-064 Support-WLANConfiguration, with version 23 (23.03.2018, wlanconfigSCPD.pdf) the new interface X_AVM-DE_SetWLANGlobalEnable was implemented.

image

Versions:

  • Adapter version: 4.2.16
  • JS-Controller version: 4.0.23
  • Node version: v16.15.1
  • Operating system: linux debian, Release 11 (bullseye)

Additional context
The action 'X_AVM-DE_SetWLANGlobalEnable' specified by AVM reacts analogous to the FritzBox WLAN button operation and switches the globally enabled WLAN (2.4 GHz or 5.0 GHz).

With the following command according to the AVM specification, the MainWLAN can be switched off:

command:
setState('tr-064.0.states.command', '{"service": "urn:dslforum-org:service:WLANConfiguration:1","action": "X_AVM-DE_SetWLANGlobalEnable","params": {"NewX_AVM-DE_WLANGlobalEnable": 0}');

commandResult:
{}

With the following command according to the AVM specification, the MainWLAN can be switched on:

command:
setState('tr-064.0.states.command', '{"service": "urn:dslforum-org:service:WLANConfiguration:1","action": "X_AVM-DE_SetWLANGlobalEnable","params": {"NewX_AVM-DE_WLANGlobalEnable": 1}');

commandResult:
{}

@Apollon77 Apollon77 added the enhancement New feature or request label Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants