dotnet-daikin-altherma 2.0.0

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

// Install dotnet-daikin-altherma as a Cake Tool
#tool nuget:?package=dotnet-daikin-altherma&version=2.0.0                

dotnet-daikin-altherma

This project is C# library port which can talk to Daikin Altherma via LAN adapter BRP069A61 or BRP069A62.

NuGet

You can add package with command:

dotnet add package dotnet-daikin-altherma

Example

See example below, and change "myDaikinHost" to your Daikin host name or IP address.

using DotNet.Daikin.Altherma;

using var da = new DaikinAltherma();
await da.ConnectAsync("myDaikinHost");

var networkInfo = await da.GetNetworkInfoAsync();

Console.WriteLine($"IPAddress:  {networkInfo.IPAddress}");
Console.WriteLine($"Subnet:     {networkInfo.Subnet}");
Console.WriteLine($"GW:         {networkInfo.GW}");
Console.WriteLine($"DNS:        {String.Join(",", networkInfo.Dns)}");
Console.WriteLine($"DHCP:       {networkInfo.Dhcp}");
Console.WriteLine($"MacAddress: {networkInfo.MacAddress}");
Console.WriteLine();

for (; ; )
{
    var info = await da.GetDeviceInfoAsync();
    Console.WriteLine($"Adapter Model:             {info.AdapterModel}");
    Console.WriteLine($"Outdoor Temperature:       {info.OutdoorTemperature}");
    Console.WriteLine($"Indoor Temperature:        {info.IndoorTemperature}");
    Console.WriteLine($"Leaving Water Temperature: {info.LeavingWaterTemperature}");
    Console.WriteLine($"Target Temperature:        {info.TargetTemperature}");
    Console.WriteLine($"Target Temperature Offset: {info.TargetTemperatureOffset}");
    Console.WriteLine($"Power State:               {info.PowerState}");
    Console.WriteLine($"Emergency State:           {info.EmergencyState}");
    Console.WriteLine($"Error State:               {info.ErrorState}");
    Console.WriteLine($"Warning State:             {info.WarningState}");
    //var ok = await da.SetHeatingAsync(PowerState.On);
    //var ok = await da.SetTargetTemperatureAsync(23);
    //var ok = await da.SetTargetTemperatureOffsetAsync(-1);

    Console.WriteLine($"------------------------------------");
    System.Threading.Thread.Sleep(30 * 1000); // Report each 30s
}

Releases

  • Version 2.0.0
    • Adds support for two modes (Configure with Room Temperature and Configure with Outside Temperature)
    • Error handling for action methods: SetHeatingAsync, SetTargetTemperatureAsync, SetTargetTemperatureOffsetAsync
    • TargetTemperature and TargetTemperatureOffset can be null. Depends on device mode.
    • New properties:
      • TargetTemperatureOffset
      • EmergencyState
      • ErrorState
      • WarningState
    • New Methods:
      • GetNetworkInfoAsync
      • SetTargetTemperatureOffsetAsync
  • Version 1.0.0 - Inital Version

Notes

This module has been successfully tested with following unites:

  • Daikin HVAC controller BRP069A62

Acknowledgments

Inspirational project is hosted here: https://github.com/Frankkkkk/python-daikin-altherma

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.
  • net6.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
2.0.0 294 10/29/2023
1.0.0 242 12/11/2022

See README.md for changes for version 2.0.0