Esp8266 auth: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
Zeile 26: Zeile 26:
 
Use esptool in python to flash firmware on esp. <br>
 
Use esptool in python to flash firmware on esp. <br>
 
Press flash button and reset and then release first reset button to get in flash mode <br>
 
Press flash button and reset and then release first reset button to get in flash mode <br>
Flash command für precompiled: [[Datei:Esp8266-firmware.zip] : <br>
+
Flash command für precompiled: [[Datei:Esp8266-firmware.zip] <br>
 
<code> esptool.py -p /dev/tty<SERIALPORT> write_flash 0x00000 0x00000.bin 0x10000 0x10000.bin</code>
 
<code> esptool.py -p /dev/tty<SERIALPORT> write_flash 0x00000 0x00000.bin 0x10000 0x10000.bin</code>
  

Version vom 14. April 2016, 16:31 Uhr

WHAT

ESP 8266 based authentication system used in various things @ metalab.at

Source code is found on github

What exactly?

  • Scannerroom
  • Elektronikkammerl


Command Features

  • add User IButton via learning Mode
  • List saved Users
  • delete Users <-- NEW


How

Take an ESP8266 module

Flash the NodeMCU LUA firmware github -- precompiled: Datei:Esp8266-firmware.zip

Upload the files.

How to flash firmware

Use esptool in python to flash firmware on esp.
Press flash button and reset and then release first reset button to get in flash mode
Flash command für precompiled: [[Datei:Esp8266-firmware.zip]
esptool.py -p /dev/tty<SERIALPORT> write_flash 0x00000 0x00000.bin 0x10000 0x10000.bin

Todo

  • Add schematics of current setups for elektrinkkammerl and scannerraum
  • Add more doku on how to flash and import the scripts
  • Design a breakoutboard with standardized connectors for I-button, and relays