mirror of https://github.com/lumapu/ahoy.git
committed by
GitHub
6 changed files with 214 additions and 210 deletions
@ -1,15 +1,17 @@ |
|||||
Changelog v0.6.9 |
Changelog for ahoy-all-in-one compared to 0.6.9 of the main project |
||||
|
|
||||
* improved MqTT |
- read SML/OBIS from UART (stream parser with min resources needed); Connections 9600,8,n,1, GND-GND, VCC-3V3, TX-TX, RX-RX |
||||
* fix WiFi hostname during boot up |
- prepared to show chart of grid power and total solar ac power for current days daylight period (6 a.m. to 8 p.m.) |
||||
* improved login: only one session at the same time is possible |
- show current grid power |
||||
* fix UI: login screen for small displays; burger menu height; small modifications for import button (in setup) |
- show max solar ac/dc power |
||||
* improved WiFi reconnect |
- improved radio retransmit (complete retransmit if nothing was received, but only when inverter ought to be active) |
||||
* optimized performance: browser caching was improved to reduce requests from ESP |
- shortcut radio traces a little bit |
||||
* improved NRF24 communication for more stable data transmission |
|
||||
* added / fixed MqTT subscription `ctrl/power/[IV-ID]` |
DRAWBACKS: |
||||
* improved save settings |
- MQTT Source is commented out (except 1 var which is used for other purpose as well) |
||||
* improved UI in setup: now `.` and `,` are allowed as floating point seperator |
- only up to 2 Inverters (was: 10) |
||||
* fix zero yield day functionality |
- RX/TX of UART0 is used for serial interface to IR sensor. |
||||
* LEDs are now configurable to show if 1st inverter is available and if MqTT is connected |
But: Currently there is enough heap available for stable operation on a ESP8266 plattform (WEMOS D1 R1). So adjust to your needs and see if the AHOY-DTU is still stable in operation with your hw plattform. |
||||
* LED are configurable to active high or low |
To update firmware via USB, unplug serial connection to IR sensor first. Surprisingly during normal operation it seems that one can use a full connected USB cable (for power supply). But I'm not sure, if this allways will be true. |
||||
|
Of course you cannot operate a display that uses RX/TX pins of UART0, simultanously. |
||||
|
- Due to not matching licence of the chart lib certain parts of visualization.html are commented out. See comments there. |
||||
|
@ -1,154 +1,38 @@ |
|||||
; PlatformIO Project Configuration File |
; PlatformIO Project Configuration File |
||||
; |
; |
||||
; Build options: build flags, source filter |
; Build options: build flags, source filter |
||||
; Upload options: custom upload port, speed and extra flags |
; Upload options: custom upload port, speed and extra flags |
||||
; Library options: dependencies, extra library storages |
; Library options: dependencies, extra library storages |
||||
; Advanced options: extra scripting |
; Advanced options: extra scripting |
||||
; |
; |
||||
; Please visit documentation for the other options and examples |
; Please visit documentation for the other options and examples |
||||
; https://docs.platformio.org/page/projectconf.html |
; https://docs.platformio.org/page/projectconf.html |
||||
|
|
||||
[platformio] |
[platformio] |
||||
src_dir = . |
src_dir = c:\AhoiDTU\src |
||||
include_dir = . |
include_dir = c:\AhoiDTU\src |
||||
|
|
||||
[env] |
[env] |
||||
framework = arduino |
board = d1_mini |
||||
board_build.filesystem = littlefs |
board_build.f_cpu = 80000000L |
||||
upload_speed = 921600 |
platform=https://github.com/platformio/platform-espressif8266.git@^4.2.0 |
||||
monitor_speed = 115200 |
framework = arduino |
||||
|
board_build.filesystem = littlefs |
||||
extra_scripts = |
upload_speed = 921600 |
||||
pre:../scripts/auto_firmware_version.py |
monitor_speed = 115200 |
||||
pre:web/html/convert.py |
extra_scripts = |
||||
|
pre:../scripts/auto_firmware_version.py |
||||
lib_deps = |
pre:web/html/convert.py |
||||
https://github.com/yubox-node-org/ESPAsyncWebServer |
lib_deps = |
||||
nrf24/RF24 @ ^1.4.5 |
https://github.com/yubox-node-org/ESPAsyncWebServer |
||||
paulstoffregen/Time @ ^1.6.1 |
nrf24/RF24@1.4.5 |
||||
https://github.com/bertmelis/espMqttClient#v1.4.2 |
paulstoffregen/Time @ ^1.6.1 |
||||
bblanchon/ArduinoJson @ ^6.21.2 |
https://github.com/bertmelis/espMqttClient#v1.4.2 |
||||
https://github.com/JChristensen/Timezone @ ^1.2.4 |
bblanchon/ArduinoJson @ ^6.21.2 |
||||
olikraus/U8g2 @ ^2.34.17 |
https://github.com/JChristensen/Timezone @ ^1.2.4 |
||||
zinggjm/GxEPD2 @ ^1.5.0 |
olikraus/U8g2 @ ^2.34.17 |
||||
|
zinggjm/GxEPD2 @ ^1.5.0 |
||||
|
|
||||
[env:esp8266-release] |
[env:esp8266-release] |
||||
platform = espressif8266 |
build_flags = -D RELEASE |
||||
board = esp12e |
monitor_filters = esp8266_exception_decoder |
||||
board_build.f_cpu = 80000000L |
|
||||
build_flags = -D RELEASE |
|
||||
;-Wl,-Map,output.map |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
;time ; Add timestamp with milliseconds for each new line |
|
||||
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
esp8266_exception_decoder |
|
||||
|
|
||||
|
|
||||
[env:esp8266-release-prometheus] |
|
||||
platform = espressif8266 |
|
||||
board = esp12e |
|
||||
board_build.f_cpu = 80000000L |
|
||||
build_flags = -D RELEASE -DENABLE_PROMETHEUS_EP |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
;time ; Add timestamp with milliseconds for each new line |
|
||||
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
esp8266_exception_decoder |
|
||||
|
|
||||
[env:esp8266-debug] |
|
||||
platform = espressif8266 |
|
||||
board = esp12e |
|
||||
board_build.f_cpu = 80000000L |
|
||||
build_flags = -DDEBUG_LEVEL=DBG_DEBUG -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_OOM -DDEBUG_ESP_PORT=Serial -DPIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48 |
|
||||
build_type = debug |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
time ; Add timestamp with milliseconds for each new line |
|
||||
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
|
|
||||
[env:esp8285-release] |
|
||||
platform = espressif8266 |
|
||||
board = esp8285 |
|
||||
board_build.ldscript = eagle.flash.1m64.ld |
|
||||
board_build.f_cpu = 80000000L |
|
||||
build_flags = -D RELEASE |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
time ; Add timestamp with milliseconds for each new line |
|
||||
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
|
|
||||
[env:esp8285-debug] |
|
||||
platform = espressif8266 |
|
||||
board = esp8285 |
|
||||
board_build.ldscript = eagle.flash.1m64.ld |
|
||||
board_build.f_cpu = 80000000L |
|
||||
build_flags = -DDEBUG_LEVEL=DBG_DEBUG |
|
||||
-DDEBUG_ESP_CORE |
|
||||
-DDEBUG_ESP_WIFI |
|
||||
-DDEBUG_ESP_HTTP_CLIENT |
|
||||
-DDEBUG_ESP_HTTP_SERVER |
|
||||
-DDEBUG_ESP_OOM |
|
||||
-DDEBUG_ESP_PORT=Serial |
|
||||
build_type = debug |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
time ; Add timestamp with milliseconds for each new line |
|
||||
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
|
|
||||
[env:esp32-wroom32-release] |
|
||||
platform = espressif32@>=6.1.0 |
|
||||
board = lolin_d32 |
|
||||
build_flags = -D RELEASE -std=gnu++14 |
|
||||
build_unflags = -std=gnu++11 |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
;time ; Add timestamp with milliseconds for each new line |
|
||||
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
esp32_exception_decoder |
|
||||
|
|
||||
[env:esp32-wroom32-release-prometheus] |
|
||||
platform = espressif32@>=6.1.0 |
|
||||
board = lolin_d32 |
|
||||
build_flags = -D RELEASE |
|
||||
-std=gnu++14 |
|
||||
-DENABLE_PROMETHEUS_EP |
|
||||
build_unflags = -std=gnu++11 |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
;time ; Add timestamp with milliseconds for each new line |
|
||||
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
esp32_exception_decoder |
|
||||
|
|
||||
[env:esp32-wroom32-debug] |
|
||||
platform = espressif32@>=6.1.0 |
|
||||
board = lolin_d32 |
|
||||
build_flags = -DDEBUG_LEVEL=DBG_DEBUG |
|
||||
-DDEBUG_ESP_CORE |
|
||||
-DDEBUG_ESP_WIFI |
|
||||
-DDEBUG_ESP_HTTP_CLIENT |
|
||||
-DDEBUG_ESP_HTTP_SERVER |
|
||||
-DDEBUG_ESP_OOM |
|
||||
-DDEBUG_ESP_PORT=Serial |
|
||||
-std=gnu++14 |
|
||||
build_unflags = -std=gnu++11 |
|
||||
build_type = debug |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
time ; Add timestamp with milliseconds for each new line |
|
||||
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
|
|
||||
[env:opendtufusionv1-release] |
|
||||
platform = espressif32@>=6.1.0 |
|
||||
board = esp32-s3-devkitc-1 |
|
||||
upload_protocol = esp-builtin |
|
||||
upload_speed = 115200 |
|
||||
debug_tool = esp-builtin |
|
||||
debug_speed = 12000 |
|
||||
build_flags = -D RELEASE -std=gnu++14 |
|
||||
build_unflags = -std=gnu++11 |
|
||||
monitor_filters = |
|
||||
;default ; Remove typical terminal control codes from input |
|
||||
time ; Add timestamp with milliseconds for each new line |
|
||||
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
||||
|
Loading…
Reference in new issue