I have two issues with the DatalayerContrib node in Node Red. I assume, they are not related to the previous one, so I put them in a separate topic.
1. The DatalayerContrib nodes lose the authentication after approx. one hour. So, values cannot be read from the datalayer and the only method to recover the authentication seems to make any dummy change and deploy the node red flow. Log out and log in on the UI doesn't help. Other communication via REST using GET/PUT methods and standard nodes is working normally in the same time. The property requestTimeout seems related only to a single request and not to the validity time of the token.
I observe same behaviour as well as on a virtual CtrlX as on the real Core. The version of the node is 1.2.1 provided by the rexroth snap 1.4.0
2. The only method I get work is READ.
msg.method = 'WRITE';
msg.path = 'plc/app/Application/sym/Recipe/sComments';
... and directly the WRITE method in the DatalayerContrib node:
Solved! Go to Solution.
can you please retry with version 1.6.0 of the apps? For the Node-RED app, as well as for the PLC and AutomationCore app. All should be updated to version 1.6.0. I can not reproduce the connection loss after 1 hour and the nodes are programmed to hande reauthentication as soon as the token expires. Which is also validated here: https://developer.community.boschrexroth.com/t5/ctrlX-CORE/Node-Red-DatalayerContrib-nodes/m-p/20845...
Thanks and regards