Skip to content

thomas-bingel/geberit-aquaclean

Repository files navigation

Geberit AquaClean Mera Library

C# library to connect to the Geberit AquaClean Mera toilet using UWP (Universal Windows Platform)

This library can be used to connect to the Geberit AquaClean Mera toilet. Using a standard Windows or Windows IoT Core on a Raspberry Pi.

The library works fine for basic controlling of the toilet. The code could need a rewrite and more structure. It is an early alpha!

Usage of the library

String deviceId = "BluetoothLE#BluetoothLE00:xx:xx:xx:xx:xx-xx:xx:xx:xx:xx:xx";
var factory = new AquaCleanClientFactory(new BluetoothLeConnector());
var client = factory.CreateClient();

client.DeviceStateChanged += async (sender, args) =>
{
    if (args.IsUserSitting.HasValue)
    {
        Debug.WriteLine(String.Format("IsUserSitting={0}", args.IsUserSitting.Value));
    }

    if (args.IsAnalShowerRunning.HasValue)
    {
        Debug.WriteLine(String.Format("IsAnalShowerRunning={0}", args.IsAnalShowerRunning.Value));
    }

    if (args.IsLadyShowerRunning.HasValue)
    {
        Debug.WriteLine(String.Format("IsLadyShowerRunning={0}", args.IsLadyShowerRunning.Value));
    }
};
await client.Connect(deviceId);
client.ToggleLidPosition();

Tasks

  • Tested Geberit AquaClean Mera Comfort
  • Event when user is sitting down
  • Events when using shower, etc.
  • Complete API with other functionality

The App

Work in Progress...

Tasks

  • Pair and connect to the device
  • Send and receive MQTT Messages to the device
  • Configuration (Settings)
  • Add Azure Pipeline
  • Starting App in CommandLine (Checkout, Build, Run)

About

C# library to connect to the Geberit AquaClean Mera toilet using UWP (Universal Windows Platform)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages