Live Control¶
Run Commands live
The USB Nugget supports live command both through a web interface and via a web API.
Web Interface¶
To access the web interface and run payloads live, connect to the USB Nugget’s Wi-Fi access point and visit the creation page.
From this page, you can create, run, and save payloads to your USB Nugget.
Python Script¶
If you want to use a script to send CatScratch commands or files to your USB Nugget, the following scripts will help you get started.
The following simple Python script can be used to send individual CatScratch commands from your computer while connected to the RubberNugget’s Wi-Fi network.
1 2 3 4 5 6 |
|
If you want to sent entire CatScratch payloads, you can use the following short script to send .TXT files.
1 2 3 4 5 6 7 8 9 |
|