damikun / UnifiedEdge

πŸ“‘Edge application builded around MQTT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ“‘Edge application builded around MQTT

License:MIT License


Languages

Language:C# 57.4%Language:TypeScript 36.4%Language:CSS 3.8%Language:Less 1.3%Language:JavaScript 0.5%Language:HTML 0.4%Language:PowerShell 0.1%Language:Shell 0.1%Language:Dockerfile 0.0%Language:SCSS 0.0%Language:Batchfile 0.0%