Commit 8196280a authored by Robin Obůrka's avatar Robin Obůrka

dev: Generate serial number in out_only box - useful for eye-debugging

parent 0c023c02
......@@ -18,12 +18,16 @@ def teardown(context):
def process(context):
serial = 0
while True:
data = {
"serial": serial,
"ts": int(time.time()),
serial += 1
yield "sentinel/dev/sn", data
print("PUB", data)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment