Commit Graph

30 Commits

Author SHA1 Message Date
Raomin
ce8929fd39 add spiffs size + formatting 2020-05-23 23:12:11 +02:00
rjwats
bcb1098402
Make StatefulService buffer size configurable (#118)
Introduce DEFAULT_BUFFER_SIZE for StatefulService related classes
Add configurable buffer sizes for StatefulService related classes
Remove redundant function from HttpEndpoint
2020-05-22 19:26:12 +01:00
rjwats
4fa491e309
adopt explicit initialization - with the exception of trivial classes (#122) 2020-05-21 23:41:29 +01:00
rjwats
db0d98d425
Extend Status (#121)
* Added Sdk Version and ~heap fragmentation to system page
* Add flash chip speed to status page

Co-authored-by: kasedy <kasedy@gmail.com>
2020-05-21 22:52:07 +01:00
kasedy
13f97b630f
Fixed currentUpdatedHandlerId variable appearing multiple times in several build units. (#120)
* Fixed currentUpdatedHandlerId variable appearing multiple times in several build units
2020-05-21 20:55:22 +01:00
rjwats
0e2124062f
Use references & flash strings where approperate (#110)
* pass originId as const reference
* store strings for serial logging in flash
* Use string references where approperate.
2020-05-21 08:42:21 +01:00
kasedy
4e6823ceec
Fixed crash due to uninitialized variable (#116)
* Fixed crash due to uninitialized variable "Fatal exception 9(LoadStoreAlignmentCause)"
2020-05-20 18:51:04 +01:00
rjwats
a59f32c420
Factory reset feature (#114)
Implemented factory-reset feature
Extract factory settings into separate ini file
Hide reset/factory reset from guest user

Co-authored-by: kasedy <kasedy@gmail.com>
2020-05-20 00:32:49 +01:00
kasedy
51dabb705f
Fix MqttPubSub Constructor
* Fix MqttPubSub constructor
* Add MQTT client accessor to MqttConnector
2020-05-17 22:02:00 +01:00
rjwats
a1f4e57a21
Rework backend add MQTT and WebSocket support
* Update back end to add MQTT and WebSocket support
* Update demo project to demonstrate MQTT and WebSockets
* Update documentation to describe newly added and modified functionallity
* Introduce separate MQTT pub/sub, HTTP get/post and WebSocket rx/tx classes
* Significant reanaming - more accurate class names
* Use PROGMEM_WWW as default
* Update README documenting PROGMEM_WWW as default
* Update README with API changes
2020-05-14 23:23:45 +01:00
Rick Watson
c47ea49a5d ui fixes
remove unused fuction
2020-03-28 21:30:10 +00:00
rjwats
ea6aa78d60
Fix issue under ESP32 where there is a delay re-configuring WiFi
When re-configuring we must wait for it to disconnect and stop before reconnecting.
2020-02-01 20:21:18 +00:00
rjwats
39a86b0411
External config
Allow config to be accessed from outside the framework core code.
2020-02-01 08:44:26 +00:00
rjwats
ced5b74ba1
NTP Timezone & Enable/Disable Setting (#80)
* quick and dirty WIP to investigate timezones, currently only building under esp8266 platform
much of the status stuff has been stripped for now, to test the concepts

* support set of common features across ESP32/ESP8266 WRT timezone and sntp
return dates as ISO format strings

* remove time library, and timelib fix which is no longer required

* fix the icons

* remove temporary changes to demo project
2020-01-20 11:14:46 +00:00
rjwats
59326c6426
provide OTA defaults (#77)
(cherry picked from commit 438b2585463e902b6e9710ae26c3aea4fe64928d)
2020-01-08 23:02:36 +00:00
rjwats
bcfeef8004
Interface data storage in PROGMEM (#71)
Adds a webpack plugin to package interface as PROGMEM into a header file in the framework.
Adds a build flag to optionally enable serving from PROGMEM or SPIFFS as required
Adds documentation changes to describe changes
2019-12-29 17:54:12 +00:00
Rick Watson
62f3d3fc7a fix broken imports under ESP32
use ESP32 rather than ESP_PLATFORM - it's ambigious
standardise to ifdef ESP32 elif defined(ESP8266)
use ifdef over if defined where possible
2019-12-24 11:19:19 +00:00
Rick Watson
f4ae632956 reformat with .clang-format based on google's spec with some minor changes 2019-12-03 23:16:06 +00:00
Rick Watson
7bf713dfea rename "reset" to "restart" 2019-12-01 08:28:40 +00:00
Rick Watson
6aede04282 Set persistant WiFi opmode to WIFI_OFF if not already configured that way 2019-12-01 01:24:15 +00:00
Rick Watson
f5533b69de fix formatting issue 2019-11-30 13:42:47 +00:00
Rick Watson
6179435880 Merge branch 'master' into ft_remove_arduinojson6_workaround 2019-11-30 13:23:50 +00:00
Rick Watson
1ded736b9a perfer restart on ESP32 platform 2019-11-30 13:15:59 +00:00
Rick Watson
a840aba878 Use ESP.reset() rather than ESP.restart() - due to exceptions encountered on esp8266 2019-11-30 12:54:57 +00:00
Rick Watson
78b9ae101e Add restart service for esp8266 and esp32
Add restart feature to status screen
Upgrade material-ui
Add icons to buttons
2019-11-30 12:34:52 +00:00
Rick Watson
d650280a87 remove custom work-around for missing arduinojson6 support - it has since been added to async esp core 2019-11-30 09:58:28 +00:00
Rick Watson
41f7579bd5 Resolve issue with AP.
Fix newly introduced null pointer in AuthenticationService.
2019-09-30 21:28:24 +01:00
Rick Watson
f77428e4dc move initialization code to constructors as a simplfication 2019-09-28 21:29:46 +01:00
Rick Watson
15ae0bb248 WIP - some documentation 2019-08-10 12:35:26 +01:00
Rick Watson
f88520db44 experimenting with some refactoring 2019-07-14 22:13:26 +01:00