Code: Alles auswählen
#!/bin/bash
OPENWBBASEDIR=$(cd $(dirname "${BASH_SOURCE[0]}")/../.. && pwd)
python3 "$OPENWBBASEDIR/modules/wr2_smamodbus/sma.py" >> "$OPENWBBASEDIR/ramdisk/openWB.log" 2>&1
cat /var/www/html/openWB/ramdisk/pv2watt
Code: Alles auswählen
#!/bin/bash
OPENWBBASEDIR=$(cd $(dirname "${BASH_SOURCE[0]}")/../.. && pwd)
python3 "$OPENWBBASEDIR/modules/wr2_smamodbus/sma.py" >> "$OPENWBBASEDIR/ramdisk/openWB.log" 2>&1
cat /var/www/html/openWB/ramdisk/pv2watt