Home assistant custom integration for local network monitoring of Tigo's Cloud Connect Advanced gateway and connected PV panel modules/optimizers like Tigo TS4-A-O.
Out of the factory, the Tigo CCA does not allow local network access and any data have to be accessed via their cloud portal.
This limitation can be worked around by "rooting" the CCA device, exposing internal management web.
Beware ! Perform it at your own risk, hacking the device may void the waranty and improper use of the management web may damage/brick your devices.
Step by step instructions how to enable local network access to the CCA can be found here Getting Data DIRECTLY from a Tigo TAP - is it possible ? or here Details, Protokolle, Zugang auf Tigo CCA.
In short:
Open web page http://[cca ip address]/cgi-bin/shell
(Tigo/$olar), then login into it via ssh (root/gW$70#c). When in, remount the filesystem to be writable mount -o remount,rw /
and expose the web console to local network by adding SNAT to its internal net via echo "/usr/sbin/iptables -t nat -D INPUT -p tcp --dport 80 -j SNAT --to 10.11.1.1" >> /etc/rc.httpd
.
After reboot, the web console at http://[cca ip address]/cgi-bin/mmdstatus
(Tigo/$olar or user/tigo1) should be permanently accessible.
Just a remark, the procedure above exposes not only the administration console, but also a nice, user oriented web app at http://[cca ip address]/summary/
Install this component using HACS by adding custom repository https://github.com/mletenay/home-assistant-tigo and searching for Tigo in the Integrations.
The component requires the hostname/IP (plus username/passwd when required) of the Tigo CCA web server.