Skip to content

Commit

Permalink
feat: log config information prior to running
Browse files Browse the repository at this point in the history
  • Loading branch information
wingrunr21 committed Nov 6, 2024
1 parent 48fa925 commit e91a02e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ export KEY_PATH=${CERT_DIR}/$(bashio::config 'key_file')
# Use openssl.conf to enable unsafe cert usage
export OPENSSL_CONF=/opt/xcel_itron2mqtt/openssl.conf

# Log information
bashio::log.info "Meter config: ${METER_IP}:${METER_PORT}"
bashio::log.info "MQTT server config: ${MQTT_SERVER}:${MQTT_PORT}"

cd /opt/xcel_itron2mqtt || return
exec python3 -Wignore main.py

0 comments on commit e91a02e

Please sign in to comment.