about summary refs log tree commit diff
path: root/fun/idual/__init__.py
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-04-25T23·24+0100
committerVincent Ambo <tazjin@google.com>2020-04-25T23·28+0100
commit6644d0031da7af16effda4287ea2da17506ee415 (patch)
tree0cd32cf4f408c981143c1ffedfbd44f88d41f895 /fun/idual/__init__.py
parent28bf77a1f12b720d4e1448434f3eda94814bcad4 (diff)
feat(fun/idual && nixos/camden): Add light alarm systemd units r/688
Adds a systemd unit to run the idual light alarm using a transient
timer created by systemd-run.
Diffstat (limited to 'fun/idual/__init__.py')
-rw-r--r--fun/idual/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fun/idual/__init__.py b/fun/idual/__init__.py
index 2c0f97170b54..ad103ef049b5 100644
--- a/fun/idual/__init__.py
+++ b/fun/idual/__init__.py
@@ -62,8 +62,10 @@ if __name__ == "__main__":
     #
     # The command sending doesn't always work, hence this brute-force
     # approach.
+    print('Initialising light controller')
     ctrl = LightController()
 
+    print('Turning on the lights. Wakey, wakey!')
     for i in range(9):
         ctrl.send_cmd('morning')
         time.sleep(0.2)