Commit graph

145 commits

Author SHA1 Message Date
lumapu
6bd7e01f1a * started to implement POST api
* improved web serial console
* added multi inverter total values (published through MQTT)
* fixed: after boot there were transferred wrong data because of incorrect assignment (mqtt, visualization)
  -> not tested with sun
2022-09-10 02:19:25 +02:00
lumapu
4561655d9d * improved serial console
* repaired /save
* removed yields (not allowed with async-web)
2022-09-08 22:52:51 +02:00
lumapu
200ce0c0cc * Merge branch 'development03' into asyncWeb03
* improved webApi
* updated Library Information (version + license)
2022-09-06 16:39:39 +02:00
lumapu
810e16df6e * start creation of visualisation api contents
* removed /json part -> moved to API
* added missing update.html
2022-09-06 13:28:46 +02:00
Andreas Schiffler
6be2b0979f speed up set power limit 2022-09-05 20:07:48 +02:00
lumapu
0355572692 corrected most of the review comments, except "maxlength" 2022-09-01 07:25:30 +02:00
lumapu
1f6db2ffdb * improved api
* finished index page
2022-08-31 23:05:56 +02:00
lumapu
b871ed06d2 Merge branch 'development02' into asyncWeb02 2022-08-30 21:43:20 +02:00
lumapu
b67cd033d2 fix #209 2022-08-30 15:49:33 +02:00
lumapu
2bfb6467e0 * fix #195: used trim() to remove leading and trailing spaces, added maxlength attr to input field
* started to work on #209: added another timer for NTP update after configurable interval (default 12h)
2022-08-30 15:35:36 +02:00
lumapu
440d386ec0 * improved api (now webApi)
* converted index to static page
2022-08-28 22:32:34 +02:00
lumapu
2556197509 Merge branch 'development02' into asyncWeb02 2022-08-26 21:59:27 +02:00
lumapu
ae968d618a * added option for no powerlimit (setup)
* moved function showLiveData to web.cpp
* improved debug messages
* cleaned some code
2022-08-26 16:34:10 +02:00
lumapu
fec8758de7 * fix empty inverters save on a brandnew ESP
* replaced several {0} by memset
* erase now erases the flash with 0xff (identical to a brandnew ESP)
2022-08-26 12:47:32 +02:00
lumapu
3212aeb142 code review: added check if mqtt is enabled before sending out values 2022-08-25 09:59:21 +02:00
lumapu
03b9af216d /setup geht noch nicht 2022-08-25 09:44:50 +02:00
Andreas Schiffler
146a1d5eea improvment mqtt after add values 2022-08-24 08:31:33 +02:00
Andreas Schiffler
f76fbea5c2 added last alarm msg request 2022-08-23 17:52:07 +02:00
Andreas Schiffler
51fbe7868c added command queue
+ command queue
+ feedback from inverter for actual power limit via InfoCmd -> SystemConfigPara (0x05)
+ REST API will enqueue a new info command
+ change in power limit will enqueue infocm to get actual power limit
+ actual power limit is available under mqtt topic <TOPIC>/<NAME>/ch0/PowerLimit ALWAYS in percent
+ Firmware information will be requested automatically up on start of dtu
2022-08-20 13:34:31 +02:00
tastendruecker123
0ad53d56d8
ESP32 support added
* ESP32 adjustments, compiles and runs
* Changed gitignore to ignore debug log files
2022-08-19 17:35:10 +02:00
Andreas Schiffler
ee9d06b1ef removed change power limit on dtu startup 2022-08-19 13:28:52 +02:00
Andreas Schiffler
0b968b4591 added comment about mqtt reconnect 2022-08-19 13:18:00 +02:00
Andreas Schiffler
011ad77fce write to dtu eeprom if pwr limit is persistent 2022-08-17 16:16:45 +02:00
Andreas Schiffler
458639b648 button on index to get FW-Version 2022-08-17 11:30:18 +02:00
Andreas Schiffler
e8524961c5 small fix 2022-08-17 10:24:26 +02:00
Andreas Schiffler
8ec4b8e5f4 Merge branch 'main' into development 2022-08-17 10:10:39 +02:00
Andreas Schiffler
c38afda489
Merge branch 'main' into esp32-adjustments 2022-08-17 09:54:33 +02:00
Andreas Schiffler
648e128ec0 fix mqtt payload for reactive power limit 2022-08-17 09:50:37 +02:00
Andreas Schiffler
3e1b120b74 0.5.14 Bug fix mqtt payload & get FWVersion
Changes 0.5.14.
- bug fix in mqtt payload handling thx to @klahus1 and silversurfer
- small improvements in code styling
- refactoring to get have the option to implement different parse for InfoCommands
- Get FWVersion by REST API call
- Display FWVersion in webui (only after REST API call)
2022-08-17 09:01:25 +02:00
Andreas Schiffler
16d348dc0b Improve MQTT Power Limit Handling 2022-08-16 19:09:59 +02:00
Marcel Alburg
1200ca0b79 first changes to prepare code for esp32 2022-08-15 22:42:08 +02:00
Andreas Schiffler
6ac3876092 Major Updates active power limit
See the User_Manual.md for more information about the functionality of the active power limit.
2022-08-15 20:56:54 +02:00
Andreas Schiffler
8a02c62995 Undo failed merge
- Sorry for the mess
2022-08-15 14:47:31 +02:00
Andreas Schiffler
36fb05a6dd Merge branch 'main' of https://github.com/grindylow/ahoy 2022-08-15 13:36:42 +02:00
lumapu
94796ae173 Merge branch 'refactor' 2022-08-14 21:07:39 +02:00
Andreas Schiffler
304e947656 Merge branch 'main' 2022-08-14 11:18:54 +02:00
fila612
1746492365 Add MF & MDL for MQTT (HASSIO-Discov.) - man. Ver. 2022-08-14 07:48:05 +02:00
lumapu
a5f975bbe4 * moved wifi related stuff to extra class 2022-08-14 03:00:04 +02:00
lumapu
74f053a5ae * webinterface refactored completely 2022-08-14 02:18:53 +02:00
lumapu
3c8a4c49a1 * first refactored version which is accessible through web interface 2022-08-14 01:40:55 +02:00
lumapu
15402dbd99 * merged showSetup (app + main) 2022-08-13 23:59:19 +02:00
lumapu
778f209eb5 * improved read / save to eep 2022-08-13 23:16:33 +02:00
lumapu
f1b19bccfe * improved mqtt settings 2022-08-13 03:07:09 +02:00
lumapu
f92a9509a1 * Zwischenstand, compile ok 2022-08-13 02:50:34 +02:00
lumapu
ccb9fb537d * main in app integriert, Zwischenstand 2022-08-13 02:15:56 +02:00
lumapu
c6e3cd39ba * started refactoring 2022-08-13 01:07:59 +02:00
lumapu
e1c713fb00 * make mClient in mqtt private again (#145)
* v0.5.10
2022-08-12 15:41:27 +02:00
Andreas Schiffler
2df60b8ad8 Merge branch 'main' of https://github.com/grindylow/ahoy 2022-08-12 14:06:29 +02:00
stefan123t
b663951206 0.5.9 fix PowerPFDev.Desc=0x0001 for PowerLimit 2022-08-12 12:12:24 +02:00
Andreas Schiffler
e3a6c69a4d power limit via rest api 2022-08-11 17:31:09 +02:00