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
ed1efbddeb
added Main Stats on Battery View page for SodistoreHome
2026-02-11 14:28:11 +01:00
Yinyin Liu
1b6d5a5916
added Overview Page without last week button for SodistoreHome
2026-02-11 13:30:34 +01:00
Yinyin Liu
2895b11efc
made Battery SN automatically filled by Scanner and keep the memory of it when the Battery Number changes
2026-02-10 14:32:46 +01:00
Yinyin Liu
988b714d57
improved Configurtaion page responsiveness in frontend
2026-02-06 15:02:56 +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
Yinyin Liu
70dfaaf027
removed unnecessary information fields when creating a new sodistorehome product
2026-02-03 12:40:06 +01:00
Yinyin Liu
d8293f58b1
added Installation Serial Number for SodistoreHome in frontend
2026-02-03 12:32:59 +01:00
Yinyin Liu
5f1bcdb0c1
Merge branch 'main' of 91.92.155.224:Innovenergy/Innovenergy_trunk
2026-02-03 11:10:28 +01:00
Yinyin Liu
022fc6f576
added Battery Number and Battery Pack SN to Information page on frontend
2026-02-03 11:10:22 +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
fb073a6dca
added start time< stop time check
2025-12-16 12:53:40 +01:00
Yinyin Liu
c54a1bb691
fixed timetochargeanddischarge time picker mismatch
2025-12-16 12:40:18 +01:00
Yinyin Liu
9dda68e084
sodistorehome configurtaion minsoc error message disappeared after a valid input
2025-12-15 14:31:48 +01:00
Yinyin Liu
5102678d35
greyed out unused sinexcel operating mode in frontend
2025-12-11 10:58:48 +01:00
Yinyin Liu
dd953256dd
added TimeChargeandDischargePower, StartTimeChargeandDischargeDayandTime, Stop TimeChargeandDischargeDayandTime to frontend
2025-12-10 15:33:26 +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
d03694684d
fixed Control Permission issue in Growatt Configuration tab
2025-12-04 13:30:06 +01:00
Yinyin Liu
f453ecda6e
added Control Permission in Growatt Configuration tab
2025-12-03 13:33:49 +01:00
Yinyin Liu
da037b7f5a
added Control Permission for Growatt configuration in backend
2025-12-03 13:27:00 +01:00
Yinyin Liu
4b3cca6f7a
added Cluster and PV number in Configuration tab
2025-11-26 15:57:18 +01:00
Yinyin Liu
2c50d0944c
added Cluster and PV number for SodistoreHome in backend
2025-11-26 15:52:11 +01:00
Yinyin Liu
d3e3bedd65
used PvPower for Growatt and sum PvPower1-4 for Sinexcel in frontend
2025-11-24 10:24:28 +01:00
Yinyin Liu
13b3e8cd63
added EmuMeter tailored to updated Salidomo
2025-11-21 06:52:41 +01:00
Yinyin Liu
aa2248cf32
added rc.local tailored to Cerbo with Biwatt batteries
2025-11-21 06:51:32 +01:00
Yinyin Liu
97d88e700b
removed useless files
2025-11-21 06:50:57 +01:00
Yinyin Liu
861ab64cfb
adapted PV battery box according to cluster number dynamically
2025-11-19 15:00:34 +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
5a6adbc4ec
fixed Sodisstore Home Live View as default tab in frontend
2025-11-17 14:00:16 +01:00
Yinyin Liu
3478ba51b3
added SodistoreHome Battery View Soh Color code in frontend
2025-11-17 13:19:32 +01:00
Yinyin Liu
71e2644866
added SodistoreHome Battery View Soc and Voltage Color code in frontend
2025-11-17 13:13:25 +01:00
Yinyin Liu
58bd0611a3
adapted SodistoreHome Battery View based on BatteryClusterNumber in frontend
2025-11-17 12:54:29 +01:00
Yinyin Liu
947ffaa11c
Merge remote-tracking branch 'origin/main'
2025-11-17 12:41:55 +01:00
Yinyin Liu
1141a741b9
added BatteryClusterNumber in Information tab frontend
2025-11-17 12:41:37 +01:00