.Net Standard 2.0 (C#) library providing easy, multi-platform communications with Wemo devices.
Communicate with your locally-accessible Wemo plug - this will not work externally via the internet (of which would require access to the Wemo network).
Compile the project, or acquire the latest nuget package and reference:
using WemoNet;
var wemo = new Wemo();wemo.TurnOnWemoPlugAsync("http://192.168.1.5").GetAwaiter().GetResult();wemo.TurnOffWemoPlugAsync("http://192.168.1.5").GetAwaiter().GetResult();wemo.ToggleWemoPlugAsync("http://192.168.1.5").GetAwaiter().GetResult();var onSuccess = await wemo.TurnOnWemoPlugAsync("http://192.168.1.5");var offSuccess = await wemo.TurnOffWemoPlugAsync("http://192.168.1.5");var success = wemo.TurnOnWemoPlugAsync("http://192.168.1.5").GetAwaiter().GetResult();var listOfDevicesFound = await wemo.GetListOfLocalWemoDevicesAsync(192, 168, 10); // First 3 local IP address octets