Commit Graph

136 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Christian Herzog
56a6fd6e55 prevent duplicate messages 2019-10-03 21:57:41 +02:00
Christian Herzog
6255c5809f proper error handling for all json posts 2019-10-03 21:20:56 +02:00
Christian Herzog
e2a6596cc2 error handling for autoexec1 2019-10-03 20:48:50 +02:00
Sebastien
39ab188e5d Resolve Jenkins build issues 2019-10-03 14:40:24 -04:00
Sébastien
d99460f7e5 Merge pull request #8 from sle118/Over_The_Air_Update
Over the air update
2019-10-03 14:22:46 -04:00
Christian Herzog
2d7aef57ef add FW search 2019-10-03 20:20:02 +02:00
Sebastien
b6f1ce9a7a NVS Refactor ** Factory+Squeezelite FLASH required for this branch!
This is a major refactoring of the nvs parameters storage. To support
this, a new partition was added. To start using this branch, one must
flash all binaries and possibly re-configure the system.
2019-10-03 14:15:59 -04:00
Christian Herzog
dfb7169564 only show 7 FW entries by default 2019-10-03 19:34:42 +02:00
Sebastien
4ca8bf2e76 Jenkins build fix 2019-10-02 16:48:53 -04:00