Commit Graph

51 Commits

Author SHA1 Message Date
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
philippe44
b62872ad78 BT & AP volume equalization, TAS5780 support 2019-11-23 19:04:59 -08:00
Sebastien
29242c63b9 Fix UI reboot to OTA/Recovery button - release 2019-11-20 14:56:06 -05:00
Sebastien
4369614bb4 Bug Fix: OTA now works from the Squeezelite app partition - release 2019-11-13 17:16:57 -05: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
9665e6485a Don't turn on AP mode if connect was initially a success. 2019-11-03 16:44:45 -05: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
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
sle118
2944f51eec Improve status.json 2019-10-08 20:29:32 -07:00
Sebastien
d2f17f5b05 Update status.json message format: add severity 2019-10-03 23:27:28 -04:00
Sebastien
24c473588a bug fixes 2019-10-03 16:00:43 -04:00
Sebastien
39ab188e5d Resolve Jenkins build issues 2019-10-03 14:40:24 -04: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
Sebastien
4ca8bf2e76 Jenkins build fix 2019-10-02 16:48:53 -04:00
Sebastien
ee0415dabf Improve OTA speed, fix status JSON buffer overflow 2019-10-02 16:04:41 -04:00
Sebastien
18f36b5433 Improve UI status handling during OTA 2019-10-02 12:16:10 -04:00
Sebastien
f3ae2f54a1 troubleshoot reboot-add traces to Wifi_Manager 2019-09-30 21:15:26 -04:00
Sebastien
4a79a39d3c Major refactoring. OTA Works now (yes, yes... really works! ) 2019-09-30 16:22:58 -04:00
Sebastien
0ab1cd438b Full OTA refactor and other stability improvement 2019-09-29 21:12:02 -04:00
Sebastien
17847a125c More OTA changes, new build target 2019-09-28 23:11:32 -04:00
Sebastien
e45ee97a43 Fix ota percent update for ui 2019-09-28 14:41:11 -04:00
Sebastien
7f5f7b55aa Minor changes to OTA and status 2019-09-28 13:23:41 -04:00
Sebastien
ae1a480029 OTA - redirection support + bootloader 2019-09-26 23:28:59 -04:00
Sebastien
46024a358e OTA werks... sort of! 2019-09-25 17:37:51 -04:00
Sebastien
c5fc6b8a81 nvs configuration fixes 2019-09-25 14:53:52 -04:00
Sebastien
53369475dc More OTA work 2019-09-25 12:02:59 -04:00
Sebastien
d7dc25f5b6 Merge remote-tracking branch 'origin/Over_The_Air_Update' into
Over_The_Air_Update

Conflicts:
	components/wifi-manager/http_server.c
	components/wifi-manager/wifi_manager.c
2019-09-23 00:19:18 -04:00
sleclerc
c01c33f72f more ota work-ota cmd line implemented-not tested 2019-09-22 22:04:08 -04:00
Sebastien
aa6366a51f More nvs parameter work 2019-09-22 10:40:37 -04:00
Sebastien
8aedca48a7 OTA Work in progress 2019-09-20 21:09:12 -04:00
Christian Herzog
c880f1e761 Merge branch 'WiFi-Manager' of https://github.com/philippe44/squeezelite-esp32 into WiFi-Manager 2019-09-17 21:11:38 +02:00
Christian Herzog
871ce36ee9 turn of JSON timers when wifi is connected 2019-09-17 21:10:05 +02:00
Sebastien
956ed6eaec OTA support - default base release when compiled from 2019-09-17 14:08:37 -04:00
Christian Herzog
46ee77e723 Wi fi manager (#14)
* build command line from website form

* fix autoexec1 length problem
2019-09-05 15:22:39 -04:00
Christian Herzog
5e34f65e5e autoexec config settings working (#10)
* autoexec config settings working

* small fixes

* working autoexec* saving
2019-09-01 16:45:28 -04:00