As I said in the other thread, ideal solution is Send/Expect plugin for Tasker - shell might work but you can’t get the RESULTS of your command. No problems with ID as well.
@dalanik - I replied to this in the relevant thread.
please don’t jump subject between threads.