Closed dratasich closed 2 months ago
OK, sry, on another edge instance it works (I get 200 and rpcId) ... seems like I have broken the Rule Chains somehow. Or it has something to do with the setup.
The problem was that the device was created in the main instance. As soon as I created the device in the edge (as it is meant to be in my use case), the call works as expected. My learning: the RPCs are meant to be processed in the instance where the device has been created (regardless of the device's assignment to the edge(?)).
Hi, @dratasich!
Thanks for the request. Unfortunately, there is an issue with persistence RPC. The message is always identified as persistence=false. We could provide a hotfix image for both PE and EDGE-PE, could you send me an email - alandiak@thingsboard.io and I'll provide you details?
Hi @AndriiLandiak, ah, this issue of persistence=false is when sending an RPC request in the rule chain (?) - I have a workaround for that. For now, there is no hotfix image necessary. Thanks!
Component
Description Can I send persistent RPCs to the Edge?
Where
{{host}}
is either the TB URL or the edge URL:v.3.6.4PE
v.3.6.4EDGEPE
.I used the default root rule chains where the
RPC call request
node receives aRPC_CALL_FROM_SERVER_TO_DEVICE
. The screenshots above are from these nodes (TB vs. edge respectively)Environment
Thanks in advance! Kind regards, Denise