added another example plugin

This commit is contained in:
Ryan Huber 2014-11-18 10:20:15 -08:00
parent 928a68fab6
commit ab3d1e4cc5
3 changed files with 33 additions and 10 deletions

View file

@ -2,8 +2,8 @@ import time
crontable = []
outputs = []
#crontable.append([.5,"add_number"])
crontable.append([5,"say_time"])
def say_time():
outputs.append(["D030GJLM2", time.time()])
#NOTE: you must add a real channel ID for this to work
outputs.append(["D12345678", time.time()])