Thomas Basler
0ec90e0000
webapp: Adjusted radio problem hint in home view to detect problems of nrf and cmt radios
2023-04-15 10:55:47 +02:00
Thomas Basler
8404dd57a7
Add a HoymilesRadio base class
...
This enables to have multiple radio implementations while the inverter classes just refere to the base class
2023-04-15 10:55:47 +02:00
Thomas Basler
d6028cbd50
Remove not required F() macro. Frees ~20kb flash.
2023-04-04 18:51:18 +02:00
Thomas Basler
acf413b616
webapp: Show inverter status in grey if polling is disabled (e.g. at night)
2023-04-03 22:25:32 +02:00
Thomas Basler
759f8b7208
Log errors if too less memory for webapi is available
2023-02-23 21:10:00 +01:00
Thomas Basler
3b7aef63f8
BREAKING CHANGE: Web API!
...
In order to support multiple AC channels in future the WebAPI had to be changed. AC and DC channels are now grouped in a sub object containing the channels beginning with 0.
2023-02-13 18:37:55 +01:00
Thomas Basler
ceaf08c1a0
Hoymiles Lib: Rename ChannelMaxPower to StringMaxPower
2023-02-06 19:56:12 +01:00
Thomas Basler
d4c838a16e
BREAKING CHANGE: Prometheus API!
...
Added additional field to the prometheus api which identifies a channel by it's type. That means that e.g. channel 0 exists for type AC and DC.
This commit also introduces a additional field in the statistics byte assignment table. This field identifies whether a channel is on the AC or DC side. MQTT and WebAPI is still compatible with the previous design.
2023-02-06 19:51:10 +01:00
Thomas Basler
8b60c29667
Replace all Serial by MessageOutput
2022-12-19 21:38:39 +01:00
Thomas Basler
54d94af487
Cleanup includes
2022-12-14 22:13:03 +01:00
Thomas Basler
2a19b46d52
Add authentication to websocket
2022-11-23 21:00:54 +01:00
Thomas Basler
510f0c59f9
Implement readonly security for API endpoints
2022-11-22 23:40:19 +01:00
Thomas Basler
f8b601f871
Show several hints and tips at Live View
...
This contains the following information:
* No connection to the NRF module possible
* No time set
* Default password used
2022-11-20 15:08:36 +01:00
Thomas Basler
fec84fd048
Show custom string name in Live View
2022-11-15 22:31:04 +01:00
Thomas Basler
5f55414c0a
Show Irradiation only in Live Data View if configured for specific channel
2022-11-15 22:31:04 +01:00
Thomas Basler
438ce36bab
Added sum values of all inverters to web UI
2022-11-01 16:33:20 +01:00
Thomas Basler
69b675bc64
BREAKING CHANGE: Structure WebAPI /api/livedata/status changed
...
The different inverter data are now in a subobject called "inverters".
This is required to extend the API by other data then the inverter values
2022-11-01 15:04:05 +01:00
Thomas Basler
4049f6bdb7
Implemented method to get the amount of relevant digits
2022-10-31 11:51:08 +01:00
Thomas Basler
f2a08ba503
Rename FLD_PCT to FLD_PF and assign UNIT_NONE
2022-10-31 00:43:07 +01:00
Thomas Basler
f741fea333
Move serial number formatting to inverter class
2022-10-29 11:22:56 +02:00
Thomas Basler
d37543fd95
Show current limit in header of live view
2022-10-14 19:16:37 +02:00
Thomas Basler
2447d57301
Fixed printf format strings
2022-10-04 23:33:09 +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
271c71e064
Replace ESPAsyncWebServer
...
Use fork from yubox-node-org instead of originial from me-no-dev
Maybe that fixes several issues with the websockets
2022-09-15 19:26:45 +02:00
Thomas Basler
327b4f97a4
Use reinterpret_cast<char*>(...) instead C-style cast
2022-09-15 19:00:07 +02:00
Thomas Basler
de33b9ff88
Do not use namespace using-directives. Use using-declarations instead.
2022-09-13 21:35:51 +02:00
Thomas Basler
6fdc27ddae
Replace sprintf by snprintf
2022-09-13 21:00:54 +02:00
Thomas Basler
991838ae2c
Added reactive power output and display
2022-08-10 20:40:26 +02:00
Thomas Basler
857e4a3671
Remove RequestType and place handling of response in the command class
2022-08-03 18:50:34 +02:00
Thomas Basler
3f8ee18de9
Added api endpoint to get livedata in json format with get request
2022-07-20 20:54:57 +02:00
Thomas Basler
184183e979
Move websocket stuff to liveview class
2022-07-20 19:36:07 +02:00
Thomas Basler
37aac48a19
Change License to GPLv2 as the RF24 lib uses GPL-2.0-only
2022-07-15 18:05:58 +02:00
Thomas Basler
5bb9acdbc6
Refactored Hoymiles Lib: Move statistics parser into separate class
2022-07-12 18:27:56 +02:00
Thomas Basler
96e66dde47
Changed order of properties in live view
2022-07-11 20:35:14 +02:00
Thomas Basler
4f4dcfda0b
Moved some strings to flash
2022-07-08 18:57:03 +02:00
Thomas Basler
997c54edb4
Added field to live view which shows amount of eventlog events
2022-07-08 18:54:52 +02:00
Thomas Basler
c28087ec86
Fix #21 : Display DC power in Live Data overview
2022-07-07 19:05:50 +02:00
Thomas Basler
2de865037c
Renamed functions
...
getValue --> getChannelFieldValue
hasValue --> hasChannelFieldValue
getUnit --> getChannelFieldUnit
getName --> getChannelFieldName
2022-06-24 17:53:37 +02:00
Thomas Basler
46d88c6520
Improoved websocket handling
2022-06-17 13:29:21 +02:00
Thomas Basler
1281893314
webapi: publish data age and critical status
2022-06-16 15:32:55 +02:00
Thomas Basler
af00158e14
First version of very simple websocket api
2022-06-16 01:44:42 +02:00