ShellySharp 0.0.3

dotnet add package ShellySharp --version 0.0.3
                    
NuGet\Install-Package ShellySharp -Version 0.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ShellySharp" Version="0.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ShellySharp" Version="0.0.3" />
                    
Directory.Packages.props
<PackageReference Include="ShellySharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ShellySharp --version 0.0.3
                    
#r "nuget: ShellySharp, 0.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ShellySharp@0.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ShellySharp&version=0.0.3
                    
Install as a Cake Addin
#tool nuget:?package=ShellySharp&version=0.0.3
                    
Install as a Cake Tool

ShellySharp

ShellySharp is an object-mapper for shelly.io-devices

Currently these project is in a very early state. Please contact me if you have any suggestions or if you want to me to integrate more devices

Supported devices

  • Shelly 1PM
  • more devices to come
  • remove all devices due to redesign

Authentication

  • at this time not implemented

NuGet-Package

Example Code

            dynamic device = await ShellySharp.v3.Dynamic.ShellyDeviceFactory.CreateDynamicDeviceAsync("192.168.178.101");
            if (((IDictionary<string, object>)device).ContainsKey("Switch0"))
            {
                // device.Switch0 ist vom Typ ShellySwitch (das Interface IHasSwitch ist implementiert).
                await device.Switch0.SwitchAsync(true);
                await device.Switch0.SwitchAsync(false);
            }
    
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.3 80 3/15/2025
0.0.2.9 97 3/14/2025
0.0.2.7 206 4/19/2024
0.0.2.5 563 3/3/2021
0.0.2.3 458 3/1/2021
0.0.2.2 419 2/27/2021
0.0.2.1 466 2/25/2021
0.0.2 474 2/25/2021
0.0.1.9 487 2/25/2021
0.0.1.8 464 2/24/2021
0.0.1.7 464 1/22/2021
0.0.1.6 543 10/21/2020
0.0.1.5 521 10/21/2020
0.0.1 575 10/21/2020

ShellySharp ist a object-mapper for shelly.io-Devices
This is preAlpha-Version.