Benchmark
[iotcloud.git] / version2 / src / java / light_fan_benchmark / WemoController.java
diff --git a/version2/src/java/light_fan_benchmark/WemoController.java b/version2/src/java/light_fan_benchmark/WemoController.java
new file mode 100644 (file)
index 0000000..16db7ae
--- /dev/null
@@ -0,0 +1,9 @@
+class WemoController {
+    public static void main(String[] args) throws Exception {
+        IoTDeviceAddress devAddr = new IoTDeviceAddress("192.168.1.5", 49153, 49153, false, false);
+        Wemo wemo = new Wemo(devAddr);
+
+        wemo.turnOn();
+    }
+
+}
\ No newline at end of file