2022-04-21 09:32:57 +02:00
|
|
|
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
|
|
|
|
|
2022-09-05 09:06:47 +02:00
|
|
|
# debug log file
|
|
|
|
LOGFILE=$ROOT_DIR/$SHELLY_HOST.log
|
|
|
|
|
2022-04-21 09:32:57 +02:00
|
|
|
# UDP port on which listen for debug messages
|
|
|
|
# (to be configured on your shelly device)
|
|
|
|
UDP_LOG_PORT=6901
|