You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding the; * IoT rule "...UpdateShadowWithLoRaWANPayload..." updates the shadow of the IoT Thing 0b27a5cc-8a03-4841-8aae-dd19075310a0 (i.e. using value WirelessDeviceId as a Thing Name). The usage of this rule is recommended if you enable "Associate a thing with your wireless device" option when registering a new LoRaWAN devices in AWS IoT Core for LoRaWAN console.
I'm not sure if this is correct. In my case, when I registered a wireless device, I chose the option "Associate a thing with your wireless device", and it indeed created a Thing and associated it with the wireless device. However, the Thing Name and Device ID are different, and the above rule actually update the shadow looking for the Wireless Device ID (and not the Thing Name), so the associated thing ' shadow is not actually updated.
To solve this, the options are;
Create a new Thing with the same name as the Wireless Device ID (if wireless device was already created) or do not use the "Associate a thing with your wireless device" option, and then create the Thing.
Use the rule that triggers the "thingshadow-MapThingNameFunction..." which looks for the Thing Name associated with the Wireless Device and updates the shadow using the Thing name (which is what we are looking). However, this consumes an extra step (lambda) for each telemetry...
I'm not sure if I missed something or doing something wrong, but this is the way it is working for me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello:
Regarding the;
* IoT rule "...UpdateShadowWithLoRaWANPayload..." updates the shadow of the IoT Thing 0b27a5cc-8a03-4841-8aae-dd19075310a0 (i.e. using value WirelessDeviceId as a Thing Name). The usage of this rule is recommended if you enable "Associate a thing with your wireless device" option when registering a new LoRaWAN devices in AWS IoT Core for LoRaWAN console.
I'm not sure if this is correct. In my case, when I registered a wireless device, I chose the option "Associate a thing with your wireless device", and it indeed created a Thing and associated it with the wireless device. However, the Thing Name and Device ID are different, and the above rule actually update the shadow looking for the Wireless Device ID (and not the Thing Name), so the associated thing ' shadow is not actually updated.
To solve this, the options are;
I'm not sure if I missed something or doing something wrong, but this is the way it is working for me.
Regards;
Sergio
Beta Was this translation helpful? Give feedback.
All reactions