schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
331 stars 82 forks source link

Important issues #466

Closed valera39 closed 2 months ago

valera39 commented 4 months ago

Dear Wolle! I have some very important questions piling up for me, some of which I have asked before:

  1. Please fix the ability to select the volume of the alarm tone when waking up the radio.

  2. When idle for a long time in the sleep mode, the radio does not always wake up, it happens that the screen backlight slightly lights up, but there is no image and sound. Also sometimes when power is applied there is a similar situation, you have to turn the receiver on and off several times I will try to catch this moment in the monitoring log.

  3. Can I make it so that when the receiver wakes up the pre-selected station with a predetermined volume?

  4. Is the state of the bluetooth module is preserved at power off. I mean the state of the module, transmitter or receiver.

  5. The web page used to display the station name here, now it is missing. Безымянный

  6. The volume step is 21, is there no possibility to increase it to fine tune the sound? Thank you for your consideration and responsiveness!

valera39 commented 4 months ago

I forgot to add one more very important thing: on the latest version of ESP32-audioI2S library I don't play some streams, for example http://pub0302.101.ru:8000/stream/pro/aac/64/46. The log shows that there are no errors, but instead of sound there is noise, the volumeter stands still. I had to use version 3.0.11d Everything is fine with it.

steve6375 commented 4 months ago

You means it gains 7 minutes in 10 hours? Maybe wake it up every 10 minutes, get the time, and then it goes back to sleep?

valera39 commented 3 months ago

I don't want to speculate, but it looks like the sleep time issue has been resolved. I replaced the SD card with a new 16GB class 10 card. I also soldered all the connections between the card reader and the ESP32. I also removed the three pull-up resistors from the card reader board and now the sleep time is displayed correctly during the day, the menus on the display switch quickly. Sf69c81f3aca94d108b4fcad15d2917acr Perhaps my actions will be useful to someone in the future. I delete my previous comments and leave only questions to the respected Wolle and look forward to their answer. P.S The second question seems to be related to the SD card as well

schreibfaul1 commented 3 months ago

Many points, I'll start with the last one:

valera39 commented 3 months ago

Here is a screenshot of version 2 of the radio. Безымянный Here you can see that the line has the name of the station playing at the moment. On the alarm clock, which is more important to me: how to set the volume of the alarm clock? I have it when waking up plays constantly quiet, I changed the volume value in "settings.json" but the volume does not change. Could it be because I have both alarm clock and radio on when waking up? It would be nice if the volume step was 100 logarithmically for smooth adjustment. And also save BT values in "settings.json". And you didn't say anything about suggestion number 3. It would be very nice if it was possible.

valera39 commented 3 months ago

For the alarm clock, the following solution is logical: when you wake up, the alarm sound is played at a high enough volume to wake you up :) and then starts playing the previously selected station at the previously set volume.

schreibfaul1 commented 3 months ago

The station name and URL are now displayed correctly again

valera39 commented 3 months ago

Dear Wolle! Perhaps you don't have time or don't see my posts, but I'll allow myself to reiterate my concerns and wishes: Please fix the ability to select the alarm volume when the radio wakes up.

When staying in sleep mode for a long time, the radio does not always wake up, it happens that the screen backlight lights up slightly, but there is no picture or sound. Also sometimes when power is applied there is a similar situation, you have to turn the receiver on and off several times I will try to catch this moment in the monitoring log.

Is it possible to make it so that when the receiver wakes up the pre-selected station with a preset volume is turned on?

Make it possible to save the bluetooth module state in a json foil

Volume step 100, what should be changed to increase it?

schreibfaul1 commented 3 months ago

Hello valera39, an adjustable ringtone is coming. The issue that the radistation does not run when waking up has something to do with an error hostbyname() DNS fail for...., I wrote something about it in the Espressif Arduino forum. I have set a workaround that neutralizes the DNS problem, the wake-up should now work reliably. Now the last set volume is used when waking up. Volume levels up to 255 can be preset in the audioI2S lib. But I still have no idea how to implement this. What is still to come is a control of the display brightness by the ambient light, but only for the ESP32-S3. For this purpose, an I2C bus is used to query the BH170 sensor. The library for this is already available.

valera39 commented 3 months ago

Thanks for the reply, I'll wait for the update and test it out

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.