How to import real time solar battery data without API

If anyone is following, I have made some more progress using ChatGPT to help. I can now get the data into Home Assistant using a shell command. Still having trouble getting that data into sensors though.

If anyone can help with that part, I would greatly appreciate it. Meanwhile I’ll keep bumbling along with ChatGPT.