21 lines
		
	
	
		
			429 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			429 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
ROOT_DIR=$(dirname $0)
 | 
						|
 | 
						|
# your shelly hostname or IP address
 | 
						|
# SHELLY_HOST="192.168.1.23"
 | 
						|
# SHELLY_HOST="shelly_pool.local"
 | 
						|
SHELLY_HOST="shelly_pool"
 | 
						|
 | 
						|
SHELLY_RPC="http://$SHELLY_HOST/rpc"
 | 
						|
 | 
						|
# script name and id.
 | 
						|
SCRIPT_NAME="pool"
 | 
						|
SCRIPT_FILENAME="pool.js"
 | 
						|
SCRIPT_ID=1
 | 
						|
 | 
						|
# debug log file
 | 
						|
LOGFILE=$ROOT_DIR/$SHELLY_HOST.log
 | 
						|
 | 
						|
# UDP port on which listen for debug messages
 | 
						|
# (to be configured on your shelly device)
 | 
						|
UDP_LOG_PORT=6901
 |