system bridge
4.1.13
팁
기부금을 환영합니다! 프로젝트에 자유롭게 기여하십시오
시스템을위한 다리.

여기에서는 설치 지침을 찾을 수 있습니다.
여기에서 응용 프로그램을 실행하는 지침을 찾을 수 있습니다.
여기에서 API/WebSocket을 통해 액세스 할 수있는 문서 데이터 모듈을 찾을 수 있습니다.
CLI에 대한 문서를 여기에서 찾을 수 있습니다.
API에 대한 문서를 여기에서 찾을 수 있습니다.
WebSocket에 대한 문서를 여기에서 찾을 수 있습니다.
API/WebSocket 및 데이터 모듈이 포함 된 기본 응용 프로그램. 이 패키지에는 systembridgeshared 패키지가 필요합니다.
응용 프로그램의 명령 줄 인터페이스. 여기에서 token 얻고 설정을 업데이트하고 데이터를 얻을 수 있습니다.
다른 응용 프로그램이 백엔드에 연결할 수 있습니다. 예를 들어, 홈 어시스턴트 통합에서.
응용 프로그램의 프론트 엔드.
systembridgebackend 및 systembridgecli 패키지에 필요한 공유 패키지.
애플리케이션에서 사용하는 모델이 포함 된 대부분의 다른 패키지에서 사용하는 공유 패키지.
특히 Windows의 경우 Windows 시스템 정보를 얻기 위해 센서를 추가합니다.
.setup.ps1./setup.shyarn install
yarn tauri buildyarn install
yarn tauri dev Write-Host " Make sure you have winget, GitHub CLI, Git and Python 3.12 installed before running this script! "
Read-Host - Prompt " Press Enter to continue "
Write-Output " Upgrading GitHub CLI... "
winget upgrade GitHub.CLI
Write-Output " Upgrading Git... "
winget upgrade Git.Git
Write-Output " Upgrading Python 3.12... "
winget upgrade Python.Python. 3.12
Write-Output " Clone repositories... "
gh repo clone timmo001 / system - bridge package
gh repo clone timmo001 / system - bridge - backend backend
gh repo clone timmo001 / system - bridge - cli cli
gh repo clone timmo001 / system - bridge - connector connector
gh repo clone timmo001 / system - bridge - frontend frontend
gh repo clone timmo001 / system - bridge - shared shared
gh repo clone timmo001 / system - bridge - models models
gh repo clone timmo001 / system - bridge - windows - sensors windows - sensors
Write-Output " Clone complete! " Write-Host " Make sure you have ran clone.ps1 and have winget, Git and Python 3.12 installed before running this script! "
Read-Host - Prompt " Press Enter to continue "
Write-Output " Upgrading Python 3.12... "
winget upgrade Python.Python. 3.12
Write-Output " Update pip, setuptools and wheel... "
python - m pip install -- upgrade pip setuptools wheel
Write-Output " Uninstall any existing packages... "
python - m pip uninstall systembridge - y
python - m pip uninstall systembridgebackend - y
python - m pip uninstall systembridgecli - y
python - m pip uninstall systembridgeconnector - y
python - m pip uninstall systembridgefrontend - y
python - m pip uninstall systembridgeshared - y
python - m pip uninstall systembridgemodels - y
python - m pip uninstall systembridgewindowssensors - y
Write-Output " Install packages... "
Write-Output " Install models.. "
Set-Location models && git pull && python - m pip install . && Set-Location ..
Write-Output " Install shared.. "
Set-Location shared && git pull && python - m pip install . && Set-Location ..
Write-Output " Install connector.. "
Set-Location connector && git pull && python - m pip install . && Set-Location ..
Write-Output " Install frontend.. "
Set-Location frontend && git pull && yarn install && yarn build && python - m pip install . && Set-Location ..
Write-Output " Install cli.. "
Set-Location cli && git pull && python - m pip install . && Set-Location ..
Write-Output " Install backend.. "
Set-Location backend && git pull && python - m pip install . && Set-Location ..
Write-Output " This next step requires you to build the windows-sensors/WindowsSensors/WindowsSensors.sln solution in Visual Studio. "
Read-Host - Prompt " Press Enter to continue "
Write-Output " Install windows-sensors.. "
Set-Location windows - sensors && git pull && python - m pip install . && Set-Location ..
Write-Output " Install complete! "