-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #260 from OpenEVSE/new-divert
Divert mode back-port
- Loading branch information
Showing
48 changed files
with
2,854 additions
and
1,469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule gui
updated
32 files
+3 −0 | .env.example | |
+2 −1 | .eslintrc.json | |
+2 −0 | .gitignore | |
+3 −0 | .gitmodules | |
+0 −3 | .vscode/settings.json | |
+67 −0 | assets/wifi_signal_1.svg | |
+66 −0 | assets/wifi_signal_2.svg | |
+65 −0 | assets/wifi_signal_3.svg | |
+64 −0 | assets/wifi_signal_4.svg | |
+54 −0 | assets/wifi_signal_5.svg | |
+4,100 −3,655 | package-lock.json | |
+17 −15 | package.json | |
+1 −0 | posix_tz_db | |
+20 −1 | readme.md | |
+0 −4 | src/assets.js | |
+326 −180 | src/home.htm | |
+1 −1 | src/home.js | |
+1 −0 | src/openevse.js | |
+100 −3 | src/style.css | |
+61 −0 | src/view_models/ConfigGroupViewModel.js | |
+37 −2 | src/view_models/ConfigViewModel.js | |
+18 −2 | src/view_models/OpenEvseViewModel.js | |
+394 −93 | src/view_models/OpenEvseWiFiViewModel.js | |
+25 −0 | src/view_models/PasswordViewModel.js | |
+68 −49 | src/view_models/StatusViewModel.js | |
+3 −5 | src/view_models/TimeViewModel.js | |
+39 −6 | src/view_models/WiFiConfigViewModel.js | |
+14 −1 | src/view_models/WiFiPortalViewModel.js | |
+44 −7 | src/view_models/WiFiScanViewModel.js | |
+62 −0 | src/view_models/ZonesViewModel.js | |
+28 −27 | src/wifi_portal.htm | |
+45 −13 | webpack.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,28 +30,47 @@ data_dir = src/data | |
default_envs = openevse | ||
|
||
[common] | ||
version = -DBUILD_TAG=2.8.1 | ||
version = -DBUILD_TAG=2.9.0 | ||
monitor_speed=115200 | ||
lib_deps = [email protected], ESP Async [email protected], [email protected] | ||
lib_deps = | ||
[email protected] | ||
ESP Async [email protected] | ||
[email protected] | ||
[email protected] | ||
Micro [email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
extra_scripts = scripts/extra_script.py | ||
debug_flags = -DENABLE_DEBUG -DENABLE_PROFILE -DDEBUG_PORT=Serial1 | ||
ota_flags = -DENABLE_OTA -DWIFI_LED=0 | ||
debug_flags = | ||
-DENABLE_DEBUG | ||
# -DENABLE_DEBUG_WEB | ||
# -DENABLE_DEBUG_RAPI | ||
-DENABLE_PROFILE | ||
-DDEBUG_PORT=Serial1 | ||
ota_flags = | ||
-DENABLE_OTA | ||
-DWIFI_LED=0 | ||
src_build_flags = | ||
# -DENABLE_ASYNC_WIFI_SCAN | ||
|
||
build_flags = | ||
# -DENABLE_ASYNC_WIFI_SCAN | ||
|
||
# specify exact Arduino ESP SDK version, requires platformio 3.5+ (curently dev version) | ||
# http://docs.platformio.org/en/latest/projectconf/section_env_general.html#platform | ||
platform = https://github.com/platformio/platform-espressif8266.git#release/v1.6.0 | ||
platform_stage = https://github.com/platformio/platform-espressif8266.git#feature/stage | ||
#platform = https://github.com/platformio/platform-espressif8266.git#release/v1.6.0 | ||
platform = [email protected] | ||
platform_stage = https://github.com/platformio/platform-espressif8266.git#develop | ||
|
||
[env:openevse] | ||
platform = ${common.platform} | ||
board = esp12e | ||
framework = arduino | ||
lib_deps = ${common.lib_deps} | ||
src_build_flags = ${common.version} ${common.build_flags} | ||
build_flags = ${common.build_flags} | ||
src_build_flags = ${common.version} ${common.src_build_flags} | ||
# Upload at faster baud: takes 20s instead of 50s. Use 'pio run -t upload -e evse_slow to use slower default baud rate' | ||
upload_speed=921600 | ||
upload_speed = 921600 | ||
monitor_speed = ${common.monitor_speed} | ||
extra_scripts = ${common.extra_scripts} | ||
|
||
|
@@ -60,7 +79,8 @@ platform = ${common.platform} | |
board = esp12e | ||
framework = arduino | ||
lib_deps = ${common.lib_deps} | ||
src_build_flags = ${common.version} ${common.build_flags} | ||
build_flags = ${common.build_flags} | ||
src_build_flags = ${common.version} ${common.src_build_flags} | ||
monitor_speed = ${common.monitor_speed} | ||
extra_scripts = ${common.extra_scripts} | ||
|
||
|
@@ -69,9 +89,10 @@ platform = ${common.platform} | |
board = esp12e | ||
framework = arduino | ||
lib_deps = ${common.lib_deps} | ||
src_build_flags = ${common.version}.dev ${common.build_flags} ${common.ota_flags} ${common.debug_flags} | ||
upload_protocol = espota | ||
upload_port = openevse.local | ||
build_flags = ${common.build_flags} ${common.debug_flags} | ||
src_build_flags = ${common.version}.dev ${common.src_build_flags} ${common.ota_flags} ${common.debug_flags} | ||
#upload_protocol = espota | ||
#upload_port = openevse.local | ||
monitor_speed = ${common.monitor_speed} | ||
extra_scripts = ${common.extra_scripts} | ||
|
||
|
@@ -80,8 +101,10 @@ platform = ${common.platform} | |
board = esp12e | ||
framework = arduino | ||
lib_deps = ${common.lib_deps} | ||
src_build_flags = ${common.version}.dev ${common.build_flags} ${common.ota_flags} ${common.debug_flags} | ||
upload_speed=921600 | ||
build_flags = ${common.build_flags} ${common.debug_flags} | ||
src_build_flags = ${common.version}.dev ${common.src_build_flags} ${common.ota_flags} ${common.debug_flags} | ||
# Upload at faster baud: takes 20s instead of 50s. Use 'pio run -t upload -e evse_slow to use slower default baud rate' | ||
upload_speed = 921600 | ||
monitor_speed = ${common.monitor_speed} | ||
extra_scripts = ${common.extra_scripts} | ||
|
||
|
@@ -92,8 +115,9 @@ platform = ${common.platform_stage} | |
board = esp12e | ||
framework = arduino | ||
lib_deps = ${common.lib_deps} | ||
build_flags = -DDEBUG_ESP_WIFI | ||
src_build_flags = ${common.version}.stag ${common.build_flags} ${common.ota_flags} ${common.debug_flags} | ||
build_flags = ${common.build_flags} ${common.debug_flags} | ||
src_build_flags = ${common.version}.stag ${common.src_build_flags} ${common.ota_flags} ${common.debug_flags} | ||
#upload_speed = 921600 | ||
upload_protocol = espota | ||
upload_port = openevse.local | ||
monitor_speed = ${common.monitor_speed} | ||
|
@@ -105,7 +129,8 @@ platform = ${common.platform_stage} | |
board = esp12e | ||
framework = arduino | ||
lib_deps = https://github.com/knolleary/pubsubclient, https://github.com/me-no-dev/ESPAsyncWebServer.git, https://github.com/me-no-dev/ESPAsyncTCP.git | ||
src_build_flags = ${common.version}.stagelib ${common.build_flags} ${common.ota_flags} ${common.debug_flags} | ||
build_flags = ${common.build_flags} ${common.debug_flags} | ||
src_build_flags = ${common.version}.stagelib ${common.src_build_flags} ${common.ota_flags} ${common.debug_flags} | ||
upload_protocol = espota | ||
upload_port = openevse.local | ||
monitor_speed = ${common.monitor_speed} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
6e05310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated my OpenEVSE to 2.9.0 recently; I didn't see much change other than it kinda broke my data.openevse.com dashboard......not a big deal, but I downgraded back to 2.8.2 in the meantime. Just FYI.
6e05310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give more details about what broke?
6e05310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this error, and the current kW Usage value is always zero:
This is using a custom dashboard, but it should still work no?
EmonCMS Error
Message: TypeError: data[(data.length - 1)] is undefined
Route: vis/realtime?embed=1&feedid=13719&colour=000000&initzoom=1&kw=0
Line: 118
Column: 15