Commit Graph

310 Commits

Author SHA1 Message Date
MalteSchm
e0a8da84d7 full solar passthrough 2023-06-09 13:09:58 +02:00
helgeerbe
8298a0c36f
Merge pull request #255 from madmartin:inverter_restart
Feature: add daily restart for the inverter
2023-06-05 10:10:14 +02:00
Martin Dummer
c727e21a49
Feature: add daily restart for the inverter
Add a configurable restart option for the inverter to set the "YieldDay"
values to zero.

Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
2023-06-04 09:14:42 +02:00
MalteSchm
e7c8a89bd3 inital version of full solar passthrough
Webinterface change to set full solar passthrough values

Adding webapi and config changes to enable full solar passthrough over certain battery Soc

inital version of full solar passthrough in power limiter

Passthrough mode can be enabled via MQTT

translations

re-enable comment

remove unused variable
2023-06-02 12:49:24 +02:00
Thomas Basler
5a37948ca9 Fix: If no sunset/sunrise calculation is possible a wrong value is shown
This is catched now and a proper message is shown in the web UI. Also the mode is set to day.
2023-06-01 18:39:50 +02:00
Thomas Basler
1c8bd8091b Feature: Allow reordering of the inverters in the live view
Reordering can be done in the inverter settings via drag&drop.
2023-05-29 20:17:07 +02:00
Thomas Basler
e7198073af Feature: Allow configuration of sunset type 2023-05-24 19:21:44 +02:00
helgeerbe
a3e7439181 fix(action): sort tags in chronological order 2023-05-24 09:13:04 +02:00
Thomas Basler
752362d2df Feature: Added localization setting to display
Its possible to change the language of the display
2023-05-23 18:25:12 +02:00
helgeerbe
dae4c6fbf5 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-04-28 22:38:39 +02:00
Thomas Basler
58214ccbea Fix: webapp console: Only add the date at the beginning if the last character was a newline 2023-04-28 21:03:45 +02:00
helgeerbe
80f1af32f8 Fix: Link to git hash references onBattery repo now 2023-04-27 21:55:07 +02:00
helgeerbe
46c733ca31 Revert "Fix: Link to git hash references onBattery repo"
This reverts commit 23b35d9b00.
2023-04-27 21:45:50 +02:00
helgeerbe
23b35d9b00 Fix: Link to git hash references onBattery repo
now
2023-04-27 20:15:57 +02:00
helgeerbe
37b5edb010 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-04-25 18:51:18 +02:00
Thomas Basler
b2c249a711 webapp: Enable stricter error reporting 2023-04-24 20:31:24 +02:00
MalteSchm
8764809259 Webapp update do display power values 2023-04-23 18:49:32 +02:00
Thomas Basler
04f62e03b8 BREAKING CHANGE: Web API Endpoint /api/eventlog/status no nested serial object
It's not required as the  eventlog just contains events from requested inverter
2023-04-20 22:41:55 +02:00
helgeerbe
84a6ed540d Merge branch 've.direct-hex' into development 2023-04-19 14:33:00 +02:00
helgeerbe
6a9585cd1e Fix: Power Limiter Settings / cannot set permitted current below zero helgeerbe/OpenDTU-OnBattery#171 2023-04-19 14:19:26 +02:00
helgeerbe
a1b3bdfee8 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-04-18 12:09:22 +02:00
Thomas Basler
59f43a82a8 BREAKING CHANGE: Web API Endpoint /api/devinfo/status requires GET parameter inv=
Only the requested inverter is sent to the client. This reduces the size of the json response --> Less memory.

