Commit Graph

1326 Commits

Author SHA1 Message Date
Thomas Basler
865d00d3d0 Code cleanup 2022-06-18 12:26:37 +02:00
Thomas Basler
b4aad4b3c7 webapp: select first inverter when loaded 2022-06-18 05:20:01 +02:00
Thomas Basler
670c2d6762 Show detected inverter type in webapp 2022-06-18 01:51:18 +02:00
Thomas Basler
df45541ae8 webapp: Optimized websocket handling
* auto reconnect
* Url generation
* Disconnect on component change
2022-06-18 01:37:47 +02:00
Thomas Basler
17cc2a475d Rename websocket from ws to livedata
Allows devServer to proxy websockets as well...
2022-06-18 01:14:31 +02:00
Thomas Basler
46d88c6520 Improoved websocket handling 2022-06-17 13:29:21 +02:00
Thomas Basler
f1566eaab7 webapp: Fix websocket url 2022-06-16 15:50:59 +02:00
Thomas Basler
1281893314 webapi: publish data age and critical status 2022-06-16 15:32:55 +02:00
Thomas Basler
d5e8f75ab0 webapp: added data age to live view 2022-06-16 15:32:32 +02:00
Thomas Basler
9265bc0add webapp: added publish interval parameter 2022-06-16 15:03:30 +02:00
Thomas Basler
7e0807bda6 Added cnfig parameter to set mqtt publish interval 2022-06-16 14:57:12 +02:00
Thomas Basler
52b5cdbdb6 Remove not required include 2022-06-16 14:34:21 +02:00
Thomas Basler
caa3407d3b Added additional documentation 2022-06-16 14:32:07 +02:00
Thomas Basler
ca07e23f91 webapi: added latest version 2022-06-16 14:31:48 +02:00
Thomas Basler
583bc7f366 Don't disable interrupts
Not needed as the flow is more less independent
2022-06-16 14:10:14 +02:00
Thomas Basler
81159fba4e webapp: Added live view 2022-06-16 13:52:07 +02:00
Thomas Basler
635606b845 Added first Readme.md file 2022-06-16 10:40:26 +02:00
Thomas Basler
7331ddc30e Added license file 2022-06-16 10:40:15 +02:00
Thomas Basler
9ba1eb6d7f Webapp: Added some text to About view 2022-06-16 01:45:09 +02:00
Thomas Basler
af00158e14 First version of very simple websocket api 2022-06-16 01:44:42 +02:00
Thomas Basler
1ea2990fe9 Remove not supported field 2022-06-16 01:18:39 +02:00
Thomas Basler
77ffe1385c Fixed serial number source 2022-06-16 00:55:09 +02:00
Thomas Basler
6849bd8f6d Webapp: Beautify different views 2022-06-16 00:01:17 +02:00
Thomas Basler
fc80c8d8ff Remove not required include 2022-06-15 23:46:37 +02:00
Thomas Basler
92abfdfaa6 Separated WebApi into different files 2022-06-15 23:46:22 +02:00
Thomas Basler
cae47a142a Implemented periodic called loop method in webapi 2022-06-15 22:53:05 +02:00
Thomas Basler
75bae16f92 Updated node dependencies 2022-06-15 22:38:23 +02:00
Thomas Basler
bab5beb170 Move strings from RAM to Flash 2022-06-15 22:21:50 +02:00
Thomas Basler
226a57b328 Fix config default values on empty config file 2022-06-15 22:17:16 +02:00
Thomas Basler
c9e603b2de Replace EVERY_N_SECONDS with millis
EVERY_N_SECONDS is not updated without a reboot of the controller
2022-06-15 22:15:02 +02:00
Thomas Basler
a4212f8aed Resize partitions 2022-06-15 22:07:39 +02:00
Thomas Basler
b893257696 Format config partition if mount failed 2022-06-15 22:07:30 +02:00
Thomas Basler
e3ded34020 Publish inverter stats only if values are updated 2022-06-15 21:50:49 +02:00
Thomas Basler
0cc80126fa Added first implementation of mqtt publishing 2022-06-15 21:37:25 +02:00
Thomas Basler
fedd024413 Optimize lwt topic 2022-06-15 21:16:34 +02:00
Thomas Basler
98fa8be90e Publish messages with qos = 0 to speed up process 2022-06-15 21:11:08 +02:00
Thomas Basler
5978c0e71f Fixed issue in getValue 2022-06-15 20:16:37 +02:00
Thomas Basler
0d7cef5f60 Fixed issue of wrong detected byteAssignment length 2022-06-15 20:03:23 +02:00
Thomas Basler
9bfe6a9e63 First simple implementation of polling algorithm 2022-06-15 19:23:47 +02:00
Thomas Basler
37dbb343a9 Added additional inverter definitions 2022-06-14 21:02:51 +02:00
Thomas Basler
effd983e6d Added class to handle timeouts 2022-06-08 23:04:45 +02:00
Thomas Basler
8842968a22 Fixed name size and added blank function to clear rx buffer 2022-06-05 13:28:50 +02:00
Thomas Basler
ded6dc5977 Fixed hex vs dec in inv dectection 2022-06-05 13:10:25 +02:00
Thomas Basler
d9d6c3b27d Find inverter on fragment receive 2022-05-31 19:37:28 +02:00
Thomas Basler
0d9b994c92 Added function t retrieve a inverter just by a given payload fragment 2022-05-31 19:29:05 +02:00
Thomas Basler
b597e907de Fixed issue in webapi that a inverter serial has to be read as hex 2022-05-31 19:26:26 +02:00
Thomas Basler
87da5ef63d Renamed packet_t to fragment_t and implemented fragment crc check 2022-05-31 18:53:45 +02:00
Thomas Basler
891b2b2917 Fix encoding header for favicon 2022-05-30 23:20:15 +02:00
Thomas Basler
5b0fef5eed webapp: add latest compiled binary blob 2022-05-30 22:06:33 +02:00
Thomas Basler
4c0bccb60b webapp: beautify favicon 2022-05-30 22:06:13 +02:00