![]() |
VOOZH | about |
dotnet add package CasCap.Api.DoorBird.Sinks --version 0.10.22
NuGet\Install-Package CasCap.Api.DoorBird.Sinks -Version 0.10.22
<PackageReference Include="CasCap.Api.DoorBird.Sinks" Version="0.10.22" />
<PackageVersion Include="CasCap.Api.DoorBird.Sinks" Version="0.10.22" />Directory.Packages.props
<PackageReference Include="CasCap.Api.DoorBird.Sinks" />Project file
paket add CasCap.Api.DoorBird.Sinks --version 0.10.22
#r "nuget: CasCap.Api.DoorBird.Sinks, 0.10.22"
#:package CasCap.Api.DoorBird.Sinks@0.10.22
#addin nuget:?package=CasCap.Api.DoorBird.Sinks&version=0.10.22Install as a Cake Addin
#tool nuget:?package=CasCap.Api.DoorBird.Sinks&version=0.10.22Install as a Cake Tool
Pluggable event sink implementations for the DoorBird door station integration library (). Sinks persist DoorBirdEvent instances to external storage backends and are loaded based on the feature's SinkConfig.
dotnet add package CasCap.Api.DoorBird.Sinks
This project provides additional IEventSink<DoorBirdEvent> implementations beyond the default in-memory and Console sinks that ship with CasCap.Api.DoorBird. The sink assembly is scanned by AddDoorBirdWithExtraSinks() at startup, and only sinks whose SinkTypeAttribute name is Enabled = true in DoorBirdConfig.Sinks are registered.
| Sink class | SinkType |
Description |
|---|---|---|
DoorBirdSinkRedisService |
"Redis" |
Maintains running event counts and last-seen timestamps per event type (doorbell, motion, RFID, relay) in a Redis hash. Also implements IDoorBirdQuery. |
DoorBirdSinkAzureTablesService |
"AzureTables" |
Writes individual DoorBirdEvent rows to a line-items Azure Table and upserts a single snapshot row with aggregate counts and timestamps. |
DoorBirdSinkAzBlobService |
"AzureBlob" |
Enqueues captured JPEG image bytes to BlobStatics.UploadQueue for asynchronous upload to Azure Blob Storage by BlobProcessorBgService. |
BlobProcessorBgService |
— | Background service that reads from BlobStatics.UploadQueue and uploads each JPEG blob to Azure Blob Storage via IDoorBirdAzBlobStorageService. |
Sinks are enabled in DoorBirdConfig.Sinks.AvailableSinks. Example appsettings.json fragment:
{
"CasCap": {
"DoorBirdConfig": {
"Sinks": {
"AvailableSinks": {
"Redis": {
"Enabled": true,
"Settings": {
"SnapshotValues": "doorbird:snapshot"
}
},
"AzureTables": { "Enabled": true },
"AzureBlob": { "Enabled": true },
}
}
}
}
}
| Project | Purpose |
|---|---|
CasCap.Api.DoorBird |
Core DoorBird integration library, DoorBirdEvent, DoorBirdConfig |
CasCap.Api.Azure.Auth |
Azure authentication and AzureAuthConfig for Storage credential resolution |
CasCap.Api.Azure.Storage |
Azure Table/Blob Storage entity types and base services |
CasCap.Common.Caching |
Redis caching abstractions |
This project is released under . See the file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.