DoHomeClient 0.0.2
dotnet add package DoHomeClient --version 0.0.2
NuGet\Install-Package DoHomeClient -Version 0.0.2
<PackageReference Include="DoHomeClient" Version="0.0.2" />
paket add DoHomeClient --version 0.0.2
#r "nuget: DoHomeClient, 0.0.2"
// 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 | Versions 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. |
-
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.