V1 ‐ Automation Documentation - gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk GitHub Wiki
Documentation To Cover The Automation and Elements Associated
Integrations required :
Signup for onecall, but limit use to free band. The normal free account doesnt upgrade often enough
To check for sunrise time
Use of Timeslots
Slot 3 is set to sunrise time
Slot 2 and Slot 3 percentages are set according to type of weather expected CC = Current FC = Forecast
Slot 2
var tempset = "30"
if ((CF === "rainy") || (CC === "rainy")) { tempset = "50" }
if ((CF === "hail") || (CC === "hail")) { tempset = "50" }
if ((CF === "pouring") || (CC === "pouring")) { tempset = "50" }
if (CF === "cloudy") { tempset = "40" }
if ((CF === "partlycloudy") && (CC === "partlycloudy")) { tempset = "35" }
Slot 3
var tempset = "30"
if ((CF === "rainy") || (CC === "rainy")) { tempset = "50" }
if ((CF === "hail") || (CC === "hail")) { tempset = "50" }
if ((CF === "pouring") || (CC === "pouring")) { tempset = "50" }
if (CF === "cloudy") { tempset = "40" }
if ((CF === "partlycloudy") && (CC === "partlycloudy")) { tempset = "35" }
if ((CF === "sunny") || ( CF === "clear-night")) { tempset = "25" }
Timer Use Feature
Timer Use feature is toggled on and off for forced charging based on loadshedding time and duration
if (lls > 180) { pt = 120; soclow = 80; sochigh = 90 } // Longer than 2 hours load shedding
if (lls > 240) { pt = 180; soclow = 85; sochigh = 95 } // Longer than 4 hours load shedding
if (lls > 300) { pt = 240; soclow = 95; sochigh = 98 } // Longer than 5 hours load shedding