Skip to content

Commit

Permalink
Remove Curl was only for test purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
xerion3800 committed Oct 29, 2024
1 parent c3ece15 commit 58a2e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ if [ -f "$DIR/$CONFIG" ]; then
# Victron Charging
num_tools_missing=0
SOC_percent=-1 # Set to negative -1 first (maybe no charger is activated).
tools="awk curl cat sed sort head tail"
tools="awk cat sed sort head tail"
if [ "$use_charger" == "1" ]; then
tools="$tools dbus"
charger_command_charge() {
Expand Down Expand Up @@ -1024,7 +1024,7 @@ num_tools_missing=0
SOC_percent=-1 # Set to negative -1 first (maybe no charger is activated).
tools="curl mosquitto_sub "
if [ "$use_charger" == "2" ]; then
tools="$tools curl"
tools="$tools mosquitto_pub"
charger_command_charge() {
mosquitto_pub -h $mqtt_broker_host_publish -p $mqtt_broker_port_publish -t "$mqtt_broker_topic_publish/charger_command" -m true
}
Expand Down

0 comments on commit 58a2e86

Please sign in to comment.