The mesh node closed almost all ports. So you cannot ssh to it and add script. Currently the way the app to turn on/off led is not very programming friendly.