Commit Graph

1537 Commits

Author SHA1 Message Date
Thomas Basler
a974e217df Fix #1335: Only the first inverter was set to zero at midnight via mqtt 2023-09-13 18:46:23 +02:00
Thomas Basler
a0f9d22395 webapp: add app.js.gz 2023-09-11 20:05:12 +02:00
Thomas Basler
555b6c6750 Fix: HASS exp_aft should be based on reachable threshold and poll interval 2023-09-11 19:53:05 +02:00
Thomas Basler
55e98bc068 webapp: Update dependencies 2023-09-11 18:24:23 +02:00
Thomas Basler
3a3adb4723 Completly ignore a disabled (polling + command) inverter.
This leads to higher update rates on still enabled inverters.
2023-09-10 11:49:41 +02:00
Thomas Basler
8023b6620a Fix: Ignore incomplete SystemConfigPara packages
Some inverters seem to transmit too less and incomplete data. These packages will be ignored now.
2023-09-07 23:10:01 +02:00
Thomas Basler
0260af9ada Hoymiles Lib: Move semaphore handing into parser base class 2023-09-07 22:08:07 +02:00
Thomas Basler
9ac6dd6e8d Feature: First very basic support to read the grid profile
The parser is still missing and requires community support to collect data.
2023-09-07 22:08:07 +02:00
Thomas Basler
1acefd8b8c Fix: Do not resend fetch limit request if the last one failed
Due to side effects it is possible that the inverter receives the request but the DTU does not receive the answer. In this case the DTU would resend the request but the inverter would generate a event log entry (DTU command failed) because it received the message twice.
2023-09-05 22:09:16 +02:00
Thomas Basler
ec9af886d5 Feature: Added option to set daily yield to zero at midnight 2023-09-05 20:27:52 +02:00
Thomas Basler
23dd248073 webapp: Update dependencies 2023-09-04 19:57:23 +02:00
Thomas Basler
c46f85db9c webapp: Use max field to determine whether to show a string or not 2023-09-04 19:54:07 +02:00
Thomas Basler
1df8285833 Feature: Add configured max irradiation to live data api 2023-09-04 19:53:33 +02:00
Thomas Basler
7d90937d0f Publish mqtt string stats values periodically if they are set to zero if unreachable 2023-09-04 18:20:51 +02:00
Thomas Basler
abf95634db Replace platform dependent variable types by platform independent 2023-09-03 23:27:53 +02:00
Thomas Basler
55afa81cf1 Convert from FreeRTOS Semaphore to std::mutex 2023-09-02 16:46:23 +02:00
Thomas Basler
986d67a3d0 Fix: Better reconnect handling in Live View if invalid data where received 2023-09-02 12:22:55 +02:00
Thomas Basler
6127fbe940 Feature: Added option to set runtime values to zero when inverter becames unreachable 2023-09-02 12:22:22 +02:00
Thomas Basler
4f85d5286d Simplify debug output 2023-09-02 02:14:08 +02:00
Thomas Basler
9dec05def8 Fix: Check if valid data was received from websocket before assigning it
Otherwise it can lead to exceptions in inverterData method
2023-09-02 01:43:20 +02:00
Thomas Basler
b34b22c658 Fix: Workaround: Don't allow memory intensive web functions in parallel
Somehow the API has to be adjusted to reduce memory consumption. For now lets just prevent both methods to allocate memory at the same time.
2023-09-02 01:41:53 +02:00
Thomas Basler
2c41be106e Feature: Allow setting of the Reachable Threshold per inverter 2023-09-01 19:17:12 +02:00
Thomas Basler
c5f9f460cd Feature: Added config option to change MQTT CleanSession Flag 2023-09-01 18:03:30 +02:00
Thomas Basler
b95236c170 Feature: webapp: Move inverter settings into different tabs 2023-09-01 00:20:56 +02:00
Thomas Basler
72e3001d43 webapp: Update dependencies 2023-09-01 00:08:56 +02:00
Thomas Basler
094fadb2ee Update espressif32 from 6.3.2 to 6.4.0 2023-09-01 00:02:47 +02:00
Thomas Basler
34b3dad252 Upgrade espMqttClient from 1.4.4 to 1.4.5 2023-08-31 23:55:48 +02:00
Thomas Basler
3f1b6be857 Merge branch 'pr1271' into dev 2023-08-28 18:40:28 +02:00
Thomas Basler
8bf6935693 webapp: Update dependencies 2023-08-28 18:39:30 +02:00
Thomas Basler
701c490654 Feature: Turn off Display before reboot
Thanks for the idea to @StefanOberhumer
This prevents always on Display if the device profile does not contain Display pins anymore after the reboot
2023-08-25 16:57:24 +02:00
Thomas Basler
c91bd42a77 Feature: Turn off LEDs before reboot
Thanks for the idea to @StefanOberhumer
This prevents always on LEDs if the device profile does not contain LEDs pins anymore after the reboot
2023-08-25 13:15:55 +02:00
Thomas Basler
77a90095d9 Move different restart calls into one method 2023-08-25 12:58:53 +02:00
Thomas Basler
b88030f76e Feature: Re-Request DevInfo if it contains invalid data
It can sometimes occour that the DevInfo request returns invalid data. Currently this is identified if the firmware build year is < 2016. In this case the package will be re-requested now.
2023-08-25 11:04:14 +02:00
Simon Schwarz
1e26e87bc2 Added a pin profile where the nrf24 module can be soldered directly.
Also added a profile with SSD1306 display
2023-08-24 22:02:02 +02:00
Thomas Basler
08ca221410 webapp: add app.js.gz 2023-08-22 18:55:25 +02:00
Thomas Basler
e2594ac843 Fix: Calculate the json buffer for the inverter list based on INV_MAX_COUNT 2023-08-22 17:05:46 +02:00
Thomas Basler
6429d64062 Prometheus Endpoint: Simplify code by looping over fields instead of duplicated code 2023-08-22 13:00:52 +02:00
Thomas Basler
4bf9083b23 Prometheus Endpoint: Publish only relevant amount of digits
Implemented method to return the correctly formatted field value as string
2023-08-22 11:45:14 +02:00
Thomas Basler
b025c079c5 Merge branch 'pr1257' into dev 2023-08-22 10:43:37 +02:00
Thomas Basler
0c5aef8599 webapp: Update dependencies 2023-08-22 10:43:31 +02:00
Bernhard Roth
6eb3c63288 Fix issue #1256 (HMS-2000-4T reactive power should be signed) 2023-08-21 11:14:24 +02:00
Thomas Basler
4bf094c3ef webapp: Update default proxy ip 2023-08-09 18:23:50 +02:00
Thomas Basler
871dc051d7 Merge branch 'pr1229' into dev 2023-08-09 18:22:58 +02:00
Stefan Schultheis, OE1SCS
629ede3cbd Update en.json
typo. power safe != power save
2023-08-09 18:21:36 +02:00
Stefan Schultheis, OE1SCS
94f6078c9e Update de.json
bessere Übersetzung
2023-08-09 18:20:36 +02:00
Bernhard Kirchen
452679e90b make vite proxy target easily configurable
the current proxy target IP address is probably only working for a
single developer at a time. this change introduces a vite.user.ts, which
is ingored by GIT, and which can define a proxy_target that works for
the respective developer.

this does not change the default behavior, as the fallback value is
still the old IP address. if the new vite.user.ts file does not exist,
or if it does not export proxy_target, the fallback value is used.

file vite.config.ts adds an example in a comment of how to bootstrap a
vite.user.ts.
2023-08-09 16:58:58 +02:00
Thomas Basler
b71106c9ef webapp: add app.js.gz 2023-08-08 22:54:07 +02:00
Thomas Basler
ac4ddbe23d webapp: Fix lint error 2023-08-08 22:50:30 +02:00
Thomas Basler
3d67d934c1 webapp: Update dependencies 2023-08-08 22:50:09 +02:00
Thomas Basler
9179b672f5 Use lock_guard to simplify code 2023-08-05 01:25:53 +02:00