18 lines
376 B
Plaintext
18 lines
376 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
|
|
|
|
# UDP port on which listen for debug messages
|
|
# (to be configured on your shelly device)
|
|
UDP_LOG_PORT=6901
|