Commit Graph

1131 Commits

Author SHA1 Message Date
atef fc79441c10 add the tschireen relay exception 2026-02-13 09:41:17 +01:00
atef 105a4e59f5 Add clear buffer for serialPort 2026-02-13 09:40:57 +01:00
atef bc130ea99c Add alarm and error sinexcel 2026-02-13 09:40:37 +01:00
atef 3b32b8a6dc update the config file sinexcel 2026-02-13 09:40:21 +01:00
atef 6c0271e70c update Modbus Library to achieve clear buffers regularly 2026-02-13 09:36:49 +01:00
atef 4c94238188 add mapping of the error and warning growatt 2026-02-13 09:36:12 +01:00
atef 07ede85347 Add Valerio Meter library 2026-02-13 09:35:17 +01:00
atef 5fd533419b add control permession for growatt project 2026-02-13 09:34:42 +01:00
atef 75eb7f3055 add deploy script for Kaco 2026-02-13 09:33:54 +01:00
atef 95270bb5d1 Create A sync my release file to have CI/CD sinexcel deployement 2026-02-13 09:33:41 +01:00
atef 2cf5ed4b95 Create Kaco project 2026-02-13 09:33:07 +01:00
atef bd572b4ed1 Update Amax register and put coils as writable as default.
new function to clear buffers.
Add old K2 variable as Tschireen have problem with Relay 23. Now its relay 22
2026-02-13 09:31:39 +01:00
atef 8c2a360ba3 Merge remote-tracking branch 'origin/main' 2026-02-13 09:29:19 +01:00
atef 08fcd7496f Add Alarm and Warning to sinexcel product.
Add time charge and discharge and control permession to config file
2026-02-13 09:29:08 +01:00
Yinyin Liu 6460328eb0 Safe mode for AI diagnostics, align alarm keys with device enums, and multi-diagnosis frontend
- Remove API key gate so knowledge base works without Mistral key
- Return 204 No Content instead of 500 when no diagnosis available
- Rewrite AlarmKnowledgeBase keys to match Sinexcel property names and Growatt enum names
- Fix SQLite OrderBy crash in DiagnosticService
- Frontend: show latest 3 unique alarms with independent expand/collapse and handle 204

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:32:49 +01:00
Yinyin Liu 0c918e86ae Fix build errors: FrozenDictionary (.NET 8) and Flurl 3.x API compatibility
- Replace FrozenDictionary with IReadOnlyDictionary for .NET 6 compat
- Use WithHeader instead of SetHeader for Flurl.Http 3.2.4
- Fix FlurlHttpException error logging for Flurl 3.x

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 07:55:43 +01:00
Yinyin Liu 2da2ded84c Merge branch 'main' into integrated_AI 2026-02-12 07:45:22 +01:00
Yinyin Liu 68f4006f55 Switch AI diagnostics from OpenAI to Mistral and use .env for API key
- Changed API endpoint to api.mistral.ai, model to mistral-small-latest
- Replaced openAiConfig.json with .env file for secure API key storage
- Added .env loader in Program.cs, added .env to .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 07:45:16 +01:00
Yinyin Liu 1b6d5a5916 added Overview Page without last week button for SodistoreHome 2026-02-11 13:30:34 +01:00
Yinyin Liu e16fa59771 removed useless db 2026-02-06 14:40:26 +01:00
Yinyin Liu e7f8aacc34 Integrate AI on Alarm 2026-02-06 12:57:12 +01:00
Yinyin Liu ed87a4b371 suggested fix of sending new errors/ alarms when the state stays red/orange 2026-02-03 14:52:06 +01:00
Yinyin Liu 617ab2f782 fixed the bug of Sodistore Home Product not show on side bar and added related backend logs and more accurate frontend error messages 2026-02-03 13:52:20 +01:00
Yinyin Liu d73a85c38d enabled Control Permission for Sinexcel on monitor in frontend 2026-02-03 13:29:18 +01:00
atef 8a2be78c01 Merge remote-tracking branch 'origin/main' 2026-02-03 09:21:22 +01:00
Yinyin Liu 1083bb4091 Update Installation data type and fix solution file 2026-02-02 18:19:07 +01:00
Yinyin Liu bcaac92e34 Fixed Monitor Mailer Issue and added debug logs 2026-02-02 10:20:33 +01:00
Yinyin Liu 77e25aab51 added TimeChargeandDischargePower in backend 2025-12-10 15:21:43 +01:00
Yinyin Liu a1f981a13e added Start/StopTimeChargeandDischargeDayandTime in bakcend 2025-12-10 14:11:39 +01:00
Yinyin Liu da037b7f5a added Control Permission for Growatt configuration in backend 2025-12-03 13:27:00 +01:00
Yinyin Liu 2c50d0944c added Cluster and PV number for SodistoreHome in backend 2025-11-26 15:52:11 +01:00
Yinyin Liu 4b35fca8f2 fixed Configuration timestamp issue when added to History of Action 2025-11-19 11:22:44 +01:00
atef 615c1939a2 update aggregator on sodistormax and salimax 2025-11-18 02:37:37 +01:00
atef c1674f352c delete the sleeping thread 2025-11-18 02:31:09 +01:00
atef 79b7563401 update program.cs to debug 2025-11-18 02:30:49 +01:00
atef 5db53006c3 fix working mode and all specfic data 2025-11-18 02:30:28 +01:00
atef 29166e1ada delete unecessary lines 2025-11-18 02:30:03 +01:00
atef ca08d8d6de update to max pv production 2025-11-18 02:29:51 +01:00
Yinyin Liu 0df6c26ed6 Added BatteryClusterNumber attribute in backend 2025-11-17 12:19:20 +01:00
Yinyin Liu 13844ebf05 removed SodistoreMax Calibration Discharge Configuration info on History of Action from backend 2025-11-13 14:19:56 +01:00
atef 8e029a1afd Update the Growatt API and modbus 2025-11-12 16:11:19 +01:00
atef d067c5a57d Update the AcDCgrowaat and sinexcle with common name for the front end : InverterRecord 2025-11-12 16:09:22 +01:00
atef a2b70086ea Create an enum for SinexcelWeekdays 2025-11-12 16:08:57 +01:00
atef 09bd11740f Update SinexcelRecord modbus with new registers reading and writing 2025-11-12 16:08:40 +01:00
atef ed5609689b Update the sinexcel recor api with new reading writing attribute 2025-11-12 16:07:47 +01:00
atef f40f0be056 Delete salimax device not needed 2025-11-12 16:00:26 +01:00
atef c94d9ecf31 move the Data collector web app under APP folder 2025-11-12 15:59:58 +01:00
atef 231069768e Naming Sinexcel inverter to recordinverter 2025-11-12 15:59:12 +01:00
atef b122177e61 Update the growattACDC to inverter Record 2025-11-12 15:58:37 +01:00
atef ce62bb5687 delete device state for sinexcel project. not needed 2025-11-12 15:55:31 +01:00
atef 92b9265a67 update the mideelwareagent message for sunexcel project 2025-11-12 15:54:41 +01:00
atef 3f354ed2bb Update the message for of middleware agent for growatt project 2025-11-12 15:54:22 +01:00
atef abf1825457 moved the data collector web app under APP 2025-11-12 15:53:45 +01:00
atef 7d6bf1b991 Update the configuration for rowatt project 2025-11-12 15:53:15 +01:00
atef 44f5841bd4 Update the Configuration for RabbitMQ manager. for sinexcel project 2025-11-12 15:52:53 +01:00
atef c496f9b398 Update the config file for Sinexcel project 2025-11-12 15:52:29 +01:00
atef 8b4d40f85e Update the aggregator path for PV. 2025-11-12 15:52:01 +01:00
Yinyin Liu d91090965d fixed configuration message format 2025-10-30 08:20:20 +01:00
Yinyin Liu e4674b41e5 added product_based configuration in the backend of the monitor 2025-10-20 16:32:47 +02:00
atef 9d3fe781a1 New project added to the solution (Sinexcel project) 2025-10-20 15:05:33 +02:00
atef 334ee4e6c1 Add the GRid Power, Exported and imported power 2025-10-20 15:01:18 +02:00
atef 59652425cd Change String and url to be private 2025-10-20 15:00:38 +02:00
atef 2f0134d22f Increase the minimum charge current to 20 A by battery when there is monomerLowVoltage or high Voltage 2025-10-20 15:00:11 +02:00
atef b9a7c0859a Update the main program.cs for Growatt : More display and comment 2025-10-20 14:58:11 +02:00
atef 5e45e51357 Merge remote-tracking branch 'origin/main' 2025-10-20 14:57:15 +02:00
atef b1b307a12f Update Middelware classes for growatt 2025-10-20 14:57:04 +02:00
atef 84b8446ec3 Update Configuration file for Growatt systems 2025-10-20 14:56:31 +02:00
atef 711f054a06 New project sinexcel 2025-10-20 14:56:12 +02:00
Yinyin Liu 692a278f04 added inverterSN and dataloggerSN for sodistorehome in backend 2025-10-14 16:11:31 +02:00
Noe 3795287124 Fixed bug in status update in Backend, update controller to support remote configuration for SodistoreHome installations 2025-09-25 15:07:28 +02:00
atef 0aae239551 add the operating mode to the description 2025-09-18 12:40:03 +02:00
atef ce51af8510 Update the main loop and reorganise the ESS mode enum 2025-09-18 12:35:44 +02:00
atef 6a0cd3d5a7 add operating priority to the monitor and config file 2025-09-18 12:35:19 +02:00
atef a094c4f080 Update reading and writing modbus protocol by a waiting time 2025-09-18 12:34:56 +02:00
atef 037b411d6b Update the growatt modbus 2025-09-18 12:34:22 +02:00
Noe 2b1d550571 Update frontend. Fixed CreateInstallation and delete Installation bug 2025-09-11 14:28:49 +02:00
atef 73880f0737 Merge remote-tracking branch 'origin/main' 2025-09-01 14:52:57 +02:00
atef c0030d7795 update and uncomment the needed file 2025-09-01 14:52:52 +02:00
Noe 203908152c Add Data Collector App 2025-09-01 13:07:26 +02:00
Noe 076dcda4a2 Update backend to support SodioHome installations, update backend controller to support new user access management features 2025-09-01 13:05:39 +02:00
atef b424643213 Update alll project with Writable flag. 2025-09-01 10:27:12 +02:00
atef 9691e3aa80 update the reading and the writing to multiple inverter 2025-08-06 16:04:52 +02:00
atef 38f32b8bf7 Add 1 min file collection,
Added GrowattDevicesRecord
2025-08-06 12:14:24 +02:00
Noe 8ba880df05 Added Hearbit functionality to SodioHome 2025-08-06 12:07:03 +02:00
Noe bbb0d21759 Update SodioHome, add udp listener for the configuration files (InitializeCommunicationToMiddleware) 2025-08-06 11:08:37 +02:00
atef 5fd73f51cc SendSalimaxStateAlarm added 2025-08-05 10:07:05 +02:00
atef 2c13e1a2a2 RabbitMQ added to the project 2025-08-05 10:02:03 +02:00
atef 26b72e24da LogFileConcatenator.cs cleaned 2025-08-04 10:42:55 +02:00
atef 2513187d89 a minimum of 5 A are applied on DcDc to avoid ossiclation problem 2025-08-04 10:42:24 +02:00
atef e1a5aa3b2f serialport communication timeout added 2025-08-04 10:41:17 +02:00
atef 661201617c Assert Crc check messages 2025-08-04 10:40:55 +02:00
atef e3a4aace09 50 milleseconds a sleep between each modbus read 2025-08-04 10:40:21 +02:00
atef 5610a10eaf Add a writable flag to holding registers 2025-08-04 10:39:51 +02:00
atef 5425c1b713 Merge remote-tracking branch 'origin/main' 2025-08-04 10:34:24 +02:00
Noe 9388f263e7 test commit to see if git works 2025-07-31 14:56:42 +02:00
atef 6343af3468 Create the new Growatt project.
Src and library files added
2025-07-31 14:26:34 +02:00
Noe bea24fde97 Remove timestamps from heartbit,
update configuration for discharge
2025-06-26 12:00:40 +02:00
atef 7510ee0ce2 New AMPT paths are created in salimax 2025-06-26 11:47:40 +02:00
atef eeb949bdfa Add serial number.
Add second AMPT
2025-06-24 11:48:12 +02:00
atef 5bcb90f0c0 correct the error message for doepke fail reading 2025-06-12 14:25:55 +02:00