Skip to content

sergey-brutsky/noolite-thinking-home

Repository files navigation

Noolite Thinking Home

This is a C# library that provides API for Noolite gateway

Warning: Now only temperature and humidity sensors supported

Example of usage

public class Program
{
    public static void Main(string[] args)
    {
        using (var gateway = new Pr1132Gateway("192.168.2.3"))
        {
            foreach (var sensorData in gateway.LoadSensorData())
            {
                Console.WriteLine($"State: {sensorData.State}, Temp: {sensorData.Temperature}, Humidity: {sensorData.Humidity}");
            }

            Console.ReadKey();
        }
    }
}

About

This is a port of this project https://code.google.com/archive/p/th-noolite/ for .net core platform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages