https://github.com/philipdaubmeier/graphiot

Visualizes IoT sensor data in time series graphs. Includes .NET Core clients for Digitalstrom, Viessmann, Netatmo, Sonnen and WeConnect APIs.

https://github.com/philipdaubmeier/graphiot

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary

Keywords

c-sharp digitalstrom dotnetcore grafana graphs netatmo sensor-data sonnen time-series viessmann weconnect

Keywords from Contributors

interactive projection sequences embedded genomics observability autograding hacking shellcodes archival
Last synced: 6 months ago · JSON representation

Repository

Visualizes IoT sensor data in time series graphs. Includes .NET Core clients for Digitalstrom, Viessmann, Netatmo, Sonnen and WeConnect APIs.

Basic Info
  • Host: GitHub
  • Owner: philipdaubmeier
  • License: mit
  • Language: C#
  • Default Branch: master
  • Homepage:
  • Size: 2.27 MB
Statistics
  • Stars: 24
  • Watchers: 4
  • Forks: 6
  • Open Issues: 0
  • Releases: 0
Topics
c-sharp digitalstrom dotnetcore grafana graphs netatmo sensor-data sonnen time-series viessmann weconnect
Created over 6 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

GraphIoT logo

Build status

Azure pipeline

GraphIoT

GraphIoT is a .NET 9 project for polling and storing historical IoT and smart home sensor data and providing it for visualization as time series graphs.

The main server application consists of these two major parts for this purpose:

  1. Data Gathering
    • A set of timed hosted services that regularly poll data from other servers, e.g. home servers of smart home systems or cloud apis of smart home device manufacturers. These values are stored in a configurable database. Currently it supports polling from:
      • Digitalstrom DSS (home server)
      • Netatmo (Cloud API)
      • Sonnen (Cloud API)
      • Viessmann (Cloud API)
      • WeConnect (Cloud API)
  2. Data Visualization
    • A set of RESTful APIs to retrieve the time series data
    • Grafana visualization via:
      • a grafana hosted service that starts and monitors the grafana server process
      • a reverse proxy middleware that redirects to the grafana server
      • a REST+json api that loads, aggregates and preprocesses the stored data and outputs it in a grafana JSON datasource compatible format

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6

Code Structure

GraphIoT consists of several subprojects, some of which are independent of GraphIoT dependencies and can be used within other applications as nuget packages.

It is structured as follows:

Setup

Follow these steps to set up the development environment, publish the application to your own server and create Grafana dashboards with the actual graphs.

Setup application

Configure Grafana

Platform Support

GraphIoT is targeted for .NET 9.0 or higher.

License

The MIT License (MIT) Copyright (c) 2019-2024 Philip Daubmeier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Owner

  • Name: Philip Daubmeier
  • Login: philipdaubmeier
  • Kind: user
  • Location: Germany

GitHub Events

Total
  • Watch event: 3
  • Push event: 2
Last Year
  • Watch event: 3
  • Push event: 2

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 889
  • Total Committers: 5
  • Avg Commits per committer: 177.8
  • Development Distribution Score (DDS): 0.01
Past Year
  • Commits: 14
  • Committers: 2
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.143
Top Committers
Name Email Commits
philipdaubmeier p****p@d****e 880
bgewehr b****d@g****t 4
dependabot[bot] 4****] 2
wez3 w****3 2
Marcus Abrahamsson m****3@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 11
  • Total pull requests: 8
  • Average time to close issues: 2 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 6
  • Total pull request authors: 3
  • Average comments per issue: 3.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • philipdaubmeier (3)
  • punthoofd07 (3)
  • Abrissirba (2)
  • mikkelrj (1)
  • sebwaks (1)
  • vanThijs (1)
Pull Request Authors
  • philipdaubmeier (5)
  • dependabot[bot] (2)
  • Abrissirba (1)
Top Labels
Issue Labels
enhancement (5) bug (4) wontfix (1)
Pull Request Labels
enhancement (2) dependencies (2)

Packages

  • Total packages: 8
  • Total downloads:
    • nuget 39,991 total
  • Total dependent packages: 1
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 73
  • Total maintainers: 1
nuget.org: philipdaubmeier.digitalstromclient

This class library provides a way to call the Digitalstrom Server (DSS) RESTful JSON interface. It encapsulates all authentication, retry and parsing logic and provides a strongly typed method interface.

  • Versions: 10
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 6,666 Total
Rankings
Dependent packages count: 10.3%
Dependent repos count: 12.7%
Average: 15.4%
Downloads: 23.2%
Maintainers (1)
Last synced: 6 months ago
nuget.org: philipdaubmeier.viessmannclient

This class library provides a way to call the Viessmann Developer Portal interfaces. It encapsulates all authentication, retry and parsing logic and provides a strongly typed method interface.

  • Versions: 16
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 8,479 Total
Rankings
Dependent repos count: 12.7%
Average: 17.6%
Dependent packages count: 19.5%
Downloads: 20.6%
Maintainers (1)
Last synced: 6 months ago
nuget.org: philipdaubmeier.netatmoclient

This class library provides a way to call the Netatmo Cloud RESTful JSON interface. It encapsulates all authentication, retry and parsing logic and provides a strongly typed method interface.

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5,612 Total
Rankings
Dependent repos count: 12.7%
Average: 19.0%
Dependent packages count: 19.5%
Downloads: 24.7%
Maintainers (1)
Last synced: 6 months ago
nuget.org: philipdaubmeier.sonnenclient

This class library provides a way to call the Sonnen Portal RESTful JSON interface. It encapsulates all authentication, retry and parsing logic and provides a strongly typed method interface.

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5,227 Total
Rankings
Dependent repos count: 12.7%
Average: 19.2%
Dependent packages count: 19.5%
Downloads: 25.3%
Maintainers (1)
Last synced: 6 months ago
nuget.org: philipdaubmeier.digitalstromtwin

This class library provides a DigitalstromDssTwin object as the main class, that automatically synchronizes scene states of all rooms both ways, i.e. if a state is changed programatically it sends a command to the DSS, if a scene is changed within the apartement the event is synched into the twin model.

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,961 Total
Rankings
Dependent repos count: 12.7%
Dependent packages count: 19.5%
Average: 19.6%
Downloads: 26.6%
Maintainers (1)
Last synced: 6 months ago
nuget.org: philipdaubmeier.compacttimeseries

Memory efficient storing, processing, resampling and compressing of time series data.

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,242 Total
Rankings
Dependent repos count: 12.7%
Dependent packages count: 19.5%
Average: 19.9%
Downloads: 27.5%
Maintainers (1)
Last synced: 6 months ago
nuget.org: philipdaubmeier.tokenstore

Provides a means to store and retrieve OAuth access and refresh tokens to/from a configurable entity framework database.

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,539 Total
Rankings
Dependent repos count: 12.7%
Dependent packages count: 19.5%
Average: 20.7%
Downloads: 29.8%
Maintainers (1)
Last synced: 6 months ago
nuget.org: philipdaubmeier.weconnectclient

This class library provides a way to call the Volkswagen WeConnect interfaces. It encapsulates all authentication, retry and parsing logic and provides a strongly typed method interface.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1,265 Total
Rankings
Dependent repos count: 12.7%
Dependent packages count: 19.5%
Average: 24.7%
Downloads: 42.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

samples/DigitalstromTimeSeriesApi/DigitalstromTimeSeriesApi.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.EntityFrameworkCore.SqlServer 5.0.7
src/DigitalstromClient/DigitalstromClient.csproj nuget
  • Resource.Embedder 2.1.1
  • System.Text.Json 5.0.2
src/GraphIoT.App/GraphIoT.App.csproj nuget
  • Microsoft.CodeAnalysis.Common 3.10.0 development
  • Microsoft.EntityFrameworkCore.Design 5.0.7 development
  • Microsoft.EntityFrameworkCore.Tools 5.0.7 development
  • Microsoft.EntityFrameworkCore.SqlServer 5.0.7
  • Microsoft.EntityFrameworkCore.SqlServer.Design 1.1.6
  • Serilog.Extensions.Logging.File 2.0.0
src/GraphIoT.Core/GraphIoT.Core.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.Extensions.Hosting.Abstractions 5.0.0
  • Microsoft.Extensions.Localization.Abstractions 5.0.7
  • Microsoft.Extensions.Options.ConfigurationExtensions 5.0.0
  • System.Text.Json 5.0.2
src/GraphIoT.Digitalstrom/GraphIoT.Digitalstrom.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.Extensions.Http.Polly 5.0.1
src/GraphIoT.Grafana/GraphIoT.Grafana.csproj nuget
  • ProxyKit 2.3.4
src/GraphIoT.Graphite/GraphIoT.Graphite.csproj nuget
  • ProxyKit 2.3.4