It should also fix #814.
2023-04-17 21:48:16 +02:00
helgeerbe
40cee1f9ca Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-04-17 11:08:55 +02:00
Thomas Basler
d6c2a4ba1c webapp: Remove hard coded texts in dtuadmin view 2023-04-15 10:55:48 +02:00
Thomas Basler
ac5df9a91d webapp: Implement CMT pa level as range control 2023-04-15 10:55:48 +02:00
Thomas Basler
1e7b16adb9 webapp: Nicer cmt frequency input 2023-04-15 10:55:48 +02:00
Thomas Basler
371e405eed Added configuration of CMT modules frequency to webapp 2023-04-15 10:55:48 +02:00
Thomas Basler
854fcdaeae Allow configuration of the TX PA Level of the CMT2300A module 2023-04-15 10:55:48 +02:00
Thomas Basler
3e1b778565 Change max power limit from 1500W to 2250W to support HMS/HMT inverters 2023-04-15 10:55:47 +02:00
helgeerbe
1dc73f91ee Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-04-13 10:18:49 +02:00
Thomas Basler
0f1b3f1560 webapp: Implement combo boxes again as objects
1. Key  is a magic number which is used in the c++ backend
2. Based on the object model some further extension will be done soon
2023-04-12 19:58:34 +02:00
Thomas Basler
ebaccc9b3f Merge branch 'pr801' into dev 2023-04-12 19:35:58 +02:00
MalteSchm
43f7553cdd removing commented lines 2023-04-12 15:56:33 +02:00
MalteSchm
72289cda1a fixed linting issues, pushing to github for test run 2023-04-12 13:21:32 +02:00
Martin Dummer
971ae6d1be
Feature: MQTT add TLS authentication
User asked for TLS client certificate based login from DTU to MQTT
server. This PR implements storage and use of x509 client certificate
and private key.

Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
2023-04-12 08:33:10 +02:00
fischaxe
d2d0790d90 fix: broken hardware profile handling on lang switch 2023-04-11 10:44:25 +02:00
fischaxe
9e2d7b479b fix: display rotation didn't adapt language changes 2023-04-11 09:47:27 +02:00
fischaxe
a01b9fc141 fix: pa level didn't listen to language switching 2023-04-11 09:47:24 +02:00
helgeerbe
71128e5a55 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-04-11 09:37:56 +02:00
qubeck
00def1d8d1
Generic SML based power meters support (#146)
* add support for energy & power readings on SML based power meters, taking OBIS 16.7.1 for power (using mod. SML Parser lib. by olliiiver)

* switched SML read to use software serial

* made total power meter response controled by meter source to obtain either the sum of phase powers or explicit total power provided by meter

* made mqtt subscriptions to power meter topics meter source dependend

* simplified SML read loop and OBIS handler registration, + minor refactoring

* minor cleanup/style changes and optim. PowerMeter

* fixed build, add SOURCE_SML == 4

* removed optional usage of HW serial for SML power meter

* switched to usage of _powerMeter1Power for SML power reading to allign better with existing code

---------

Co-authored-by: helgeerbe <helge@erbehome.de>
2023-04-07 20:20:00 +02:00
Thomas Basler
477eb6cfd6 Feature: Link to release page instead to commits page in Firmware Info
The Firmware Version link now referes to the release page if the given hash is a tag. It referes to the commits page if it's really a hash. (Implements #778)
2023-04-06 22:36:33 +02:00
helgeerbe
ef51d75f2c Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-04-06 10:46:02 +02:00
berni2288
09fb0618b4
Merge branch 'MalteSchm-webinterface_summary_updates' into development 2023-04-05 22:27:17 +02:00
Thomas Basler
e961872f14 Fix: Handle format "v0.1-5-gabcdefh" of git hash 2023-04-05 19:34:47 +02:00
Thomas Basler
dab5b4d723 webapp: Show inverter status in grey if polling is disabled (e.g. at night) 2023-04-05 11:52:35 +02:00
Thomas Basler
53b965651d webapp: Implemented reload button for info views 2023-04-05 11:51:09 +02:00
Thomas Basler
d8a15c39cb webapp: Fix typos 2023-04-05 11:51:09 +02:00
MalteSchm
459f9ffc2c merging branches 2023-04-04 21:43:24 +02:00
MalteSchm
2950f55879 Webinterface updates 2023-04-04 21:32:40 +02:00
Thomas Basler
3e4747e4b0 webapp: Only cut first char of git_hash if it equals "g" 2023-04-04 20:50:47 +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
Bernhard Kaszt
e35254c8f2
New Power meter support: HTTP(S) + JSON (Shelly 3EM, Tasmota, Volkszähler etc.) (#153)
* Implement HTTP(s) + JSON type Power Meter support

---------

Co-authored-by: Bernhard Kaszt <berni@bcserv.eu>
2023-04-03 21:36:20 +02:00
MalteSchm
20bb7fc372
Show (Pylontech) battery infos in Live View
* adding data age to battery data

* Add battery enabled flag

* Webapi and websocket api for Battery

* Webinterface for battery

* fixed bug due to naming inconsistencies

* cleaned up rounding

* dist update

* change typename to uppercase

* reverting to original file
2023-04-02 20:58:28 +02:00
MalteSchm
fa5b52210a Webinterface for battery 2023-04-02 13:03:03 +02:00
Thomas Basler
d03b8f6e5b webapp: Implemented reload button for info views 2023-03-31 20:05:06 +02:00
helgeerbe
b3c17c8ee8 Merge branch 'pr/MalteSchm/144' into development 2023-03-27 22:16:53 +02:00
helgeerbe
e0a80734f3 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-03-27 21:10:03 +02:00
Thomas Basler
8959795304 webapp: Fix typos 2023-03-27 19:03:18 +02:00
MalteSchm
a4767827b4 merging master 2023-03-26 11:25:08 +02:00
MalteSchm
0e2b7767c7 Webapp changes to display Huawei PSU values and to enable/disable the unit 2023-03-26 11:06:51 +02:00
Thomas Basler
8d8c7f8a71 Fixed typo: Successfull --> Successful 2023-03-23 23:30:55 +01:00
helgeerbe
d96be997ac hide power meter settigs if disabled 2023-03-22 12:07:43 +01:00
Adminius
05a5b2367b PowerMeter Class + SDM PowerMeter support 2023-03-21 23:46:54 +01:00
helgeerbe
06370baa0e Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-03-18 22:42:05 +01:00
helgeerbe
46ce6ad50f Implement battery drain strategies:
- empty when full
- empty at night
2023-03-16 17:48:22 +01:00
Thomas Basler
2e33f5cd51 Display: Implement rotation setting and removed icons 2023-03-15 20:20:14 +01:00
Martin Dummer
850e26719b
NtpAdminView.vue: swap GPS coordinates to Latitude/Longitude
The common way to display GPS coordinates is Latitude+Longitude
Swap the fields in NtpAdminView.vue

Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
2023-03-11 15:43:59 +01:00
helgeerbe
a79f7b2026 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-03-09 10:52:46 +01:00
Bernhard Kaszt
a66f818e75 Hide Victron Ve.direct UI elements from Live page when disabled
Resolves #91
2023-03-08 19:54:19 +01:00
Thomas Basler
61795172ff Fix #670: Incorrect hiding of unused strings in Live View 2023-03-08 12:55:44 +01:00
helgeerbe
9f2d79f2dc Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-03-03 10:53:43 +01:00
Thomas Basler
220884f72e Implement #633: Show only strings with irridiation > 0
If no irridiation is entered for all strings, all strings are shown.
2023-02-28 19:41:07 +01:00
helgeerbe
3b62d5708a Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-02-27 07:42:46 +01:00
helgeerbe
17dd9db946 set min target power consumption to 0 2023-02-25 20:17:25 +01:00
helgeerbe
43815f6711 power limiter make fields mandtory 2023-02-25 17:25:02 +01:00
helgeerbe
28b24d01ad implement UI for target power consumption 2023-02-24 16:13:32 +01:00
Thomas Basler
3c9639bb53 WebApp: Show additional inverter info in DevInfo dialog
* Production Year
* Production Week
2023-02-23 23:08:16 +01:00
helgeerbe
10f907477d fix name for inverter id and channel id 2023-02-23 22:41:37 +01:00
helgeerbe
56151b0d12 make inverter and channel selectable 2023-02-23 21:46:59 +01:00
helgeerbe
a2473645a5 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-02-23 12:01:34 +01:00
helgeerbe
f560f25302 initial merge of power_limiter * missing is inverter and channel setting in gui
* due to bug _webApiPrometheus.init is commented out
2023-02-20 15:56:02 +01:00
Thomas Basler
42b60060a1 webapp: Change badge style and encapsulate it into component 2023-02-18 23:20:08 +01:00
Thomas Basler
f6dedf7adb webapp: Add missing translations 2023-02-18 22:04:18 +01:00
Thomas Basler
e5e236510e webapp: Add additional hint that no data is received if no sun is shining 2023-02-18 20:47:09 +01:00
Thomas Basler
4c14417ea8 webapp: Add column inverter settings to show inverter send/receive status 2023-02-18 20:29:18 +01:00
Thomas Basler
cd99ab8e42 Added settings to pause polling/sending commands in general and at night 2023-02-18 19:44:16 +01:00
Thomas Basler
b319c78dc1 Added methods to calculate and show sunrise and sunset times 2023-02-18 18:15:48 +01:00
Thomas Basler
19a1c0aa54 Added config parameters to set longitude and latitude 2023-02-18 16:53:28 +01:00
helgeerbe
27f20a76f0 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-02-16 12:35:18 +01:00
helgeerbe
0ac529146e VedirectView becomes component
* move Vedirect in the component folder
* VedirectView is now component of BasePage
* /vedirectlivedata connectable through vue proxy
2023-02-15 15:01:59 +01:00
helgeerbe
a529c91254 Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-02-14 10:10:10 +01:00
Thomas Basler
8cbae76797 Implement offsets for YieldTotal (#549)
This allows to enter a offset in kWh in the inverter properties which will be applied to the read Yield Total value of the inverter. Using this can set your total production to zero if you e.g. are using a used device.
2023-02-13 20:25: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
helgeerbe
bec6c20531 Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2023-01-26 10:30:55 +01:00
Thomas Basler
ce287bc700 Added additional explanation regarding power safe and screensaver 2023-01-20 18:51:30 +01:00
Thomas Basler
e0712ed7bc webapi: Added frontend for display settings 2023-01-20 18:28:34 +01:00
helgeerbe
9a7a0d293e Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2023-01-20 14:54:04 +01:00
Thomas Basler
0772fd02aa webapp: Fix #532: Use correct filename for config backup 2023-01-18 22:47:02 +01:00
Thomas Basler
9f86698dfc webapp: format seconds correctly 2023-01-17 23:24:46 +01:00
Thomas Basler
547ff48047 webapp: Fixed lint errors 2023-01-17 20:40:54 +01:00
Thomas Basler
a4858b4598 Fix #520: Allow larger certificates 2023-01-17 19:05:02 +01:00
Thomas Basler
8377d5bb73 webapp: Fix error in device manager if no config was available 2023-01-17 00:00:10 +01:00
Thomas Basler
19b42223f5 webapp: Show current active pin config 2023-01-16 23:41:58 +01:00
Thomas Basler
f60205829a webapp: Allow upload of pin assignments 2023-01-16 21:25:36 +01:00
Thomas Basler
e81a435ed9 webapp: Added device manager interface
Allows selecting a device profile which changes the pin assignment
2023-01-16 21:25:19 +01:00
Thomas Basler
af1a2a188e Extended config API to allow upload of individual files 2023-01-05 14:41:15 +01:00
Thomas Basler
20ae646561 webapp: Allow download of individual config files 2023-01-05 01:44:38 +01:00
helgeerbe
ddb6346087 Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2023-01-03 10:51:56 +01:00
Thomas Basler
a88687eae6 webapp: replace own formatNumber by vue-i18n $n 2023-01-02 15:50:22 +01:00
Thomas Basler
ef8c3a3d42 webapp: Apply correct datetime format based on current locale in HomeView 2022-12-31 15:29:05 +01:00
Thomas Basler
a08f4a7052 webapp: Console: Change font size to prevent line breaks for default outputs 2022-12-31 13:59:58 +01:00
Thomas Basler
659546841a webapp: Console: Add timestamp and optimize css selector
CSS selector now only matches the console window (and not e.g. the mqtt tls input)
2022-12-31 13:44:40 +01:00
Thomas Basler
729632dc23 webapp: Workaround for copying console output to clipboard
Hint:: clipboard.writeText is only available when using https mode or access from localhost
2022-12-30 21:33:27 +01:00
helgeerbe
e49bbe0faf Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-12-27 14:17:24 +01:00
Thomas Basler
77268d7be2 webapp: Some better german translations
(thanks to @homeautomation22)
2022-12-26 12:37:00 +01:00
Thomas Basler
6eee2ce5f6 webapp: Organize components 2022-12-25 12:02:10 +01:00
Thomas Basler
c6ebea3e9e webapp: Organize imports 2022-12-25 12:02:10 +01:00
Thomas Basler
c027f19346 webapp: Removed unused component 2022-12-25 12:02:09 +01:00
Thomas Basler
1677f7dd03 webapp: introduced CardElement and replace cards with it 2022-12-25 12:02:03 +01:00
Thomas Basler
20083ecba5 webapp: introduced InputElement and replace inputs with it
Thanks to @noicet
2022-12-25 12:01:56 +01:00
Thomas Basler
c59e3b686b webapp: Translate set status 2022-12-24 00:01:55 +01:00
Thomas Basler
793f0c5d99 webapi: Power: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
534f200eb9 webapi: Security: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
ea96051203 webapi: Ntp: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
1e26cbd335 webapi: Network: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
cacebf8a82 webapi: Mqtt: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
7a5d8dd251 webapi: Maintenance: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
fb35e95f3c webapi: Limit: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
5594c5f987 webapi: Inverter: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
ac6c10759d webapi: Config: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
68d8c13b8e webapi: DTU: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
ab25914c48 Added i18n support for the web interface 2022-12-24 00:01:54 +01:00
Thomas Basler
de61ab3694 webapp: Added helpfull tooltips to the web interface 2022-12-20 20:39:59 +01:00
Thomas Basler
6bf8edd416 webapp: Console: increase size 2022-12-20 19:12:41 +01:00
Thomas Basler
1964ecff2c webapp: Console: Added function to copy contents to clipboard 2022-12-19 23:33:19 +01:00
Thomas Basler
a6f4403417 webapp: Console: better scrolling implementation 2022-12-19 23:12:16 +01:00
Thomas Basler
f63b7f6ee7 webapp: Added virtual console view 2022-12-19 21:38:39 +01:00
Thomas Basler
0a349b75a4 webapp: ESLint fixes 2022-12-08 22:20:40 +01:00
helgeerbe
df5cde2e82 Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-12-05 11:46:31 +01:00
Thomas Basler
977130ac03 webapp: Update hint text in NtpAdminView 2022-11-29 18:57:50 +01:00
Thomas Basler
c5daff53d7 webapp: Correct unit of max string power 2022-11-29 18:52:31 +01:00
helgeerbe
f740dceb78 removed unused isLoggedIn function 2022-11-26 17:49:00 +01:00
helgeerbe
0a0cb9905e live view - change order of mppt columns 2022-11-26 17:40:14 +01:00
helgeerbe
2109520bde Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-11-26 16:31:16 +01:00
Thomas Basler
2a19b46d52 Add authentication to websocket 2022-11-23 21:00:54 +01:00
Thomas Basler
e4ba104fd9 webapp. Fix error in Live View when no inverter is loaded 2022-11-22 23:41:49 +01:00
Thomas Basler
1530dc6629 webapp: Enforce login for config, firmware and reboot view 2022-11-22 23:41:00 +01:00
Thomas Basler
4bdbcbccc5 Introduce configuration option to decide wether the web ui is accessable without password or not 2022-11-22 23:32:52 +01:00
Thomas Basler
a06a8fec3d webapp: Removed hardcoded info about views which require authentication
If the return value of a API request equals 401 then the user will be redirected to the login page.
Using this method it's possible to decided within the API if a authentication is needed or not.
2022-11-22 20:37:01 +01:00
helgeerbe
1fc0e76c41 Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-11-22 17:10:53 +01:00