DoHomeClient 0.0.2

dotnet add package DoHomeClient --version 0.0.2                
NuGet\Install-Package DoHomeClient -Version 0.0.2                
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="DoHomeClient" Version="0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DoHomeClient --version 0.0.2                
#r "nuget: DoHomeClient, 0.0.2"                
#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.
// Install DoHomeClient as a Cake Addin
#addin nuget:?package=DoHomeClient&version=0.0.2

// Install DoHomeClient as a Cake Tool
#tool nuget:?package=DoHomeClient&version=0.0.2                

DoHomeClient

This simple library allows you to communicate with your DoHome Smart Bulbs.
The library is targeting devices with the old W600 chip and firmware 1.1.0
It should work with newer versions as well.

Getting started

var client = new DoHomeClient();
client.StartListener();
var color = new DoHomeColor(4000, 2000, 1000, 0, 0);
client.ChangeColor(color, false, client.Devices);
...
client.Off(client.Devices);

Communication

The library can communicate with the bulbs over TCP or over UDP.
To communicate over TCP, use the methods directly defined on the DoHomeDevice.
To communicate over UDP, use the methods defined on the DoHomeClient.

The sample client provided shows both.

Since the devices can only handle 1 concurrent TCP connection, you might not be able to use the mobile app at the same time as you use this library.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

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.2 376 6/24/2021
0.0.1 311 6/24/2021