Skip to content

jacobalberty/esp8266-find-passive

Repository files navigation

esp8266-find-passive

About

This is an attempt at a find-lf source using a single esp8266. It is based on code from esp8266mini-sniff.

Dependencies

Usage

To use this you will will need to install all of the dependencies. Currently the public servers DO NOT work as this does not yet support https. In the arduino IDE select a flash size that includes at least 32k spiffs. compile and upload using the Arduino IDE. If you do not have any valid wireless settings saved yet WiFiManager will launch, you simply look for an SSID named "ESP" followed by a bunch of numbers, connect to it and the captive portal will guide you through connecting, be sure to change the find server and group as the public servers do not currently work since we don't (yet) support https.

Todo

  1. HTTPS support
    • An alternative would be to use MQTT if a passive scan submission endpoint is added on the MQTT side of things.
  2. Clean up code
    • Too many global variables
  3. Speed up wifi connection
    • Use static ip for reconnecting
    • Maybe use dhcp for initial connect and save ip address to reconnect
    • If using static ip will need to figure out some way to fail if the ip is lost
  4. Improve sniffer.
    • Right now the sniffer is just esp8266mini-sniff and approximately every 10 seconds we empty out its array to push to the server
    • Ideally we would use a sniffer written specifically to interface with the FindPassive class, this would require some extensions to FindPassive
      • The ability to delete old data
      • The ability to see if a client is already listed.
  5. OTA update support?
    • Need to stay under 468KB if I want OTA support
    • Possibly allow ota only on initial boot since this device won't be connected to wifi much and downtime isn't ideal during regular use.

About

3rd party find-lf data source using an esp8266

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published