FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
02-08-2023 04:17 PM
Hi,
instead of searching for every single data layer node via the browse function of the node red data layer node (which is really helpful by the way!) is there a possibility to configure a mass of subscribe data layer nodes? E.g. via export/import of a config file to node red app?
Thanks in advanced!
Solved! Go to Solution.
02-16-2023 03:55 PM
You can always register several subscriptions with one single request. Just add the path separate by a comma:
https://127.0.0.1:8443/automation/api/v2/events?nodes=framework/metrics/system/cpu-utilisation-percent,framework/metrics/system/memavailable-mb&publishIntervalMs=100
There is a possibility to do the same via the path input of the subscribe node of our node-red-contrib-ctrlx-automation. But at the moment I could not get it to work and added an issue to the repository: mass subscribe results in "DL_INVALID_ADDRESS" #66.
We are also working on adding an input to the subscribe nodes to do change the settings via a message.