Commit Graph

478 Commits

Author SHA1 Message Date
Sebastien
23a693fdeb More logging 2019-11-04 14:17:34 -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
f6d470d266 Merge branch 'nvs_parameters' of https://github.com/sle118/squeezelite-esp32.git into nvs_parameters 2019-11-01 09:50:15 -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
04b82e5bf6 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:49:51 -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
2f042d25a8 AirPlay fix: increase RECVMBOX_SIZE to 32 2019-10-29 17:28:30 -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
Sebastien
e4374f8554 New AP list implementation
- AP List now uses cJSON, which should be more robust than sprintf.
- Max number of access points reported now aligned with espressif's max.
- WiFi logs no longer suppressed by the wifi_manager
2019-10-28 15:04:08 -04:00
Christian Herzog
3a620748d7 prepare FW upload 2019-10-24 20:30:18 +02:00
Christian Herzog
fc1c0a4bd2 add update AP button 2019-10-20 11:07:00 +02:00
Christian Herzog
220f039be3 reenable status timer when rebooting 2019-10-20 10:53:35 +02:00
Christian Herzog
4e6720a8ec fix BT sample rate on sl command line for now 2019-10-19 20:13:51 +02:00
Sébastien
76433b9594 Update code.js 2019-10-17 15:10:33 -04:00
Sebastien
6cf04a3a83 Merge branch 'master' into nvs_parameters
# Conflicts:
#	.cproject
#	Makefile
#	README.md
#	components/cmd_nvs/cmd_nvs.c
#	components/cmd_system/cmd_system.c
#	components/cmd_system/cmd_system.h
#	components/driver_bt/CMakeLists.txt
#	components/wifi-manager/CMakeLists.txt
#	components/wifi-manager/Kconfig.projbuild
#	components/wifi-manager/code.js
#	components/wifi-manager/component.mk
#	components/wifi-manager/dns_server.c
#	components/wifi-manager/dns_server.h
#	components/wifi-manager/http_server.c
#	components/wifi-manager/http_server.h
#	components/wifi-manager/index.html
#	components/wifi-manager/style.css
#	components/wifi-manager/wifi_manager.c
#	components/wifi-manager/wifi_manager.h
#	main/CMakeLists.txt
#	main/console.c
#	main/esp_app_main.c
#	sdkconfig.defaults
2019-10-17 12:45:26 -04:00
Sebastien
9f88945677 Fix Vorbis bug on partial decode (affects spotty playback) 2019-10-16 17:44:45 -04:00
Sebastien
cf5ee95adf Apply volume correction factor for Bluetooth sink. 2019-10-16 17:08:05 -04:00
Sebastien
0a4a6b16c3 fix squeezelite startup toggle 2019-10-16 11:20:33 -04:00
Sebastien
51a3fbcef0 Stabilize HTTP server, change logging 2019-10-16 10:57:37 -04:00
Sebastien
d4315f29ca OTA + nvs parameters bug fixes 2019-10-15 21:01:22 -04:00
sle118
47f24dbbfd cJSON stability WIP - nobuild 2019-10-15 14:10:19 -07:00
Christian Herzog
ffe08ba868 reorder FW fields 2019-10-10 21:36:33 +02:00
Christian Herzog
63b1f1bcdb rearrange menu items 2019-10-10 20:28:11 +02:00
Thomas Preece
b1f234d460 Added in better build instructions. Added script for generating documentation and scripts to add to release zip. (#12)
* Added in build instructions for recovery + squeezelite. Added script for
generating documentation and scripts to add to release zip.

* Updated README

* More cleanup to README
2019-10-09 23:24:53 -07:00
Christian Herzog
9e44a4f1a9 increase buffer 2019-10-09 19:31:27 +02:00
sle118
2944f51eec Improve status.json 2019-10-08 20:29:32 -07:00
Christian Herzog
8e3e2fdee8 rename 'System' to 'Firmware' 2019-10-08 21:00:27 +02:00
Christian Herzog
93f8560a74 sort entries in nvs editor 2019-10-08 20:43:29 +02:00
Christian Herzog
0996cad1ac better credits 2019-10-08 20:42:39 +02:00
Christian Herzog
5c8f57a95c only show message on real error 2019-10-06 15:26:24 +02:00
Sébastien
372dcb1640 align non-ota build 2019-10-05 14:20:33 -04:00
Christian Herzog
f3d87d6d11 fix setting autoexec1 2019-10-05 13:34:22 +02:00
Christian Herzog
5a29b84a1c fix broken autoexec toggle 2019-10-05 12:51:11 +02:00
Christian Herzog
49d7e74c55 populate UI dhcp name from config.json 2019-10-05 12:34:56 +02:00
Christian Herzog
6014f115fa damn typo 2019-10-05 12:17:44 +02:00
Christian Herzog
75c2061fea UI input for dhcp host name 2019-10-05 11:42:45 +02:00
Christian Herzog
550b5fbf18 make UI more intuitive 2019-10-05 11:19:05 +02:00
Christian Herzog
ed18b4a8ce color message popup 2019-10-05 10:44:59 +02:00
Christian Herzog
2f8d5759f4 send config as JSON 2019-10-04 18:43:56 +02:00
Sebastien
7629009084 Merge remote-tracking branch 'origin/Over_The_Air_Update' into nvs_parameters 2019-10-04 06:57:23 -04:00
Sebastien
d2f17f5b05 Update status.json message format: add severity 2019-10-03 23:27:28 -04:00
Sebastien
aa81f39712 Bug fix: rebooting to squeezelite now works 2019-10-03 22:45:46 -04:00
Sebastien
5cf92a40f7 Resolve heap memory issue on squeezelite commandline with quotes 2019-10-03 17:09:17 -04:00
Sebastien
24c473588a bug fixes 2019-10-03 16:00:43 -04:00