From 6172e169e221b61009c280bd12941e79b5c7bbff Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Thu, 4 Jun 2020 23:54:18 +0200 Subject: [PATCH] webserver --- ir-remote-timer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ir-remote-timer.py b/ir-remote-timer.py index 5cb0e1d..77c7220 100644 --- a/ir-remote-timer.py +++ b/ir-remote-timer.py @@ -7,6 +7,10 @@ import time from twisted.web import server, resource from twisted.internet import reactor +site = server.Site(Simple()) +reactor.listenTCP(80, site) +reactor.startRunning(False) + #print(irsend.list_remotes())