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

0.6.4 no longer updates clients status #672

Closed
pfanntec opened this issue Apr 3, 2023 · 9 comments
Closed

0.6.4 no longer updates clients status #672

pfanntec opened this issue Apr 3, 2023 · 9 comments

Comments

@pfanntec
Copy link

pfanntec commented Apr 3, 2023

I want to read the values of is_online, last_seen_by_uap and last_seen_by_usw.
I update every 60seconds.
In 0.6.4 after the first update cycle is_online only goes to false, although the client is online.
No errors in the logfile.

After a downgrade to version 0.6.3 everything works again.

Expected behavior
is_online is true if Client is online

Screenshots & Logfiles
log
0 6 4

Versions:

  • Adapter version: 0.6.4
  • JS-Controller version: 4.0.24
  • Node version: v16.16.0
  • Operating system: Debian11 (Bullseye)

Additional context
After a downgrade to version 0.6.3 everything works again.

@pacco81
Copy link

pacco81 commented Apr 4, 2023

Bei mir ist es genau so. Musste ebenfalls downgraden.

Node.js: v16.19.1
NPM: 8.19.3

@ingod68
Copy link

ingod68 commented Apr 8, 2023

Same here.
No "is_online" status for the clients.
0.6.3 works perfekt.

Node.js: v14.21.1
NPM: 6.14.17

@pafade89
Copy link
Contributor

Is the box checked and you currently whitelisted it without naming clients? If so, you have to uncheck the box and not enter anything, then you have the status as in version 0.6.3

image

Maybe it will solve the problem.

P

@ingod68
Copy link

ingod68 commented Apr 11, 2023

no, its unchecked and doesnt work.

ALL (~30) online-clients have status is-online=false

@pfanntec
Copy link
Author

Weird, I updated again to 0.6.4 and this time it works.
The "Change Blacklist to Whitelist" is disabled. I'm not sure if it was enabled the first time.
In version 0.6.3 this checkbox did not exist.
I will observe if it still works.
Thanks a lot.

@pafade89
Copy link
Contributor

Weird, I updated again to 0.6.4 and this time it works. The "Change Blacklist to Whitelist" is disabled. I'm not sure if it was enabled the first time. In version 0.6.3 this checkbox did not exist. I will observe if it still works. Thanks a lot.

That's right @pfanntec , this checkbox was added with 0.6.4.
See #651

@ingod68
Copy link

ingod68 commented May 21, 2023

Updating again doesnt work for me.
If i update to 0.6.4 all client-states "is_online" are false
"Change Blacklist to Whitelist" is disabled.

Downgrade to 0.6.3 and all works perfekt.

@ingod68
Copy link

ingod68 commented Jun 18, 2023

Ok, now 0.6.4 works for me.
The trick is : enable "Change Blacklist to Whitelist" first, restart adapter, then disable "Change Blacklist to Whitelist" and restart adapter again.

@pafade89
Copy link
Contributor

Hi @ingod68,
i created a pull request #685 and added the native configuration for the checkbox.
Please check in the next release if @jens-maus merges it.

Regards P

jens-maus added a commit that referenced this issue Jun 20, 2023
* (pafade89) fixed broken client status updates (#672)
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

5 participants