Commit Graph

376 Commits

Author SHA1 Message Date
philippe44
49b9700e6d adding telnet 2020-02-03 13:48:19 -08:00
philippe44
dfebb8ceb6 Add set_GPIO, handle GPIO 36/39 bug 2020-02-01 01:56:06 -08:00
Sebastien
0cdb34032e more attempts to support automatic redirection on connect 2020-01-23 18:01:25 -05:00
Sebastien
5b1abf0fc9 httpd wip 2020-01-22 19:49:20 -05:00
Sebastien
b680999e62 Merge branch 'master' into httpd
Conflicts:
	components/wifi-manager/http_server.c
	components/wifi-manager/wifi_manager.c
	main/config.c
	main/config.h
2020-01-22 15:13:18 -05:00
Christian Herzog
6b52cf5c15 fully hide dummy iframe 2020-01-15 19:19:54 +01:00
philippe44
0fccfa27dd very basic patch to receive HTTP session > MTU
while waiting to HTTPD
2020-01-11 18:29:44 -08:00
Christian Herzog
886676df88 show jack status 2020-01-11 17:26:29 +01:00
philippe44
450943735b add display + some refactoring 2020-01-10 12:32:50 -08:00
philippe44
daef63fdea more refactoring
- jack & led moved to services
- output_i2s subscribes to jack detection
- add user-defined debounce timer to buttons
2020-01-08 19:09:53 -08:00
philippe44
26ecdf60d9 refactor services, increase max sockets - release 2020-01-06 16:08:15 -08:00
philippe44
d301a2d9df JACK_LEVEL correction for real 2020-01-04 13:34:55 -08:00
philippe44
aa6aed2164 correct JACK_GPIO 2020-01-04 13:32:31 -08:00
Christian Herzog
b268d2e8b0 show current output 2019-12-31 18:52:57 +01:00
Christian Herzog
2a6e39b590 better battery readability 2019-12-31 15:47:25 +01:00
Christian Herzog
5f9848dad1 use inline multilayer battery SVG 2019-12-28 15:50:39 +01:00
Christian Herzog
92a673bccc no hyphens in filenames.. 2019-12-27 21:06:51 +01:00
Christian Herzog
b6aa4b684f embed and server battery icons 2019-12-27 20:48:11 +01:00
Christian Herzog
992c8d2679 add battery indicator 2019-12-27 20:31:09 +01:00
Sebastien
87255733a5 WIP httpd - saving current work. likely won't compile right now! 2019-12-12 11:33:58 -05:00
Sebastien
08a4a73b53 Merge remote-tracking branch 'origin/master' into httpd 2019-12-03 16:07:40 -05:00
sle118
4b3fab563a wip httpd implementation 2019-12-03 09:29:24 -05:00
Christian Herzog
71f9f82270 allow spaces in player name 2019-12-02 19:32:35 +01:00
Sebastien
583f8249cb WIP - migration to httpd 2019-11-26 08:29:38 -05:00
Sebastien
3929f3e809 Work in progress - move to httpd 2019-11-26 08:29:19 -05:00
philippe44
c40d805b44 BT does not need resample setting - release
was more a way to force release ...
2019-11-24 21:36:48 -08:00
philippe44
b62872ad78 BT & AP volume equalization, TAS5780 support 2019-11-23 19:04:59 -08:00
Christian Herzog
459d6fe208 fix DHCP host name population 2019-11-23 20:41:24 +01:00
Christian Herzog
603c846823 prepare FW upload 2019-11-23 20:09:09 +01:00
Sebastien
29242c63b9 Fix UI reboot to OTA/Recovery button - release 2019-11-20 14:56:06 -05:00
Sebastien
676a90ac33 EXPERIMENTAL OTA REFACTOR - release 2019-11-19 22:08:32 -05:00
Sebastien
e02987f8df OTA Fine tuning - release 2019-11-16 00:37:33 -05:00
Sebastien
e493949241 the system can now be accessed via its host name as configured in nvs 2019-11-13 17:46:17 -05:00
Sebastien
4369614bb4 Bug Fix: OTA now works from the Squeezelite app partition - release 2019-11-13 17:16:57 -05:00
philippe44
62530b60f9 move HTTP server stack in SPIRAM 2019-11-07 20:51:19 -08:00
Sebastien
e9ba659b4f Refactor configuration. needs new recovery image! -- release
In order to use this new release, it is recommended to erase the flash
and replace the recovery partition with one that is at least at this
level.
2019-11-07 14:00:16 -05:00
Sebastien
cdbb198d8a enhancement: new "config" module to access configuration in RAM
This is to allow moving some tasks/stack memory to SPIRAM, saving on
precious IRAM. HTTP server should also be more responsive.
2019-11-06 23:31:13 -05:00
Sebastien
114d507e3f Added taskYield after wifi start 2019-11-04 15:01:56 -05:00
Sebastien
512c7d7722 Even more more logs. Removed references to the old wifi-manager struct 2019-11-04 14:46:51 -05:00
Sebastien
21ae78f499 Even more logging 2019-11-04 14:33:14 -05:00
Sebastien
260fcc54fe Add more logging 2019-11-04 13:19:24 -05:00
Sebastien
9665e6485a Don't turn on AP mode if connect was initially a success. 2019-11-03 16:44:45 -05:00
Sebastien
4df1698722 Enhancement: add reboot button to nvs editor
The nvs editor will now allow rebooting to the currently active
partition
2019-11-01 10:18:41 -04:00
Sebastien
9c9fe3e0bf fix boot loop caused by competing wifi_manager and cmd_wifi
It is now possible to set a default autoexec command to automatically
join wifi when wifi_manager is disabled. To test wifi stability without
wifi_manager, use the following commands:

nvs_set bypass_wm str -v "1"
nvs_set autoexec str -v "1"
nvs_set autoexec1 str -v "squeezelite -o I2S -b 500:2000 -d all=info -m
nvs_set autoexec2 str -v "join <ssid> <password>"
ESP32"
restart

Note that squeezelite occupies the "autoexec1" slot to avoid conflicts
with the wifi manager web configuration page when it is re-enabled. To
re-enable the wifi-manager, use the following commands:

nvs_set bypass_wm str -v "0"
restart

--
Additional change:  Credits page now has a button to enable the nvs
editor even in ota mode
2019-11-01 09:50:05 -04:00
Sebastien
2ed8b50fbe allow bypassing the wifi manager
to disable wifi manager, use command:  nvs_set bypass_wm str -v "1"
to enable wifi manager, use command:  nvs_set bypass_wm str -v "0"
2019-10-31 17:42:45 -04:00
Sebastien
9f3f9bfbd2 Fix: don't delete AP details when connect fails. 2019-10-31 16:57:38 -04:00
Sebastien
8af0330f61 complete wifi-manager refactor. WIP. needed: make erase_flash.
This is NOT compatible with previous binaries.  Make sure that the
squeezelite binary used is in line with that recovery partition.
2019-10-31 16:20:14 -04:00
Sebastien
113e7be398 stability improvements 2019-10-29 19:02:40 -04:00
Sebastien
eb4a97a98c Improve WiFi connection management. 2019-10-29 17:13:47 -04:00
Sebastien
ec293f8258 Fix reboot caused by starting scan while wifi is connecting. 2019-10-28 23:24:14 -04:00