Skip to content

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

@connornishijima

Description

@connornishijima

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions