Hi, I am building a node with bluetooth connectivity. And this all works fine.
But to connect to the bluetooth device you need to enter a bluetooth address, and also first find out what that address is. This can be quite difficult.
So instead I want to have a dropdown in the node config editor to select the bluetooth address populated from a bluetooth scan. I know how to do a scan in the node, however I cannot find how to get that dynamic information in the node config editor. Or run functions in the node.
I know how to manipulate the config editor HTML with jquery and the "oneditprepare" call. But not how to connect to the node or interacting with it.
Ps. I need to run the BT scan in the node, as running it in the editor HTML/script would mean it would scan from the browser instead of running from the device that node-red runs on.