src/GraphIoT.Netatmo/GraphIoT.Netatmo.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.Extensions.Http.Polly 5.0.1
src/GraphIoT.Sonnen/GraphIoT.Sonnen.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.Extensions.Http.Polly 5.0.1
src/GraphIoT.Viessmann/GraphIoT.Viessmann.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.Extensions.Http.Polly 5.0.1
src/GraphIoT.WeConnect/GraphIoT.WeConnect.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.Extensions.Http.Polly 5.0.1
src/NetatmoClient/NetatmoClient.csproj nuget
  • System.Text.Json 5.0.2
src/SonnenClient/SonnenClient.csproj nuget
  • HtmlAgilityPack 1.11.34
  • System.Text.Json 5.0.2
src/TokenStore/TokenStore.csproj nuget
  • Microsoft.EntityFrameworkCore 5.0.7
  • Microsoft.Extensions.Options.ConfigurationExtensions 5.0.0
src/ViessmannClient/ViessmannClient.csproj nuget
  • System.Text.Json 5.0.2
src/WeConnectClient/WeConnectClient.csproj nuget
  • HtmlAgilityPack 1.11.34
  • System.Text.Json 5.0.2
test/CompactTimeSeries.Tests/CompactTimeSeries.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • xunit 2.4.1
test/DigitalstromClient.Tests/DigitalstromClient.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • xunit 2.4.1
test/DigitalstromDssMock/DigitalstromDssMock.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • RichardSzalay.MockHttp 6.0.0
  • xunit 2.4.1
test/DigitalstromTwin.Tests/DigitalstromTwin.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • xunit 2.4.1
test/GraphIoT.Core.Tests/GraphIoT.Core.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • xunit 2.4.1
test/GraphIoT.Digitalstrom.Tests/GraphIoT.Digitalstrom.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.AspNetCore.Mvc.Testing 5.0.7
  • Microsoft.EntityFrameworkCore.InMemory 5.0.7
  • Microsoft.NET.Test.Sdk 16.10.0
  • xunit 2.4.1
test/GraphIoT.Graphite.Tests/GraphIoT.Graphite.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.AspNetCore.Mvc.Testing 5.0.7
  • Microsoft.EntityFrameworkCore.InMemory 5.0.7
  • Microsoft.NET.Test.Sdk 16.10.0
  • xunit 2.4.1
test/NetatmoClient.Tests/NetatmoClient.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • RichardSzalay.MockHttp 6.0.0
  • xunit 2.4.1
test/SonnenClient.Tests/SonnenClient.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • RichardSzalay.MockHttp 6.0.0
  • xunit 2.4.1
test/TokenStore.Tests/TokenStore.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • Moq 4.16.1
  • xunit 2.4.1
test/ViessmannClient.Tests/ViessmannClient.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • RichardSzalay.MockHttp 6.0.0
  • xunit 2.4.1
test/WeConnectClient.Tests/WeConnectClient.Tests.csproj nuget
  • xunit.runner.visualstudio 2.4.3 development
  • Microsoft.NET.Test.Sdk 16.10.0
  • RichardSzalay.MockHttp 6.0.0
  • xunit 2.4.1
doc/packages.config nuget
  • Ben.Demystifier 0.4.1
  • System.Buffers 4.6.0
  • System.Collections.Immutable 9.0.0
  • System.Memory 4.6.0
  • System.Numerics.Vectors 4.6.0
  • System.Reflection.Metadata 9.0.0
  • System.Runtime.CompilerServices.Unsafe 6.1.0
  • System.Threading.Tasks.Extensions 4.6.0
samples/DigitalstromClientConsole/DigitalstromClientConsole.csproj nuget
  • Ben.Demystifier 0.4.1
src/CompactTimeSeries/CompactTimeSeries.csproj nuget
  • Ben.Demystifier 0.4.1
src/CompactTimeSeries/CompactTimeSeries.nuspec nuget
src/DigitalstromClient/DigitalstromClient.nuspec nuget
src/DigitalstromTwin/DigitalstromTwin.csproj nuget
  • Ben.Demystifier 0.4.1
src/DigitalstromTwin/DigitalstromTwin.nuspec nuget
src/NetatmoClient/NetatmoClient.nuspec nuget
src/SonnenClient/SonnenClient.nuspec nuget
src/TokenStore/TokenStore.nuspec nuget
src/ViessmannClient/ViessmannClient.nuspec nuget
src/WeConnectClient/WeConnectClient.nuspec nuget