Skip to content

Script Logic

rbollar edited this page Aug 10, 2024 · 1 revision

Decision Logic (in progress)

The script logic is run through a series of if statements.

Defaults

Default actions are determined for daytime and nighttime. Daytime is defined as system generating solar power and time is before the defined afternoon peak time (default is 4pm).

Charge for Peak

Buy electricity, if needed, to have the batteries full in time for peak.

Clone this wiki locally