Files
2025-06-22 17:24:27 +02:00

5 lines
422 B
Bash

#/data/data/com.termux/files/usr/bin/bash
data=`/data/data/com.termux/files/usr/bin/curl -s -X POST -H "Content-Type: application/json;charset=utf-8" -H "Accept: application/json" -H "Authorization: Bearer a3761a4f-3d53-4206-a09a-54e73b157462" https://api.smartthings.com/devices/C097276A-4909-0000-0000-000000000000/commands -d '{"commands":[{"component":"main","capability":"switch","command":"on","arguments":[]}]}'`