8 lines
		
	
	
		
			159 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			159 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
source $(dirname $0)/shelly.conf
 | 
						|
 | 
						|
curl -s "$SHELLY_RPC/Script.Stop?id=$SCRIPT_ID" | jq .
 | 
						|
curl -s "$SHELLY_RPC/Script.Start?id=$SCRIPT_ID" | jq .
 | 
						|
 |