Commit Graph

531 Commits

Author SHA1 Message Date
Thomas Basler
f6a416bf8f webapp: Added turnon/turnoff dialogue 2022-10-04 19:38:35 +02:00
Thomas Basler
3816320f1e Implemented WebAPI to get status of last power command 2022-10-04 18:48:21 +02:00
Thomas Basler
14bad84031 Added WebAPI to control inverter power 2022-10-04 18:12:55 +02:00
Thomas Basler
4031b71d7d Implemented resend of PowerCommand 2022-10-04 18:12:55 +02:00
Thomas Basler
eec04de044 Added MQTT Topic to turn inverter on and off 2022-10-04 18:12:55 +02:00
Thomas Basler
0fd714b165 Implemented first few classes for power control
TurnOn and TurnOff
2022-10-04 18:12:55 +02:00
Thomas Basler
18342d14f1 webapp: Added compiled app.js.gz 2022-10-04 18:12:38 +02:00
Thomas Basler
7b2ad96475 webapp: Update dependencies 2022-10-04 18:12:22 +02:00
Thomas Basler
a59dba2dd0 webapp: added compiled app.js.gz 2022-10-03 22:55:44 +02:00
Thomas Basler
bcdd7b7f86 webapp: Update dependencies 2022-10-03 22:54:48 +02:00
Thomas Basler
647966428a Updated dependencies 2022-10-03 22:48:55 +02:00
Thomas Basler
66453b0854 Return correct formatted HwVersion 2022-10-03 13:58:50 +02:00
Thomas Basler
6cbcfacac6 Renamed several methods from Sample to Simple 2022-10-03 13:14:31 +02:00
Thomas Basler
b2a30621db Extended and updated event log texts 2022-10-02 23:52:35 +02:00
Thomas Basler
eef6c37de9 Beautify serial output of package log 2022-10-02 18:43:19 +02:00
Thomas Basler
18ec145dda Added command names to serial output 2022-10-02 17:17:34 +02:00
Thomas Basler
c8c6b2a978 Renamed DevInfoSample to DevInfoSimple 2022-10-02 17:01:46 +02:00
Thomas Basler
a3d9c6ae0f Fixed array size of 1 channel inverters 2022-10-02 16:04:02 +02:00
Thomas Basler
67e0d0274d Code cleanup: Remove not required comments 2022-10-02 15:44:33 +02:00
Thomas Basler
1aef350c2e Remove not required method isA() 2022-10-02 15:43:11 +02:00
Thomas Basler
ef2b6aa560 Update MQTT documentation
* Show hostname
2022-10-02 15:22:56 +02:00
Thomas Basler
2871be36cf Added additional hint regarding power limit to documentation 2022-10-02 13:25:03 +02:00
Thomas Basler
76bf5ec69b Fix cpplint: Replace strtok by strtok_r 2022-10-02 12:37:55 +02:00
Thomas Basler
2a71be06ab Fix cpplint: Adjust syntax of todo comment 2022-10-02 12:34:25 +02:00
Thomas Basler
989026d049 Fix cpplint: make one argument constructor explicit 2022-10-02 12:33:23 +02:00
Thomas Basler
8572c37ab8 Adjusted readme, remove todo from setting limit 2022-10-02 12:14:46 +02:00
Thomas Basler
0afb5015f6 webapp: added compiled app.js.gz 2022-10-02 11:35:29 +02:00
Thomas Basler
747335f23f Publish hostname via mqtt 2022-10-01 12:32:31 +02:00
Thomas Basler
bd17ca5199 webapp: Add "Not Producing" indicator 2022-10-01 12:20:31 +02:00
Thomas Basler
00b1ff84be Rename age_critical to rechable in web api
Also use new method to determine whether the inverter is reachable
2022-10-01 10:48:17 +02:00
Thomas Basler
4fe2111173 Implemented MQTT topics reachable and producing per inverter 2022-10-01 10:47:19 +02:00
Thomas Basler
862b65e844 Added method to detect whether an inverter is reachable 2022-10-01 02:16:47 +02:00
Thomas Basler
a261eb838c Added method to detect whether a inverter is producing 2022-10-01 02:00:56 +02:00
Thomas Basler
3d68f502c4 Rename MQTT topic settings/limit to status/limit_relative 2022-10-01 01:45:10 +02:00
Thomas Basler
557a301c09 webapp: Show status of last limit set command 2022-10-01 00:43:11 +02:00
Thomas Basler
dcaadf26a9 WebAPI: Add status of last set limit command 2022-10-01 00:42:29 +02:00
Thomas Basler
4fd2f3ca78 Added link to screenshots 2022-09-30 18:50:46 +02:00
Thomas Basler
ab7cbb961b Added MQTT Topic documentation 2022-09-30 18:46:22 +02:00
Thomas Basler
5964b91d49 webapp: Implemented first dialogue to set the inverter limit 2022-09-30 18:34:30 +02:00
Thomas Basler
a5e68ef096 Fixed several issues in the web api to set the limit 2022-09-30 18:34:30 +02:00
Thomas Basler
754913368a Implemented way to periodically fetch the current limit from the inverter
The fetch is only executed at least 4 minutes after the last set command.
Otherwise it would generate a entry in the event log (ID 2)
2022-09-30 18:34:30 +02:00
Thomas Basler
3153ee4993 Implemented getTimeout method in AlarmDataCommand 2022-09-30 18:34:30 +02:00
Thomas Basler
0af809e4ea Do not appy settings if mqtt was retained and topic was non-persistent 2022-09-30 18:34:30 +02:00
Thomas Basler
a707ab501d Implemented method to check whether the last command was successfull
This also allows to retransmit the command after specific time if not successfull
2022-09-30 18:34:30 +02:00
Thomas Basler
a8ee8afb17 Set correct timeout for DevControlCommand 2022-09-30 18:34:30 +02:00
Thomas Basler
ace5c33518 Set PowerLimit on mqtt request 2022-09-30 18:34:30 +02:00
Thomas Basler
eb261908af Perform topic parsing 2022-09-30 18:34:30 +02:00
Thomas Basler
ba2d6ab6d1 Implement callback to subscribe to topics 2022-09-30 18:34:30 +02:00
Thomas Basler
d57a5f7ea6 Added web api to set limit 2022-09-30 18:34:30 +02:00
Thomas Basler
a2880cc447 Add RX main command to structure which is passed to handleResponse
This is required because the DevControlCommands just set the first byte to define whether the request was successfull or not
2022-09-30 18:34:30 +02:00