[Solved] Sending commands to OH(2) from external scripts

very simple example in the script I just posted: Detecting offline Things