Owor allows you to connect your OneWire sensors to your Raspberry via the GPIO pins an process them in various ways
- WebUI
- MQTT
- HTTP
TODO: Provide a ready-made package
For now, Owor has to be compiled and started by hand:
- Install .NET Core SDK 2.1
cd Owor.All
dotnet publish -r linux-arm
- Copy to target Raspi
- optional Adjust settings in
appsettings.json
- Start with
./Owor.All
GET
api/devices
-----------
returns all devices available on the bus
GET
api/devices/{DEVICE_ID}
-----------------------
returns a single device by its device id
To add support for OEM devices, simply create an extension which implements IThirdPartyExtension
.
component Owor.Core
interface Owor.Api
component Owor.Ui
component Owor.Shared
component Owor.Mqtt
Owor.Core ..> Owor.Shared : "<include>"
Owor.Api -- Owor.Core : "<include>"
Owor.Ui --> Owor.Api : "<http>"
Owor.Mqtt --> Owor.Api : "<http>"
Owor.Shared
: Shared modelsOwor.Core
: Base lib to read and assemble 1W sensors and their dataOwor.Api
: Http interface to retrieve data viaOwor.Core
Owor.Ui
: Razor libOwor.Mqtt
: Mqtt connector
Also, there exists a catch-all project:
Owor.All
: "Base" project to assemble all other projects and run them within the same process
- Read device ids in configured directory
- Assemble "default" devices
- Identify special devices via
ThirdPartyExtensions
- Return devices