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

Can Emotiscope provision WiFi creds to nearby units with the user's permission? #119

Open
connornishijima opened this issue Jul 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@connornishijima
Copy link
Collaborator

connornishijima commented Jul 3, 2024

Theory:

  • Your first Emotiscope has been added to the WiFi network
  • Your second Emotiscope still doesn't have the WiFi password
  • Because of this, it occasionally broadcasts a "EMOTISCOPE_PROVISION_REQUEST" message using ESP-NOW
  • Your first Emotiscope which already has WiFi creds hears this message
  • The connected Emotiscope broadcasts a WS packet to your app
  • This packet contains all mac addresses and types of Emotiscopes which have asked to join
  • The app notifies you of more Emotiscopes trying to join the network
  • You can either block or accept individual units, in the freak case where your upstairs neighbor is setting up their Emotiscope at the same time
  • To help identify which is which, you can tap an "identify" button next to each available Emotiscope
  • This causes the app to send a message back upstream to the ESP-NOW neighbor: "IDENTIFY"
  • The identified Emotiscope will briefly flash yellow on its screen.
  • Once accepted, your first Emotiscope quickly shares an encrypted copy of your WiFi creds over ESP-NOW to the neighboring device, which then attempts to join the network.
@connornishijima connornishijima added the enhancement New feature or request label Jul 3, 2024
@connornishijima connornishijima added this to the The Multiplayer Update milestone Jul 3, 2024
@connornishijima connornishijima self-assigned this Jul 3, 2024
@connornishijima connornishijima removed this from the The Multiplayer Update milestone Aug 31, 2024
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

1 participant