-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.tom
24 lines (19 loc) · 897 Bytes
/
Readme.tom
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Aktuelle Fronius Leistung:
wget -O - "http://169.254.0.180/solar_api/v1/GetInverterRealtimeData.cgi?Scope=System"|grep -A 4 PAC
dbus -y com.victronenergy.system /Ac/PvOnGrid/L1/Power GetValue
# Batterie SOC
dbus -y com.victronenergy.battery.ttyO2 /Soc GetValue
# Multiplus ausschalten:
dbus -y com.victronenergy.vebus.ttyO5 /Mode SetValue 4
# und einschalten:
dbus -y com.victronenergy.vebus.ttyO5 /Mode SetValue 3
# crontab: 2h eher im Sommer
# reboot 3 minutes after starting Multiplus
3 6 * * * /sbin/reboot
15 6 * * * /usr/bin/dbus -y com.victronenergy.vebus.ttyO5 /Mode SetValue 3 >/dev/null
30 17 * * * /usr/bin/dbus -y com.victronenergy.vebus.ttyO5 /Mode SetValue 4 >/dev/null
# go-e Charger Ip
grep go-e /var/log/mess* --> 172.24.24.18
from goecharger import (GoeCharger)
status = GoeCharger('172.24.24.18').requestStatus()
status = GoeCharger('172.24.24.18').setMaxCurrent(11)