Commit Graph

292 Commits

Author SHA1 Message Date
ig be452d190c "normalize" DcBus 2023-09-01 09:18:43 +02:00
atef 6c2360f0ad Add time to TOC request 2023-08-31 15:16:27 +02:00
ig c955b97c2b remove private constructor, no longer needed bcs of "required" 2023-08-31 13:19:48 +02:00
atef a462ee0610 Change Active Power to DcPower in DcBus 2023-08-31 10:11:02 +02:00
ig 64b64cc1e0 some QOL improvements 2023-08-30 16:50:38 +02:00
ig 005a5460db do not use nullable in operators, .net cannot deal with it yet 2023-08-30 16:49:44 +02:00
ig d09c53ad92 use "required" 2023-08-30 16:47:28 +02:00
ig 71ba569085 remove leftover HeatingCurrent 2023-08-30 15:13:10 +02:00
ig 8596fddb04 if a battery is not reachable, Battery48TlDevices now does not give up and reports the remaining ones instead 2023-08-30 14:50:12 +02:00
atef 72b781a223 Dc Power inherit from Power instead from Ac Power 2023-08-30 13:40:04 +02:00
atef 57c5faf1e6 Add heating power to the average battery. 2023-08-30 13:38:58 +02:00
ig db6fe5ecbf make collector aware of "secret" limp string alarms/warnings (too many broken cells) 2023-08-29 13:57:59 +02:00
ig 728cb7aefb make AmptStatus implement IMppt 2023-08-25 17:15:46 +02:00
ig 418bac6a6a use ToDisplayString() for ToString() as well 2023-08-25 17:12:20 +02:00
ig f8b1d70f79 Add unary - operator for nullable powers 2023-08-25 17:11:41 +02:00
ig 2ace3fad51 "Notify" the Watchdog 2023-08-24 10:03:20 +02:00
ig 664290c44b reorder Topology generation code 2023-08-23 09:23:50 +02:00
ig d731c12f64 add minor error handling in Texblock 2023-08-18 15:57:00 +02:00
ig ed39b8e847 Fix Index out of range in .ToDisplayString() 2023-08-17 08:01:16 +02:00
ig 829732a7ba Introduce AsReadOnlyList extension to cast arrays 2023-08-16 15:14:35 +02:00
ig ea7a13da06 Introduce TextBlock.Empty 2023-08-16 15:13:46 +02:00
ig 2bd20ce4eb Units: create extensions methods for Int32's 2023-08-16 15:12:23 +02:00
ig 0b8aa5a96e move Watchdog related code into its own class 2023-08-16 09:45:34 +02:00
ig 31c725520f minor edit in AllStates.graphml 2023-08-15 15:06:57 +02:00
ig 970ae10799 fix bug in UnixTimeSpanExtensions.cs 2023-08-15 15:06:15 +02:00
atef b47081204d Update Alarm and Warning of FZ Battery 2023-08-10 12:58:05 +02:00
atef 6990bda8ff Change naming to corresponding name on the Web 2023-08-02 11:07:16 +02:00
atef 07e198c284 Add MaxBatteryDischargingCurrent to the DcDc Record
Add MaxBatteryChargingCurrent to the DcDc Record
2023-08-02 11:06:49 +02:00
atef d7212dd37a Add set and get to Precharge Config 2023-08-02 11:06:18 +02:00
atef 43fb714a2a Add MaxBattery Charging and Discharging current in Current Control 2023-08-02 11:05:56 +02:00
atef 91c979cca2 add roundto to unixTime 2023-07-24 10:55:58 +02:00
atef f8cdcb420d add CurrentMinSoc 2023-07-24 10:48:23 +02:00
atef 12b0c94d78 Update Config file and Inverter state 2023-07-13 09:53:44 +02:00
atef 486abbdf56 Switch few function from public to private 2023-07-13 09:53:13 +02:00
atef dafef572ab Add try Catch over SystemControl write function 2023-07-13 09:50:40 +02:00
ig ba8bce65bd Add Iem3KGridMeter project stub 2023-07-11 14:06:53 +02:00
ig 48fe29ef88 add 500ms Timeout to TcpChannel 2023-07-10 10:39:03 +02:00
ig 2a1e7cce93 fix DynamicallyAccessedMembers warnings (Trimming) 2023-07-10 10:39:03 +02:00
atef b37fd90098 Add battery heating Current 2023-07-10 10:35:29 +02:00
atef bd24a725c6 Add display fail reading error 2023-07-10 10:34:51 +02:00
atef e9c2e16b5a Add percent in Units 2023-07-10 10:07:00 +02:00
atef 48c2cdcbc6 Add root name space property for the rest of the projects 2023-07-06 15:19:16 +02:00
ig 56e3ca3cea readd Units reference to AMPT project 2023-07-04 11:21:01 +02:00
ig b0e44d5cce remove Program.cs'es leftover from testing 2023-07-04 11:18:16 +02:00
ig 9a2ea39317 remove experimental SrcGen project from solution 2023-07-04 09:59:00 +02:00
ig 27ecf12ce2 remove stale TruConvert.csproj 2023-07-04 09:16:56 +02:00
ig e80cc2fbd0 remove spurious propertygroup from projects 2023-07-04 09:09:50 +02:00
ig 9049b3e4d5 Improve Ip4Address class 2023-07-03 17:30:01 +02:00
ig cc8621d632 Introduce Ip4Address class, standard IpAddress class is unwieldy... 2023-07-03 17:30:01 +02:00
ig 83cd63d390 Better Error Messages for failing devices 2023-07-03 17:30:01 +02:00
ig 6648d318ca Minor improvements for TextBlocks 2023-07-03 17:30:01 +02:00
atef e31c40b659 Add Rootnamespace property in project files 2023-07-03 14:59:59 +02:00
atef 7d0dd25696 add heating and total current value to battery records 2023-07-03 14:21:00 +02:00
atef 7a77982bd2 Delete project refrence SrcGen 2023-06-30 10:31:13 +02:00
atef c087af96c0 Create an overload of CenterHorizantal 2023-06-30 10:30:50 +02:00
atef 1d017ba6ba Add the hack to compile Net6 from Net7 2023-06-30 10:24:38 +02:00
atef 3fab366362 Change the import as lib.props 2023-06-30 10:23:55 +02:00
ig 5484aea6cb ToStringRounded => ToDisplayString, introduce scientific notation (mW, kW,...) for units 2023-06-27 17:02:56 +02:00
ig a761e46686 fix bugs introduced by 'required' changes 2023-06-27 17:01:40 +02:00
ig 7f97ab8e14 make use of "required" with "init" (.net 7) 2023-06-27 13:14:17 +02:00
atef b5f025dc69 Add toStringRounded 2023-06-23 10:40:11 +02:00
ig a2d9017326 remove stray .sln files 2023-06-22 10:18:26 +02:00
ig d1d9575052 Trumpf DcDc does not support changing sign convention (producer/consumer), so we have to manually flip the sign of currents in our code 2023-06-22 10:15:57 +02:00
ig 12731a90e9 fix some modbus values that were unsigned but should be signed 2023-06-22 10:14:31 +02:00
ig 0582b26ec7 do not use common Null device (new for every use), it's ugly but it broke .ToCsv's cycle detector 2023-06-22 10:13:21 +02:00
atef 98bdec1a36 Add temperature average to battery record 2023-06-22 09:50:24 +02:00
atef 8feee5db43 Introduce ClampMin and ClampMax 2023-06-20 15:34:04 +02:00
atef 789780791f throw exception if min is bigger than max in Clamp 2023-06-20 15:27:53 +02:00
atef 3e2e3e7190 comment out code generation for units 2023-06-20 15:11:26 +02:00
ig c78451d4cf new implementation of TextBlock 2023-06-20 14:26:48 +02:00
ig 5aad1c6ddf Add DcPower.Null 2023-06-20 10:23:44 +02:00
ig 4cdfb37e96 Add +- operators to AcPower 2023-06-20 10:23:44 +02:00
ig 9b997b353f Add .ToString for Batch, helps debugging 2023-06-20 10:23:44 +02:00
ig 49d7237c79 introduce AmptStatus.Null 2023-06-20 10:23:44 +02:00
ig 5828498109 fix DcVoltages in inverter 2023-06-20 10:23:44 +02:00
ig 5f54dd602f introduce AcDcDevicesRecord.Null 2023-06-20 10:23:44 +02:00
ig cc554c1964 remove erroneous Battery* members 2023-06-20 10:23:44 +02:00
ig f5287f7ced update FzSonick Docs 2023-06-20 10:23:44 +02:00
ig 0a9d95188a remove Generator Experiment 2023-06-20 10:23:44 +02:00
ig c6c71d5ada SrcGen (Experiment) 2023-06-20 10:23:44 +02:00
ig f4989f0c6f update Utils 2023-06-20 10:23:44 +02:00
ig d701620d34 Units V2 2023-06-20 10:23:44 +02:00
ig 7a44b1f307 Modbus V2 2023-06-20 10:23:44 +02:00
ig 045de6ac0d Status API V2 2023-06-20 10:23:44 +02:00
ig 62ff63c0bb Generator (Experiment) 2023-06-20 10:23:44 +02:00
ig cdaed39301 Generator (Experiment) 2023-06-20 10:23:43 +02:00
ig 9d4c02745d Logger (WIP) 2023-06-20 10:23:43 +02:00
ig 9467616f11 Logger (WIP) 2023-06-20 10:23:43 +02:00
ig 3bca314ccd Generators (Experiment) 2023-06-20 10:23:43 +02:00
ig d17ac9f234 Adam 6360D docs 2023-06-20 10:23:43 +02:00
ig 9c2a8d0966 Trumpf V2 2023-06-20 10:23:43 +02:00
ig a2f5286e45 EmuMeter V2 2023-06-20 10:23:43 +02:00
ig 8b846c01c2 Battery48TL V2 2023-06-20 10:23:43 +02:00
ig fd92374a4f Ampt V2 2023-06-20 10:23:43 +02:00
ig 43e628502c Introduce Lib for Adam6360D 2023-06-20 10:23:43 +02:00
ig 1745d2cb06 Update Adam6060 to new Modbus Lib 2023-06-20 10:23:43 +02:00
ig 671e9963e6 Add project for Adam6360D 2023-06-20 10:23:43 +02:00
ig b68542db27 Add project for Adam6360D 2023-06-20 10:23:43 +02:00
ig 4c76475eac generated Units 2023-06-20 10:23:43 +02:00
ig 21b49a1339 make 48TL use updated Modbus Lib 2023-06-20 10:23:43 +02:00
ig faa1dd2af8 make EmuMeter use updated Modbus Lib 2023-06-20 10:23:43 +02:00
ig a2c0674ecb make AMPT use updated Modbus Lib 2023-06-20 10:23:43 +02:00
ig 0ac7773ac0 add/group extensions to parse strings 2023-06-20 10:23:43 +02:00
ig 028ff7dcae experiment "Observable Process", unstable 2023-06-20 10:23:43 +02:00
ig d981a66d59 get fields/props from base types as well,
ignore static fields/props
2023-06-20 10:23:43 +02:00
ig ac32e4be09 improve SshHost usability 2023-06-20 10:23:43 +02:00
ig 4b510f6448 add GroupUntil extension 2023-06-20 10:23:43 +02:00
ig e869c1e2fc add utility extension to work with types 2023-06-20 10:23:43 +02:00
ig 2ec5b34971 statusApi V2 2023-06-20 10:23:43 +02:00
ig 249d4e7c31 units v2 2023-06-20 10:23:43 +02:00
ig bb51664a16 add device docs 2023-06-20 10:23:43 +02:00
ig 7b0c7dce36 modbus v2 2023-06-20 10:23:42 +02:00
ig 36af277559 use Double for Units. DecimalEx lib had too many bugs 2023-06-20 10:23:42 +02:00
ig 216ddda78f introduce new simplified, reflection based Modbus Lib 2023-06-20 10:23:42 +02:00
ig 173278c1e5 Add one more SystemControl doc 2023-06-20 10:23:42 +02:00
Kim 8e148a35c1 refactoring, fixing not finding bug, randomly ordering the list of installations to increase coverage. 2023-06-01 16:10:57 +02:00
Kim 149f89f89f added automatic tags setters for vrm 2023-06-01 15:29:39 +02:00
Kim 24684ccb09 Changed VrmGrabber to run with an SQLite DB 2023-05-18 10:45:44 +02:00
Kim 9c927bfc3a updated VrmGrabber to include online-status 2023-05-11 13:26:13 +02:00
Kim fa9d06192d added Grafana 2023-05-11 10:20:47 +02:00
Kim d1fb0a8ac2 added VrmGrabber to replicate VRM installations in memory (to run run the server.py file with flask run) FLASK_APP=server.py 2023-05-04 13:59:47 +02:00
Kim 313dd4d406 added VrmGrabber Still WIP 2023-04-27 16:59:45 +02:00
atef d8911a2a3a Add EocReached in the batteries and add percent to the Units 2023-04-20 13:22:41 +02:00
Kim b8fc04a90c Testing new error messages in Backend, fixing small bugs, possibly breaking BMSTunnel, fixed tests 2023-04-13 14:30:01 +02:00
ig ba54f9e325 add ToQueue and ToStack 2023-04-06 14:31:28 +02:00
ig 4b8c4f1942 add Utils/Reflection 2023-04-05 17:43:27 +02:00
ig d2c83ddc7f indent 2023-04-05 13:08:45 +02:00
ig dc259095e0 add SystemControl as a dedicated Device 2023-04-05 13:05:38 +02:00
ig a9a433133a move TruConvertDc enums into files 2023-04-05 12:55:03 +02:00
ig 1196aeeb8b move TruConvertAc enums into files 2023-04-05 12:53:36 +02:00
ig cf93482b6e Move TRUMPF_Manual_TruConvert_AC3025.pdf from /doc to /Doc 2023-04-05 12:51:06 +02:00
ig 97ff549573 Remove Generator from StatusApi 2023-04-05 10:01:37 +02:00
atef 840643f069 Introduce CombinedStatus 2023-04-04 16:37:37 +02:00
atef d564b3c3b6 [ig] revert accidentally commited changes to Modbus lib 2023-04-04 14:51:06 +02:00
atef b088665f39 Update truConvert devices to new status API 2023-04-04 13:43:23 +02:00
ig 4e6588192f Make Battery48TL use new StatusLog lib 2023-04-04 13:16:10 +02:00
ig a6252895bb Update StatusApi & Units 2023-04-04 10:24:47 +02:00
ig 5f8f7b1e66 Add 48TL Manual_FIAMM_48V_T_Batteries_TL200_with_annexes.pdf 2023-03-22 16:24:39 +01:00
ig 74b3af344a add missing Do extension 2023-03-21 13:46:15 +01:00
ig 19633ec54f aggressively trim SysTools (mostly replaced by CliWrap) 2023-03-20 13:40:31 +01:00
ig 249254e2e5 add GeneratedCode attribute 2023-03-20 13:27:15 +01:00
ig 17c2a959e6 introduce implicit converters for UnixTime & UnixTimeSpan 2023-03-20 13:25:19 +01:00
ig c3b1484e99 simplify units, give up on idea of automatic aggregation 2023-03-20 13:22:57 +01:00
ig d7852e45c9 add missing EnsureStartsWith 2023-03-20 12:53:03 +01:00
atef 96bdc7a494 Fix misplaced docs 2023-03-17 12:47:19 +01:00
ig e136767b12 Add tree traversal functions. Skip self in Folder/User descendants 2023-03-16 14:13:45 +01:00
ig 6db610d308 implement Logic/Wire addressing in ModbusClients 2023-03-10 13:57:39 +01:00
ig df087b9d8e remove MbAddress type 2023-03-10 13:46:46 +01:00
ig 2d242f25b7 Make MbWords writable 2023-03-10 10:12:03 +01:00
ig 9d753a8471 Introduce State<T> for Enums 2023-03-09 14:02:02 +01:00