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

[Feature request] Add card trigger when a new client connects to wifi #48

Open
DagBertelsen opened this issue Nov 10, 2019 · 2 comments

Comments

@DagBertelsen
Copy link

DagBertelsen commented Nov 10, 2019

Is it possible to create a new when card that triggers when a new wifi client connects to the network for the first time?

I'm looking for a way to trigger an alert/flow for when a new client connects to the network that it hasn't seen before.

@mnederlof
Copy link
Owner

Feel free to provide some code to do this feature :)

@DagBertelsen
Copy link
Author

DagBertelsen commented Feb 13, 2020

I figured out this can probably be done by retrieving the token first_seen from the client.
This could be used in the existing flow Device just connected and passed as token. To be useful it should probably be in date and duration since now tokens?

Also found this where you can inspect the unifi api Unifi API browser

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