Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3b6e181
feat(schema): added schema for handling devices
ChristianKarras Aug 24, 2026
cfff15c
fix(config.py): fixed _REPO_ROOT for correctly accessing env
ChristianKarras Aug 27, 2026
33118e2
docs(note): docs ammended a bit
ChristianKarras Aug 27, 2026
57c4403
refactor(schema): major refactoring w.r.t camera device
ChristianKarras Aug 27, 2026
7784bc0
fix(schema): fixed ruff errors in the schemas
ChristianKarras Aug 27, 2026
136d46c
docs(srs): removed srs
ChristianKarras Aug 27, 2026
08ee441
refactor(schemas): adapted based on new requiements
ChristianKarras Sep 29, 2026
9e9739c
fix(pyver): pinned python version to 3.12
ChristianKarras Sep 2, 2026
0317774
fix(setttings): fixed to avoid linter errors in vs code
ChristianKarras Sep 30, 2026
37a4db1
docs(example): example for connecitons added to the configs
ChristianKarras Sep 30, 2026
e81e7f7
feat(backend): describe UC2 serial and CANopen device bindings
gokugiant Oct 1, 2026
a4f4c47
docs(backend): add UC2 hardware communication diagram
gokugiant Oct 1, 2026
b31ffa4
refactor(backend): replace config.py by base_config.yaml
ChristianKarras Oct 2, 2026
2bb8d0e
refactor(backend): replace config.py by base_config.yaml
ChristianKarras Oct 2, 2026
afeb053
fix(gitignore): for previous commit
ChristianKarras Oct 2, 2026
68e752c
feat(backend): share named CAN connections in device configs
gokugiant Oct 7, 2026
0e54d76
chore: sync KC/Settings and resolve config import conflict
gokugiant Oct 7, 2026
b5b9a91
fix(sample): new config example (connection separted from devices)
ChristianKarras Oct 8, 2026
db6449c
Merge branch 'KC/Settings' of github.com:openUC2/newswitch into KC/Se…
ChristianKarras Oct 8, 2026
a5f0386
docs(dev-config): yaml example file for config
ChristianKarras Oct 12, 2026
9d63473
docs(config yam): updated sample for config yaml
ChristianKarras Oct 12, 2026
f79aa23
docs(config-yaml): fixed some errors
ChristianKarras Oct 12, 2026
42582a9
docs(config-yaml): removed comments and fixed some issues
ChristianKarras Oct 12, 2026
4d3c5ca
refactor(config_io): adapted to dn62 config structure
ChristianKarras Oct 15, 2026
941b4d6
fix(validation): fixed some small pylance error
ChristianKarras Oct 15, 2026
d2df0b0
Merge remote-tracking branch 'origin/main' into KC/Settings
ChristianKarras Oct 17, 2026
733f4c2
chore(git): stop tracking the personal .claude folder
ChristianKarras Oct 17, 2026
045872c
refactor(backend): merge backend/Configs into backend/configs
ChristianKarras Oct 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
**/.vscode/*
!**/.vscode/settings.json
!**/.vscode/extensions.json
# Personal Claude Code settings and notes
.claude/

# ---------- Env ----------
# The root .env (ports for the whole stack) plus frontend/.env and frontend/.env.docker
Expand Down Expand Up @@ -104,3 +106,12 @@ frontend/.auth/
# ---------- Docs ----------
docs/_build/
/site

# Backups written by newswitch.config_io when saving the device config
backend/configs/*.bak

# Local hardware settings and generated browser-test reports
backend/configs/*.local.json
backend/configs/*.persistent.yaml
frontend/playwright-report/
frontend/test-results/
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"python.defaultInterpreterPath": "${workspaceFolder}/backend/.venv/bin/python",
"python.analysis.typeCheckingMode": "standard",
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.cwd": "${workspaceFolder}/backend",
"python.testing.pytestArgs": ["tests"],
"files.watcherExclude": {
"**/.venv/**": true
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ VITE_SCHEMA_STATES_URL=http://my-lab-box:${BACKEND_PORT:-8099}/schemas/states
VITE_SCHEMA_LOCKS_URL=http://my-lab-box:${BACKEND_PORT:-8099}/schemas/locks
```

Apart from `BACKEND_HOST` / `BACKEND_PORT`, the backend reads no `.env` — the rest is configured in code
via `ImswitchConfig` (`backend/newswitch/app.py`).
Apart from `BACKEND_HOST` / `BACKEND_PORT`, the backend reads no `.env` — the rest is configured in
`backend/base_config.yaml`, read by `ImswitchConfig` (`backend/newswitch/app.py`).

## Releases

Expand Down
91 changes: 0 additions & 91 deletions SRS/CHANGELOG_KC.md

This file was deleted.

Loading
Loading