Hi, thanks for kind help,
One of the biggest question I asked myself is, how can I execute code once and before the main code begins? How can I initialize variables, and especially hardware before Node Red start using it on flows? I have a lot on I2C bus, for some there aren't libraries and I have to execute commands on I2C before all,
I'm thinking to create a global.set and don't execute anything until it will be set after initiate hardware, any other idea?