Alex,
I’m doing the arm (“mode”: “arm,motion,env,usb”), then upon wakeup, I run some setup code to set up the notecard (some settings are based on environment variables), then I try to retrieve what triggered the attention ({“req”: “card.attn”, “start”: true}). And I am not seeing the “files” response member.
The Swan is waking up on all of the triggers just fine. Edit: I have the response JSON sent to a Blynk datastream which shows up on the app. The only response members I’m getting is “crc” and “set”: “True”.
You mention that the files response member is a one shot deal. Can any of the following requests alter the {“req”: “card.attn”, “start”: true} results?
Thanks,
Joe
{“req”: “hub.set”,
“product”: product_id,
“version”: VERSION,
“inbound”: 1,
“outbound”: 0,
“mode”: “continuous”,
“sync”: True,
“duration”: -1}
{“req”:“card.voltage”,
“mode”:“lipo”}
{“req”: “card.aux.serial”,
“mode”: “gps”}
{“req”: “card.location.mode”,
“mode”: “continuous”}
{“req”: “card.time”}
{“req”: “card.motion.mode”,
“seconds”: 15,
“motion”: 1,
“start”: True}