From 23150e1e3ec5b4a91c989035447f36a9a026087b Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 2 Jun 2022 17:38:48 +0200 Subject: [PATCH] use of TARIFF_CURRENT_FULL --- news_to_ismas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/news_to_ismas b/news_to_ismas index 77da69e..8e6dba9 100755 --- a/news_to_ismas +++ b/news_to_ismas @@ -61,16 +61,16 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once echo $((echo "$data"; sleep 1) | nc localhost $APISM_DB_PORT) } + # + # send current psa setting to ismas at end of update procedure + # current_settings_to_ismas () { local func="${FUNCNAME[0]}" local p=("$@") local data="#M=APISM#C=CMD_SENDVERSION#J= { \"TARIFF\": { - \"VERSION\" : \"\", - \"PROJECT\" : \"\", - \"ZONE\" : 0, - \"INFO\" : \"\" + $(<$TARIFF_CURRENT_FULL) }, \"HARDWARE\" : { \"DEVICES\" : [