Zum Inhalt springen

Blinkenpoi: Unterschied zwischen den Versionen

Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
Zeile 90: Zeile 90:
When we reach the end of the file we just set the filedescriptor to seek(0) and start over.
When we reach the end of the file we just set the filedescriptor to seek(0) and start over.


== User contributed Usage guid ==


pink: colour after starting the poi - press button now to ovverride the network setup - longpress leads to NETWORK RESET and 3x red blinking


white: connecting with previously configured network


==TODOs==
green: connected with configured network
The Webinterface is 95% done.


It works, but it needs some love especially warnings and feedback if you are about to delete or overwrite something.
yellow: Open Access Point on Blinkenpoi for setup


This functionality needs to be implemented in Javascript / jQuery


We need to add a fat Capacitor on the PCB
Reset Wifi-Setup:


We could add a second button
After starting, when LED is pink, press and hold the reset-button. Then the LED should flash red three times.


Maybe migrate everything to an ESP32 and port the firmware to MicroPython. ESP8266 is not sufficient for this Project + MicroPython
 
Connect Poi to your Wifi:
 
Connect the Poi via USB to your Computer.
Search for Blinkenpoi in the accessable networks.
Connect to it.
A captive portal is opened (browser popup).
If it does not open automatically open a browser and go to [http://192.168.4.1]
Choose Wifi-Setup in the menu and choose your wifi (for example the Hotspot of your Smartphone), enter the password and click "Save".
The poi should turn from yellow to green after a couple of seconds and turn dark on successful pairing to the hotspot.
 
Now, when you start the poi, the LED first flashes pink, then white and finally green and turns off again.
In your Wifi-Device/Smartphone open the Browser and enter blinkenpoi.local.
If your device does not support MDMS - which is the case for android - you have to enter the IP-Adress of your Poi.
If you don't know its IP address you can use nmap, look on the router or attach a usb cable and take a look on the terminal provided by the blinkenpoi.
for example '''screen /dev/tty.usbserial0 115200'''
or you could connect another computer that can resolve nDNS to your hostpot and open http://blinkenpoi.local in the browser