the current Kostal integration only supports the Kostal Plenticore inverters.
The API of the PIKO IQ is slightly different and the one of the PIKO is completely something new.
I have a working integratino for the PIKO IQ and working on one for somebody for his PIKO inverter.
Now I asked myself if it wouldn’t be worth sharing my work and make it available for everybody. It has no translations and currently the code is still under development. So things may not be that clean
At the moment I have made 2 seperate integrations for each type. But I am not sure if I shall extent the Plenticore extension and the user can choose a device type during setup and and the hood we switch the sensor logic or if it shall be 2 additional integrations. Also I am a little bit worried that this might get a little bit messy.
Does anybody know how this is done for other inverters with different APIs?
If you need help integrating one of my repos into your HA instance read on. There are some tips & tricks how to get the energy board working and stuff like that. Also if you need a bug fix or something simply text me.
The PIKO has also an API that can be queried using REST. I have found this one on the web for the mapping of the dsxIds (that is how Kostal called the entries): PRTG Kostal 15 (website is in German). At least that is why my buddy confirmed so that I can make the integration for him.
If your webinterface looks like the one shown on the website I have posted you should also be able to use REST to query the values.
You can also simply check by pressing F12 in your browers (Edge, Firefox or Chrome) and open the Network tab and see what is going on.
Can you please check if you PIKO provides an API using the URL http://—>IP<----/api/dxs.json?dxsEntries=251658753 (this will access the total energy production of you inverter).
You can also check this when opening the webinterface of your inverter and open the development tools (should be CTRL + Shift + i) and select the Network tab.