enable PV on DC to feed in
This commit is contained in:
parent
2c37150839
commit
b60d279157
|
@ -70,6 +70,10 @@ async def disable_BMS_Controlling_MPPT(remote_host):
|
||||||
command = "dbus -y com.victronenergy.solarcharger /Settings/BmsPresent SetValue %0"
|
command = "dbus -y com.victronenergy.solarcharger /Settings/BmsPresent SetValue %0"
|
||||||
return await run_remote_command(remote_host, command)
|
return await run_remote_command(remote_host, command)
|
||||||
|
|
||||||
|
async def enable_PV_on_DC_feedin(remote_host):
|
||||||
|
command = "dbus -y com.victronenergy.settings /Settings/CGwacs/OvervoltageFeedIn SetValue %1"
|
||||||
|
return await run_remote_command(remote_host, command)
|
||||||
|
|
||||||
async def check_mkVersion(remote_host):
|
async def check_mkVersion(remote_host):
|
||||||
command = "dbus -y com.victronenergy.vebus.ttyS4 /Interfaces/Mk2/Version GetValue"
|
command = "dbus -y com.victronenergy.vebus.ttyS4 /Interfaces/Mk2/Version GetValue"
|
||||||
return await run_remote_command(remote_host, command)
|
return await run_remote_command(remote_host, command)
|
||||||
|
@ -253,6 +257,10 @@ async def main(remote_host):
|
||||||
print("Node Red is set now!")
|
print("Node Red is set now!")
|
||||||
else:
|
else:
|
||||||
sys.exit("Failed to re-enable Node Red!")
|
sys.exit("Failed to re-enable Node Red!")
|
||||||
|
|
||||||
|
#### 13. enable PV on DC feedin #####
|
||||||
|
print("Enable PV on DC feedin!")
|
||||||
|
print(await enable_PV_on_DC_feedin(remote_host))
|
||||||
##################################################### Part 3 ################################################################
|
##################################################### Part 3 ################################################################
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue