On/Off Control Over the Internet
Before you can control MarkOne over the internet, you will need to create an account with Particle, and 'claim' your device. (see the previous section)
-> Login to your particle account via Particle CLI.
$ particle login
-> List your devices to confirm that your device(s) is online.
$ particle list
-> Toggle the IR LEDs off. The blue D7 LED should turn off. Use your device's name.
$ particle call DeviceName toggle "off"
-> Toggle the IR LEDs on. The blue D7 LED should turn on. Use your device's name.
$ particle call DeviceName toggle "on"
Updated less than a minute ago