Commit graph

225 commits

Author SHA1 Message Date
lumapu
a0879cfcbe reduced heap fragmentation (removed strtok completely) #644, #645, #682
added part of mac address to MQTT client ID to seperate multiple ESPs in same network
added dictionary for MQTT to reduce heap-fragmentation
removed `last Alarm` from Live view, because it showed always the same alarm - will change in future
2023-02-15 14:12:53 +01:00
lumapu
ca25f16548 prevent send devcontrol request during disabled night communication
changed yield total correction as module (inverter input) value #570
MQTT Yield Day zero, next try to fix #671
2023-02-12 02:00:54 +01:00
lumapu
5765e054f3 fixed communication error #652
reset values is no bound to MQTT any more, setting moved to `inverter` #649
fixed wording on `index.hmtl` #661
2023-02-08 00:19:04 +01:00
lumapu
f8d4b4f5ae fixed Wifi scan during first configuration (client connected to AP of Ahoy) #611 2023-01-28 23:37:40 +01:00
lumapu
6721c8bbc1 wifi debug 2023-01-25 22:28:10 +01:00
lumapu
22ae6d2e22 fix wrong filename for automatically created manifest (online installer) #620
added rotate display feature #619
improved Prometheus endpoint #615, thx to fsck-block
2023-01-25 12:59:39 +01:00
lumapu
2b3f252bbf fix wakeup issue, once wifi was lost during night the communication didn't start in the morning
reenabled FlashStringHelper because of lacking RAM
complete rewrite of monochrome display class, thx to @dAjaY85 -> displays are now configurable in setup
2023-01-21 00:34:39 +01:00
lumapu
3adcb68d98 improved payload handling (retransmit all fragments on CRC error)
improved `isAvailable`, checkes all record structs, inverter becomes available more early because version is check first
fix tickers were not set if NTP is not available
disabled annoying `FlashStringHelper` it gives randomly Expeptions during development, feels more stable since then
moved erase button to the bottom in settings, not nice but more functional
split `tx_count` to `tx_cnt` and `retransmits` in `system.html`
fix mqtt retransmit IP address #602
added debug infos for `scheduler` (web -> `/debug` as trigger prints list of tickers to serial console)
2023-01-19 22:43:23 +01:00
lumapu
3d3e3dc8c6 improved payload handling (request / retransmit) #464
included alarm ID parse to serial console (in development)
2023-01-17 17:35:00 +01:00
lumapu
d8e255ddc2 corrected MQTT comm_disabled #529
fix Prometheus and JSON endpoints (`config_override.h`) #561
publish MQTT with fixed interval even if inverter is not available #542
added JSON settings upload. NOTE: settings JSON download changed, so only settings should be uploaded starting from version `0.5.70` #551
MQTT topic and inverter name have more allowed characters: `[A-Za-z0-9./#$%&=+_-]+`, thx: @Mo Demman
improved potential issue with `checkTicker`, thx @cbscpe
MQTT option for reset values on midnight / not avail / communication stop #539
small fix in `tickIVCommunication` #534
add `YieldTotal` correction, eg. to have the option to zero at year start #512
2023-01-08 22:16:14 +01:00
lumapu
712b5af9b9 merged SH1106 1.3" Display, thx @dAjaY85
added SH1106 to automatic build
added IP address to MQTT (version, device and IP are retained and only transmitted once after boot) #556
added `set_power_limit` acknowledge MQTT publish #553
changed: version, device name are only published via MQTT once after boot
added `Login` to menu if admin password is set #554
added `development` to second changelog link in `index.html` #543
added interval for MQTT (as option). With this settings MQTT live data is published in a fixed timing (only if inverter is available) #542, #523
added MQTT `comm_disabled` #529
2023-01-07 01:15:25 +01:00
lumapu
27b3a9cd87 Powerlimit is transfered immediately to inverter 2023-01-02 12:26:03 +01:00
lumapu
73b6ff073c channel name can use any character, not limited any more
added `/` to MQTT topic and Inverter name
trigger for `calcSunrise` is now using local time #515
fix reconnect timeout for WiFi #509
start AP only after boot, not on WiFi connection loss
improved /system `free_heap` value (measured before JSON-tree is built)
2022-12-28 23:38:33 +01:00
lumapu
75628ad230 added update information to index.html 2022-12-28 00:08:18 +01:00
lumapu
4f962ff962 potential fix of #526 duplicates in API /api/record/live 2022-12-27 23:27:53 +01:00
lumapu
ed16cff06e fix Update button protection (prevent double click #527)
optimized scheduler #515 (thx @beegee3)
2022-12-27 23:15:36 +01:00
lumapu
c3fc01b956 fix #521 no reconnect at beginning of day
added immediate (each minute) report of inverter status MQTT #522
added protection mask to select which pages should be protected
2022-12-26 23:32:22 +01:00
lumapu
de4c572ee2 fix night communication enable
improved different WiFi connection scenarios (STA WiFi not found, reconnect #509, redirect for AP to configuration)
2022-12-22 11:49:01 +01:00
lumapu
07bf947ff7 improved stability
improved wifi initial connection - especially if station wifi is not available #509
removed new operators from web.h (reduce dynamic allocation)
improved sun calculation #515, #505
fixed wifi auto reconnect #509
added disable night communication flag to MQTT #505
changed MQTT publish of `available` and `available_text` to sunset #468
2022-12-20 22:43:54 +01:00
lumapu
5977bbaee6 improved stability
added icons to index.html, added wifi-strength symbol on each page
moved packet stats and sun to system.html
refactored communication offset (adjustable in minutes now)
2022-12-20 00:04:25 +01:00
lumapu
b2fc16e030 factory reset formats entire little fs
renamed sunrise / sunset on indext.html to start / stop communication
show system information only if called directly from menu
2022-12-18 00:47:45 +01:00
lumapu
ea6a9c155c changed sunrise / sunset calculation, angle is now -3.5 instead of original -0.83
improved scheduler (removed -1 from `reload`) #483
improved reboot flag in `app.h`
fixed #493 no MQTT payload once display is defined
2022-12-17 13:26:25 +01:00
lumapu
c8c8b99957 Mono-Display: show values in offline mode #498
improved wifi class #483
added communication enable / disable (to test mutliple DTUs with the same inverter)
fix factory reset #495
2022-12-15 23:19:24 +01:00
lumapu
67b9170fcf improved MQTT #468 set status to "offline" / "online" / "partial"
fix web-serial-console
2022-12-14 23:54:11 +01:00
lumapu
49b530a743 added interface class for app
refactored web and webApi -> now RestApi.h
fix calcSunrise
fixed calcSunrise trigger calculation
display zero values on /live
added changes from #483
2022-12-14 22:32:08 +01:00