Yinyin Liu
77f6e0de6c
AI-P1: Weekly Performance Report 1.0
2026-02-18 07:36:00 +01:00
Yinyin Liu
c076d55407
AI diagnosis UX improvements: status-aware, time-filtered, simpler explanations
...
- Only show AI diagnosis when installation status is red/orange (not green/offline)
- Filter alarms to last 24 hours to avoid showing outdated issues
- Show alarm name first with "Last seen" timestamp instead of "AI Diagnosis" label
- Update Mistral prompt for shorter, non-technical bullet-point explanations
- Fix Mistral JSON parsing when response wrapped in markdown code fences
- Add TestDiagnoseError endpoint for testing full AI flow without auth
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 12:16:35 +01:00
Yinyin Liu
9a723c0a6f
Merge branch 'main' into integrated_AI
2026-02-16 15:18:54 +01:00
atef
0b0d91f4dd
add new function to ensure connection for sinexcel
2026-02-13 10:04:38 +01:00
atef
d324de335e
Update the midleeware message for configuration in Sinexcel project
2026-02-13 10:04:12 +01:00
atef
848d821c6c
add the oldK2 for Tschireen
2026-02-13 10:03:48 +01:00
atef
f897d49106
add release flag for deploy sinexcel
2026-02-13 10:03:05 +01:00
atef
f821c7c645
Update main function for deligreen
2026-02-13 10:02:48 +01:00
atef
27d671d2f4
Update main function for growatt
2026-02-13 10:02:15 +01:00
atef
15ef53903f
Update version number
2026-02-13 10:01:17 +01:00
atef
f696424a71
Update the version number for SodiStoremax
2026-02-13 09:45:28 +01:00
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