Commit graph

29 commits

Author SHA1 Message Date
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
3f0cfd45a1 reviewed sendDiscoveryConfig #565 2023-01-16 22:24:25 +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
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
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
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
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
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
lumapu
a9e4429f9f system clock was too fast
included display builds into zip
removed 10s info from index.html
2022-12-08 21:08:58 +01:00
lumapu
d9290d9fdf fix #480 AP Mode on fresh ESP
included #483 improvements
fix #468 last_success MQTT
fix #468 update available status at sunset
fix #447 reorderd enqueue commands to not have same payload length in a row
added ssd1306 and nokia display to build script
2022-12-08 17:44:34 +01:00
lumapu
9da0fc4058 fix #468 MQTT status at sunset 2022-12-05 23:16:54 +01:00
lumapu
d11d3134f6 fix ESP32 (also tested in hardware) 2022-12-03 02:44:25 +01:00
lumapu
4fd3cd8ca9 Merge branch 'development03' of https://github.com/lumapu/ahoy into development03 2022-12-01 15:03:36 +01:00
lumapu
28594aff4f partial fix #468 MQTT
fix #466 calculation of sunrise and sunset
fix #463 Webserial Timestamp fix
2022-12-01 14:56:18 +01:00
Sven Naumann
08e417ee85 mqtt avoid trailing zeroes 2022-12-01 09:34:38 +00:00
lumapu
0a5833e6ec improved mqtt
removed wrong "inverter type can't be detected!" messages
repaired NTP and static IP #459
MQTT status about availability and produce are retain messages now
2022-11-28 17:58:02 +01:00
lumapu
b1946df32f updated REST API and MQTT to use the same functionality
added heap as MQTT publish
updated User_Manual.md to latest changes
development build will have now always the same name because of static link from https://ahoydtu.de
2022-11-23 23:57:15 +01:00
lumapu
573bd31f0a improved MQTT 2022-11-23 21:09:57 +01:00
lumapu
22715a1a4a first draft version, callback and subscription not included 2022-11-21 23:02:47 +01:00
lumapu
4c52e9c307 mqtt improvement (sunrise, sunset, wifi rssi) 2022-11-18 13:15:32 +01:00
lumapu
c1eed6eef2 fix #416 2022-11-18 12:03:09 +01:00
lumapu
4fe03d641b moved elements to scheduler 2022-11-16 20:57:44 +01:00
lumapu
d0db3ece88 fix build
added scheduler (not finished now, draft)
2022-11-16 12:32:12 +01:00
Renamed from src/web/mqtt.h (Browse further)