From 58a2e864d1155eb68d40408453d0644abece827a Mon Sep 17 00:00:00 2001 From: Frank Ortmann Date: Tue, 29 Oct 2024 11:52:57 +0100 Subject: [PATCH] Remove Curl was only for test purpose --- scripts/controller.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/controller.sh b/scripts/controller.sh index 6d04227..e47b41d 100644 --- a/scripts/controller.sh +++ b/scripts/controller.sh @@ -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() { @@ -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 }