GivTCP Solar Forecast Automation

5 comments started 2023-06-11 last 2023-06-12
Cloud PortalHome AutomationHome Assistant
T
#1 thewhalw21

Hey HA Guys 😃

I've finally decided to take the plunge into HA and after loosing serveral days of my life, i've finally got all my smart devices imported. I've been playing around with GivTCP and its forecast function but have noticed that the webportal doesnt get updated with the new SOC value. i assume this is because it is set by mqtt and the portal doesnt know to read it. Anyways, is there a way to force the portal to read that value automatically/ does the portal have a sync period where it will connect back to the device and check? I know its only a visual thing, but would like the app and inverter to be in sync.

#2 hoggy

thewhalw21 afraid not no.
I’d asked for an API call that could be polled to do this but alas nothing….
You can manually go in to the portal and force a read all registers which will do it.
Not sure if a sending a reboot from GivTCP does this but it’s a bit of a hamfisted approach if it does as it takes a while for everything to get going again.

T
#3 thewhalw21

hoggy Awh šŸ™, thanks Hoggy. I suppose its meant to be set and forget so not really a big deal. Just wanted to make sure it was working the first few times without having to go to the web page.

S
#4 stevelewis

thewhalw21 I presume it's the SoC target that you want to see on the web portal, not the latest Solcast prediction? If so, the palm-soc.py code behind the Smart Forecast function in HA can write the target SoC to the GE webportal (the original version does everything this way, rather than using GivTCP). The code is still there (in the "set_mode" procedure), but has been commented out.

T
#5 thewhalw21

stevelewis Oh awesome, thank you!