Commit graph

130 commits

Author SHA1 Message Date
lumapu
3212aeb142 code review: added check if mqtt is enabled before sending out values 2022-08-25 09:59:21 +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
HorstG-57
ef520b65ec in app.h defines eingebaut mit dem sich das verhalten der app in Bezug auf MQTT anpassen läst
in app.cpp bedingte Compiler Abschnitte eingebaut
2022-08-10 23:49:38 +02:00
HorstG-57
4dc64eb2d7 Meine anpassungen wegen
MQTT Intervall
	MQTT Test

	MQTT Subscribe muss nur nach dem MQTT Connect nicht bei jedem Connect Check
2022-08-10 23:15:50 +02:00
Andreas Schiffler
14b6e08532 alarm handling 2022-08-10 10:41:38 +02:00
Andreas Schiffler
4237a33b9c prevent to switch off by sending zero as pwr limit 2022-08-10 09:34:14 +02:00
Andreas Schiffler
4be61785d0 Merge branch 'main' of https://github.com/grindylow/ahoy 2022-08-10 09:28:37 +02:00
lumapu
155f9e3f41 * new NRF24 lib (1.4.2 -> 1.4.5)
* add build info on index.html (like OpenDTU)
* add Discord Link to index.html
2022-08-08 22:06:33 +02:00
Andreas Schiffler
406e7fdb8f handling of reactive power limit 2022-08-08 10:38:12 +02:00
Andreas Schiffler
3b86d4d3b3 added reactive power in overview page 2022-08-07 19:39:31 +02:00
Andreas Schiffler
7050da5c8e Merge remote-tracking branch 'upstream/main' into pwrlimit 2022-08-07 19:02:28 +02:00
Andreas Schiffler
03bb7fbb88 bugfix pointer for pwr limit data 2022-08-07 18:42:21 +02:00
Andreas Schiffler
028aedb788 prototype webapi to get info, improved pwr limit 2022-08-07 17:27:50 +02:00
stefan123t
6256c7a178
Merge branch 'main' into main 2022-08-07 01:23:31 +02:00
stefan123t
2c177fbfa8 add #114 ntp_server_name and port to eeprom 2022-08-07 01:10:42 +02:00
Andreas Schiffler
c915e44557 Removed set power limit to zero in intial case 2022-08-06 18:23:49 +02:00
Andreas Schiffler
6032a5ad41 Merge branch 'upstream/HEAD' into control 2022-08-05 13:43:37 +02:00