void setup() { SPIFFS.remove("/pwd.txt"); // remover here after reboot
the pwd will be erased and after reboot change ist back to
void setup() { // SPIFFS.remove("/pwd.txt"); // alte datei löschen , remover here after reboot
The problem with many web radios is that they operate like small computers. The goal here is to build a web radio that can be used
like a normal radio
, but can also be used with a
web interface
at the same time.
To make this possible, a potentiometer was chosen. You can connect this to a dial drive in a radio, or overlook it with a button.
Each station is therefore assigned to a certain position of the potentiometer.
In order to ensure a proper coordination, there is an electronic lock addet.
The station data can be predefined in the source code or (later) changed via FTP or a WEB interface.
more
screenshots here :
https://sourceforge.net/projects/esp32-radio-with-analog
Properties
- Analog tuning
- Up to 3 AP access data
- Web interface for control and administration
- WIFI scanner
- Playback buffer
- Autoreconnect, in case of buffer underflow
- FTP access
Initial installation
If no WIFI data are available, an access point is set up.
data :SSID: WEB RADIO IP: 192.168.4.22
IP: 192.168.4.22
It may be that the device starts again (must see where the error is), so (if necessary), wait until the radio has resstarted.
Flash codes:
Slow: Try a WIFI connection (3 different).Slow flashing
: device creates, an access point and waiting for connection.
Fast
flashing: Once connected, the device can be accessed via FTP or browser.
Attention, if you change the data on the web interface,
you have to press the send button,
which is available next to the fields.
For the station list, the save button for the station list must then be pressed.
As soon as a new url is entered, the radio tries to reach it so you can see if everything is OK.
For the WIFI data´s, you nedd only press send button, the data will be saved immediately.
If
you like, please help me to make it better. Any suggestions ?
Comments