aboutsummaryrefslogtreecommitdiff
path: root/src/inverterd_emulator.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/inverterd_emulator.py')
-rwxr-xr-xsrc/inverterd_emulator.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/inverterd_emulator.py b/src/inverterd_emulator.py
new file mode 100755
index 0000000..8c4d0bd
--- /dev/null
+++ b/src/inverterd_emulator.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+import logging
+
+from home.inverter.emulator import InverterEmulator
+
+
+if __name__ == '__main__':
+ logging.basicConfig(level=logging.DEBUG)
+ InverterEmulator(addr=('127.0.0.1', 8305))