I am working with Sierra Wireless FX30S gateway and firmware 3.2.0.rc4.
I was delighted with the new functionality in firmware 3.2.0.rc4, which allows me to determine the moment when the blueprint changed. For this, the “cloudInterface/config_received/value” resource is used. I need this functionality so that when a new blueprint is applied to a gateway, a script will run on the gateway that will fill my non-configurable virtual JSON-type resources with the structure I specified. This, in turn, is necessary so that when the gateway is rebooted, the value of my non-configurable resources is not reset.
While testing this functionality, I found that with any change to the blueprint, the “cloudInterface/config_received/value” resource fires as expected, but it also fires when the gateway is rebooted, which is not desirable. When I reboot, I need to save the contents of my virtual resources, but because of the “cloudInterface/config_received/value” resource fires, I lose the contents, as I create the JSON structure of these resources anew.
The resource, “cloudInterface/config_dirty/value” is not described in the documentation, but, as follows from the name, it must fires when the gateway configuration is different from the blueprint. When testing, I found that the logic of its operation is reverse, it is triggered when the device configuration matches the blueprint. And its meaning is always equal to the false. Is this a working resource and how to interpret it correctly?