Skip to content

Create your custom EmBER+ provider in .NET Core (.NET standard), with a bidirectional Websocket interface.

License

Notifications You must be signed in to change notification settings

IrisBroadcast/larkspur-ember-plus-provider

Repository files navigation

.NET Core Multi Build

Larkspur EmBER+ Plus Provider

Creates an EmBER+ tree with custom leafs and nodes. The information/nodes is also available to access with SignalR and a REST application interface (API).

It's a standalone .NET Core Worker Service.

Could be used to bridge EmBER+ information and control to and from the web.

EmBER+ is a control protocol developed and maintained by Lawo. Control and status is represented as nodes in a tree (XML-structure). You can have your device or application to be a provider or consumer. This application is a provider with a web-API backbone. Make your custom nodes writable or just readable.

Larkspur Ember Provider Web Endpoint Screenshot

Larkspur Ember Provider View Screenshot

Roadmap

  • Posibility to add functions
  • Adding the complete template idea, for structuring your custom EmBER+ tree without changing the "code".

License

Larkspur Ember Web Provider is using a library 'EmberLib.net' from Lawo GmbH.

EmberLib.net -- .NET implementation of the Ember+ Protocol
Copyright (c) 2012-2019 Lawo GmbH (http://www.lawo.com).
Distributed under the Boost Software License, Version 1.0.

There has been some modifications to the source code for .NET Standard adaption. And we are not running on the latest commit. There is something not working with the 101 communication implementation. The files in the library that are using an older version is marked in the header with 'XXX'.

Larkspur Ember Web Provider is Copyright (c) 2020 Roger Sandholm & Fredrik Bergholtz, Stockholm, Sweden
The code is licensed under the BSD 3-clause license.

The license for Larkspur Ember Web Provider is in the LICENSE.txt file

How to get started

Run and develop as a Microsoft Service

The application contains a package:

Microsoft.Extensions.Hosting.WindowsServices that enables the application to be runned as a windows service.

First build the application:

dotnet publish -r win-x64 -c Release

Then to get the service up and running use the windows service 'sc' commands. Open a terminal / powershell:

sc create LarkspurService BinPath=C:\code\bin\LarkspurEmberWebProvider.exe

Then you should start the service:

sc start LarkspurService

Responsible Maintainers