Skip to content

damikun/UnifiedEdge

Repository files navigation

Unified Edge

Backend-Compile Electron Docker

✨ Description

UnifiedEdge provides edge functionality and a future bridge between different industrial protocols.

(Currently full functional MQTT servers).

⚠️ This is early BETA!

  • App is in BETA and is not ready for production or ussage
  • Many parts will get optimized and changed in time...

💾 Installers

Code is not currently signed!

The installers can be behind the current app.

Win64 Installer

🧑‍💻 Local run

  • Go to folder /src/Portal/API
  • Run dotnet watch run from cmd

App require HTTPS! Default self-signed cert location is: ./DevCerts/c.pfx"

Default url: https://localhost:5001/

🧑‍💻 Docker

Run:

QuickRun:

docker run --rm -it -p 5001:5001 -p 40000-40010:40000-40010 -e ASPNETCORE_URLS="https://+:5001;http://+" -e ASPNETCORE_HTTPS_PORT=5001 -e MIN_PORT=40000 -e MAX_PORT=40010 -i ghcr.io/damikun/unifiededge:main

This runs portal on https://localhost:5001/ and opens 10 ports range (40000-40010) for mqtt servers... Make sure you update Adapter to not use loopback in portal App..

Compose: docker-compose up from root folder.. (Make sure you have proper cert installed...) The default path and password is defined inside compose file..

Default env. confinguration is:

- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx

To generate proper certs use following cmd for Windows Windows Example

dotnet dev-certs https --clean
dotnet dev-certs https -ep %USERPROFILE%\.aspnet\https\aspnetapp.pfx
dotnet dev-certs https --trust

Linux Example

dotnet dev-certs https --clean
dotnet dev-certs https -ep ${HOME}/.aspnet/https/aspnetapp.pfx
dotnet dev-certs https --trust

For other platforms look on Microsoft documentation..

Make sure the paths in config match with generated certs...

Default url: https://localhost:5001/

👤 Credentials

Login: Admin

Password: Admin

🛣 Roadmap


API

  • Graphql ✅
  • Rest ✅

Protocols

  • MQTT ✅
  • OpcUA (InProgress)
  • S7Comm
  • Socket

Environment:

  • Electron multiplatform app ✅
  • Self-hosted webApp ✅
  • Docker ✅

Features:

  • Multiple servers ✅
  • MqttToGraphql ✅
  • WebHooks ✅
  • Auth / OpenId ✅
  • OnSide Documents ✅
  • Message intercepting
  • Protocol bridge
  • Telemetry exporter
  • Grafana integration
  • Backups, Config export
  • Distributed operation
  • External DB support

📺 Screenshots

Mqtt server monitor page Mqtt server dashboard Mqtt server client stats Mqtt server authentication/authorization Mqtt explorer Publish mqtt message from portal User managment User profile page Notes view Update Note API options API options API options System scheduler WebHooks

Author

  • Dalibor Kundrat