Commit graph

242 commits

Author SHA1 Message Date
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
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
dc9eda5ee3 fix changes from merge 2022-12-12 21:05:36 +01:00
lumapu
0af2d18514 Merge branch 'nrf_info' of https://github.com/DanielR92/ahoy into DanielR92-nrf_info 2022-12-12 20:50:38 +01:00
lumapu
77e9fbecfa Merge branch 'mqtt-max-char' of https://github.com/DanielR92/ahoy into DanielR92-mqtt-max-char 2022-12-12 20:23:03 +01:00
lumapu
183b9b35f6 improved scheduler #483
refactored NTP
generate bin.gz only for ESP8285
fix calcSunrise calculation
2022-12-12 20:16:32 +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
3c6e3221e8 added display-class: Nokia5110 and SDD1306 2022-12-04 20:19:02 +01:00
lumapu
7c6ab6792b fix #472 refactored ahoyWifi class completely
-> now Ahoy opens an AP during boot. This will be closed once a station WiFi connection is established
improved NTP after boot, will be synced immediately after successful WiFi connection
2022-12-03 02:06:20 +01:00
DanielR92
58fede748d
Merge branch 'development03' into nrf_info 2022-12-02 09:18:34 +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
DanielR92
3cbf631a18
Merge branch 'lumapu:main' into nrf_info 2022-11-20 09:54:46 +01:00
lumapu
9da3a1a370 release v0.5.41 2022-11-20 00:01:02 +01:00
DanielR92
4f46106228 Add NRF to system site + api 2022-11-19 20:15:54 +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
657f594307 fix erase without wifi settings
added minute wise ntp check
2022-11-17 20:50:30 +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
lumapu
453d8eb5ec Merge branch 'development03' of https://github.com/lumapu/ahoy into development03 2022-11-15 22:26:52 +01:00
lumapu
fd9f454cfb first draft of scheduler 2022-11-15 22:26:02 +01:00
DanielR92
553f64caa3 Add mqtt sunrise/sunset + setupAp + system.html 2022-11-15 20:34:28 +01:00
lumapu
c44eedb8c7 fix littefs 2022-11-15 15:32:01 +01:00
lumapu
faa28ce1a8 convertion to littfs storage - not complete 2022-11-14 22:43:26 +01:00
lumapu
56cfffbcd8 fix mqtt #407 #398 #391 2022-11-12 15:24:12 +01:00
lumapu
24de3ac39b clean up mqtt stuff
fix workflow
2022-11-12 02:29:00 +01:00
lumapu
9c68ad1467 moved payload related stuff to other file
fix line break for inverter list on index
update release workflow action
fix #405 renamed binary for ESP8285 (platformio.ini)
2022-11-12 01:51:49 +01:00
lumapu
6cb0b99de3 refactored mqtt and sun 2022-11-09 23:57:48 +01:00
lumapu
0a0d90dc92 refactor app, mqtt 2022-11-09 23:37:16 +01:00
lumapu
43e8714526 refactored sendMqttDiscoveryConfig 2022-11-09 23:29:42 +01:00
lumapu
fbad251236 refactored directory structure 2022-11-09 22:46:30 +01:00
Renamed from tools/esp8266/src/app.cpp (Browse further)