This MVP release provides a complete full-stack solution for managing action mappings in Geutebruck's GeViScope and GeViSoft video surveillance systems. ## Features ### Flutter Web Application (Port 8081) - Modern, responsive UI for managing action mappings - Action picker dialog with full parameter configuration - Support for both GSC (GeViScope) and G-Core server actions - Consistent UI for input and output actions with edit/delete capabilities - Real-time action mapping creation, editing, and deletion - Server categorization (GSC: prefix for GeViScope, G-Core: prefix for G-Core servers) ### FastAPI REST Backend (Port 8000) - RESTful API for action mapping CRUD operations - Action template service with comprehensive action catalog (247 actions) - Server management (G-Core and GeViScope servers) - Configuration tree reading and writing - JWT authentication with role-based access control - PostgreSQL database integration ### C# SDK Bridge (gRPC, Port 50051) - Native integration with GeViSoft SDK (GeViProcAPINET_4_0.dll) - Action mapping creation with correct binary format - Support for GSC and G-Core action types - Proper Camera parameter inclusion in action strings (fixes CrossSwitch bug) - Action ID lookup table with server-specific action IDs - Configuration reading/writing via SetupClient ## Bug Fixes - **CrossSwitch Bug**: GSC and G-Core actions now correctly display camera/PTZ head parameters in GeViSet - Action strings now include Camera parameter: `@ PanLeft (Comment: "", Camera: 101028)` - Proper filter flags and VideoInput=0 for action mappings - Correct action ID assignment (4198 for GSC, 9294 for G-Core PanLeft) ## Technical Stack - **Frontend**: Flutter Web, Dart, Dio HTTP client - **Backend**: Python FastAPI, PostgreSQL, Redis - **SDK Bridge**: C# .NET 8.0, gRPC, GeViSoft SDK - **Authentication**: JWT tokens - **Configuration**: GeViSoft .set files (binary format) ## Credentials - GeViSoft/GeViScope: username=sysadmin, password=masterkey - Default admin: username=admin, password=admin123 ## Deployment All services run on localhost: - Flutter Web: http://localhost:8081 - FastAPI: http://localhost:8000 - SDK Bridge gRPC: localhost:50051 - GeViServer: localhost (default port) Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
3.5 KiB
3.5 KiB
Finding Geutebruck Server Credentials
The SDK Bridge is failing to connect with error: connectRemoteUnknownUser
This means the username/password combination is invalid.
Servers Running ✅
- GeViServer (PID 5212) - GeViSoft server
- GSCServer (PID 10852) - GeViScope server
Credentials Tried ❌
- Username:
sysadmin/ Password: `` (empty) - Username:
sysadmin/ Password:masterkey
Where to Find Correct Credentials
Option 1: Check GeViSet Configuration
- Open GeViSet (Geutebruck configuration tool)
- Look for connection settings or user management
- Check what username is configured for SDK access
- Note the username and password
Option 2: Check GeViScope Configuration Files
Look for configuration files in:
C:\GEVISOFT\C:\Program Files\Geutebruck\C:\Program Files (x86)\Geutebruck\
Common config file names:
GeViScope.iniGSCServer.iniconfig.xmlusers.xml
Option 3: Check GeViAPI Test Client
If you have GeViAPI Test Client working:
- Open the client
- Check what credentials it's using to connect
- Use the same credentials in
appsettings.json
Option 4: Try Common Default Users
Common Geutebruck default usernames:
administrator/adminadmin/adminroot/rootgeviscope/geviscopegevisoft/gevisoft
Option 5: Check Your Previous Working Configuration
From the conversation history, the system was working before. Check:
- Previous
appsettings.jsonbackups - Your notes about what credentials worked
- System documentation you may have
How to Test Credentials
Quick Test Script
Create a file test_credentials.ps1:
# Test different credentials
$users = @("sysadmin", "admin", "administrator", "root", "geviscope")
$passwords = @("", "masterkey", "admin", "password", "geviscope")
foreach ($user in $users) {
foreach ($pass in $passwords) {
Write-Host "Testing: $user / $pass" -ForegroundColor Yellow
# Update appsettings.json
$config = Get-Content 'C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\appsettings.json' | ConvertFrom-Json
$config.GeViScope.Username = $user
$config.GeViScope.Password = $pass
$config | ConvertTo-Json | Set-Content 'C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\appsettings.json'
# Try to connect
$result = & 'C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\bin\Release\net8.0\GeViScopeBridge.exe' 2>&1
if ($result -match "Successfully connected") {
Write-Host "SUCCESS! Working credentials: $user / $pass" -ForegroundColor Green
break
}
Start-Sleep -Seconds 2
}
}
Once You Find Working Credentials
Update Configuration
Edit: C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\appsettings.json
{
"GeViScope": {
"Host": "localhost",
"Username": "YOUR_WORKING_USERNAME",
"Password": "YOUR_WORKING_PASSWORD"
},
"GeViSoft": {
"Host": "localhost",
"Username": "YOUR_WORKING_USERNAME",
"Password": "YOUR_WORKING_PASSWORD"
},
"GrpcServer": {
"Port": 50051
}
}
Then Start Services
# Terminal 1: SDK Bridge
cd C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\bin\Release\net8.0
.\GeViScopeBridge.exe
# Terminal 2: Python API
cd C:\DEV\COPILOT\geutebruck-api\src\api
& 'C:\DEV\COPILOT\geutebruck-api\.venv\Scripts\python.exe' main.py
Test the API
Open: http://localhost:8000/docs
Everything else is ready - just need the right credentials!