Hi Folks.
my system consists of a multiplus with a DSE333 generator control panel doing the input transfer switching between grid and generator and a raspberry pi running venus V2.66.
I'm looking to modify the flow overview gui page to show the AC input as "generator" (with generator icon) when genny is running and "Grid" when connected to grid.
I have set up my venus to see the generator running signal from the DES panel on GPIO2, this works and the device page shows generator state= running when I take GPIO2 low. :-)
I have tried Kevin's "GeneratorConnector" script but it's not designed to do what I want to do.
So I have modified /opt/victronenergy/gui/qml/overviewpage.qml to show generator text and icon manually. see below.
So far so good, but can anyone point me to where I can pick up the generator "running" state that shows on the device>generator page?
function getAcSourceIcon(type) { if (type === undefined) return ""; if (type === 240) return "" //if (I need to put something here but not sure what) return "overview-generator-power" // this works but is not controlled by gpio return acSourceIcon[type] } function getAcSourceName(type) { if (type === undefined) return qsTr("AC Input") if (type === 240) return //if (I need to put something here but not sure what) return qsTr("Generator") //this works too. return acSourceName[type] }