Commit graph

86 commits

Author SHA1 Message Date
lumapu
ba3f84d684 improv: first two commands are working (state and device info) 2023-04-07 01:16:29 +02:00
lumapu
f0c5361cf0 Merge branch 'development03' into improv 2023-04-06 23:29:25 +02:00
lumapu
bfae0e0def basic implementation of improv 2023-04-06 12:16:23 +02:00
rejoe2
a4be65e634
Merge branch 'development03' into development03 2023-04-02 19:28:14 +02:00
Markus Krause
48a6bf021c add MQTT status to LED update, try to fix settings save for led polarity 2023-04-01 13:00:38 +02:00
Markus Krause
33264cc776 make LED polarity selectable 2023-03-31 22:51:01 +02:00
rejoe2
24bfb43b02
Radio changes, MQTT fixes
* consolidated (?) proposals from beegee3
* timing now 410microsesonds
2023-03-31 19:17:16 +02:00
Markus Krause
44f602f1a7 add spi pins to config container, remove hacks from app code 2023-03-25 20:56:31 +01:00
Markus Krause
97d60f2ea9 start making SPI configurable 2023-03-25 20:32:23 +01:00
lumapu
57bda044e5 0.5.102
Warning: old exports are not compatible any more!
further save settings improvements (only store inverters which are existing)
improved display of settings save return value
made save settings asynchronous (more heap memory is free)
2023-03-18 01:37:59 +01:00
lumapu
116a1e6a93 0.5.99
fix limit in [User_Manual.md](../User_Manual.md)
changed `contrast` to `luminance` in `setup.html`
try to fix SSD1306 display #759
only show necessary display pins depending on setting
2023-03-11 23:52:12 +01:00
lumapu
3e919b4d10 removed MQTT subscription sync_ntp, set_time with a value of 0 does the same #696
simplified MQTT subscription for `limit`. Check User-Manual.md for new syntax #696, #713
repaired inverter wise limit control, #713
2023-03-11 00:12:57 +01:00
lumapu
6dbb88e27e added ePaper (for ESP32 only!), thx @dAjaY85 #735
improved `/live` margins #732
renamed `var` to `VAr` #732
2023-03-07 14:54:27 +01:00
dAjaY85
ce20d7c1b4 MonochromeDisplay in Display umbenannt 2023-03-05 16:43:41 +01:00
lumapu
3cfa564171 fix workflow 2023-02-25 02:03:03 +01:00
lumapu
4f0d365211 improved html and navi, navi is visible even when API dies #660
reduced maximum allowed JSON size for API to 6000Bytes #660
small fix: output command at `prepareDevInformCmd` #692
improved inverter handling for MQTT #671
2023-02-25 01:40:25 +01:00
lumapu
9ef2df21fa merged PR #684, #698, #705
webserial minor overflow fix #660
web `index.html` improve version information #701
fix MQTT sets power limit to zero (0) #692
changed `reset at midnight` with timezone #697
2023-02-22 23:28:12 +01:00
Frank
8342851ead configurable offset for tickMidnight 2023-02-19 15:22:40 +01:00
lumapu
b6a41506b6 fix MqTT client ID 2023-02-15 14:35:59 +01:00
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
15bc5f2b50 reneabled instant start communication (once NTP is synced) #674
fix negative number in yield total correction
2023-02-12 12:46:00 +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
026df8a09b fix power-limit was not checked for max retransmits #667
fix blue LED lights up all the time #672
fix installing schedulers if NTP server isn't available
improved zero values on triggers #671
hardcoded MQTT subtopics, because wildcard `#` leads to errors
rephrased some messages on webif, thx to @Argafal #638
2023-02-11 02:02:04 +01:00
lumapu
a157f2b97b fix blue LED lights up all the time #672
added an instant start communication (once NTP is synced)
2023-02-10 17:18:00 +01:00
lumapu
7423de76fb fix MQTT publishing, callback was set but reset by following setup() 2023-02-08 08:36:00 +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
75539c5daf started implementation of MI inverters (setup.html, own processing MiPayload.h) 2023-02-06 23:37:05 +01:00
lumapu
edefcf1c83 fix Interrupt
fix connect to WiFi with only one AP
2023-02-06 00:07:58 +01:00
beegee3
5fb45f1b20
Update app.cpp 2023-02-05 14:53:01 +01:00
lumapu
9cedb41ff4 implemented getNTPTime improvements #609 partially #611
added alarm messages to MQTT #177, #600, #608
2023-01-22 01:04:33 +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
a0a40be9a6 fix compile 2023-01-19 22:51:13 +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
43c07be148 fix missing scheduler loop #596 2023-01-17 08:55:01 +01:00
lumapu
3ff348bba8 merged PR Monodisplay, many thanks to @dAjaY85 #566, Note: (settings are introduced but not able to be modified, will be included in next version) 2023-01-16 22:51:09 +01:00
lumapu
c157134da9 improved wifi handling and tickers, many thanks to @beegee3 #571
fixed YieldTotal correction calculation #589
fixed serial output of power limit acknowledge #569
2023-01-16 22:04:59 +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
4265856814 corrected github action
corrected MQTT `comm_disabled` #529
2023-01-07 11:55:45 +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
dAjaY85
94487641cc Hinzufügen vom 1,3" 2023-01-06 12:08:05 +01:00
lumapu
27b3a9cd87 Powerlimit is transfered immediately to inverter 2023-01-02 12:26:03 +01:00
lumapu
19e86ebdb2 changed calculation of start / stop communication to 1 min after last comm. stop #515
moved payload send to `payload.h`, function `ivSend` #515
2023-01-01 23:37:13 +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
a8d9b7ad0b fix MQTT status update
removed MQTT `available_text` (can be deducted from `available`)
enhanced MQTT documentation in `User_Manual.md`
remvoed `tickSunset` and `tickSunrise` from MQTT. It's not needed any more because of minute wise check of status (`processIvStatus`)
changed MQTT topic `status` to nummeric value, check documentation in `User_Manual.md`
fix regular expression of `setup.html` for inverter name and channel name
2022-12-27 21:05:31 +01:00
lumapu
6bb8a4e448 added regex to inverter name and MQTT topic (setup.html)
beautified serial.html
added ticker for wifi loop #515
reverted sunrise / sunset ticker to most recent version
2022-12-24 00:49:53 +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