<div dir="ltr">Okay, I tracked it down to this:<br>"precondition" : {"_deviceId._Manufacturer":"Foo"}<br><div><br></div><div>I fixed my gui/config/summary_parameters.yml to have Manufacturer: InternetGatewayDevice.DeviceInfo.Manufacturer and its working properly now.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 20, 2017 at 10:24 AM, Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have a preset to apply a provisioning script.<div><br></div><div>Precondition is:<div>Tags != Provisioned</div><div>Tags = Managed</div><div>Manufacturer = SmartRG</div><div><br></div><div>Channel: Provisioning</div><div>Schedule: none</div><div>Events: none</div><div><br></div><div>Actual precondition from Mongo:<br><div>{"$and":[{"_tags":{"$ne":"<wbr>Provisioned"}},{"_tags":"<wbr>Managed"}],"_deviceId._<wbr>Manufacturer":"SmartRG"}<br></div></div><div><br></div><div>There are no faults.<br></div><div><br></div><div>When I click on the "devices" link next to the preset, I can see my device listed.</div></div><div><br></div><div>However, the provision script does not run. I have a log line at the top, and that log line never gets output.</div><div><br></div><div>Console log: <a href="http://pastebin.com/umLYcwN3" target="_blank">http://pastebin.com/<wbr>umLYcwN3</a></div><div><br></div><div>Zaid, I took the liberty of added all the provisions and presets in the test environment you setup for me last week.</div></div>
</blockquote></div><br></div>