Thomas Basler
9674e32c0c
Return only the eventlog of one inverter
...
- Fix #131
- Prevent large responses in case of many inverters + many log entries
2022-09-12 18:48:18 +02:00
Thomas Basler
2f43acbde7
Publish current inverter limit settings via mqtt
2022-09-09 20:18:00 +02:00
Thomas Basler
46367c4fa9
Added webapi to fetch current inverter limit
2022-09-09 18:43:21 +02:00
Thomas Basler
99a34d0901
Publish WiFi RSSI via mqtt
2022-09-08 19:24:22 +02:00
Thomas Basler
86f01e5cc4
webapp: Show complete generated hostname in network info view
2022-09-06 18:45:32 +02:00
Thomas Basler
f5328100b6
Fixed hostname generation and hostname assignment
2022-09-06 18:44:26 +02:00
Thomas Basler
31e56f6c2b
Code hardening: introduce const keyword
2022-09-05 21:41:45 +02:00
Thomas Basler
83ca402306
Merge branch 'pr114'
2022-09-05 20:10:08 +02:00
battifreund
b4137d4da9
Option for expire_after
2022-08-31 23:35:28 +02:00
Thomas Basler
dbf692d90b
Fix #92 : Expiration time depends on the amount of inverters
2022-08-27 13:07:00 +02:00
Martin Dummer
c7448d460a
src/Configuration.cpp: fix homeassistant discovery config
...
On a fresh installed openDTU esp32, the mqtt discovery prefix
topic does not match the default value of homeassistant, due to a wrong
assignment in src/Configuration.cpp.
This patch fixes it.
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
2022-08-27 12:11:31 +02:00
Hacks
7f354fb7de
corrected buffer usage
2022-08-27 11:43:47 +02:00
Thomas Basler
26268479fb
Fix #96 and #95 : Reworked handling of inverter editing
2022-08-24 02:53:34 +02:00
Thomas Basler
1456974616
Fix #76 : Null Pointer exception when adding a inverter with unkonwn serial number
2022-08-16 19:47:51 +02:00
Thomas Basler
304afb758a
Added additional debug output during the initialization of the hoymiles interface
2022-08-14 13:49:05 +02:00
Thomas Basler
217fddf405
Added small dialog to show inverter info (firmware version etc.)
2022-08-11 16:42:50 +02:00
Thomas Basler
991838ae2c
Added reactive power output and display
2022-08-10 20:40:26 +02:00
Thomas Basler
e040328d61
Added mqtt publish for hardware version and part number
2022-08-10 20:13:07 +02:00
Thomas Basler
f566a8c522
Implemented parser methods and publish to mqtt
2022-08-10 19:03:02 +02:00
Thomas Basler
35a72acf34
Fix #71 : Extend mqtt hostname from 31 characters to 128 characters
2022-08-10 18:59:30 +02:00
Thomas Basler
80f7ba86d7
Fix #70 : MQTT Messages where published even if no broker connection was established
2022-08-10 18:42:12 +02:00
helgeerbe
4435fbcdad
Add support for MQTT TLS
...
To support TLS its necessary to use another MQTT library.
The new lib is a drop-in replacement for the async-mqtt-client.
2022-08-06 00:14:44 +02:00
Thomas Basler
3789183ca3
Fix #45 : Dont allow spaces in MQTT topics
2022-08-03 21:23:22 +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
608912e9f3
Show network status (WiFi/Ethernet) in network info view
2022-07-20 19:21:31 +02:00
Thomas Basler
a17e668c8c
Don't output unknown network events
2022-07-19 22:12:21 +02:00
Thomas Basler
c022b8696b
Implemented serveal global network functions which are independent of the medium (wifi / ethernet)
2022-07-19 21:53:04 +02:00
Thomas Basler
69959db93c
Output IP to serial console
2022-07-19 21:27:36 +02:00
Thomas Basler
c7aa22ce6c
Renamed WifiSettings to NetworkSettings and implemented first ethernet initialization
2022-07-19 21:27:36 +02:00
Thomas Basler
526137da98
Publish HASS config when deleting, editing or adding a inverter
2022-07-18 23:34:32 +02:00
Thomas Basler
1124a9aaa1
Implemented first version of Home Assistant Auto Discovery
2022-07-18 22:28:03 +02:00
Thomas Basler
db0e0c67ce
Simplify MqttPublishing
...
* Moved all fields to an array
* Moved target topic generation to separate method
2022-07-18 19:13:58 +02:00
Thomas Basler
bb52d24c25
Implemented public getPrefix method to get the mqtt topic prefix
2022-07-18 19:08:38 +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
c2a7f487f1
Updated structure of eventlog json
2022-07-09 11:34:44 +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
f7eb54fa41
First version of webapi for event log
2022-07-08 18:22:35 +02:00
Thomas Basler
c28087ec86
Fix #21 : Display DC power in Live Data overview
2022-07-07 19:05:50 +02:00
Thomas Basler
8b939f9418
Rename variables to match code style
2022-07-06 19:25:30 +02:00
Axel Hinrichs
401e6739cd
[WebApi] rate limit ws cleanup (1/s)
2022-07-05 23:42:07 +02:00
Axel Hinrichs
48f540dad1
[WebApi_webapp] app.js caching via ETag
2022-07-04 16:50:34 +02:00
Thomas Basler
712be3fc15
Code cleanup
2022-07-01 23:38:51 +02:00
Thomas Basler
cf273c93e7
Fixed 404 error when pressing refresh in webapp
2022-07-01 23:32:11 +02:00
Thomas Basler
b454f0c01f
Renamed topic again
2022-07-01 18:38:34 +02:00
Thomas Basler
d5f32d8325
Fixes ( #8 ). Power values on CH0 are published twice
...
The larger value was DC the smaller one AC. Now the values are published to different topics
2022-07-01 18:36:43 +02:00