I've got Kaco inverter (apparently this is Siemens) , unfortunately havent seen solution in the web in terms of pulling data to Domoticz :/ which I am trying to do.
I've got an access by chrome typing http://192.168.1.21/20201026.csv - then Kaco is giving me the whole table with values.
Code: Select all
Typ falownika;Numer seryjny;Adres RS485;Adres IP;Zysk[kWh]
blueplanet 5.0 TL3;XXXXXXXXXXXXX;1;192.168.1.21;13.53
Godzina;Udc1[V];Idc1[A];Pdc1[W];Udc2[V];Idc2[A];Pdc2[W];Uac1[V];Iac1[A];Uac2[V];Iac2[A];Uac3[V];Iac3[A];Pdc[W];[b]Pac[W[/b]];Tsys[°C]
07:21:59;0.0;0.00;0;0.0;0.00;0;0.0;0.00;0.0;0.00;0.0;0.00;0;0;0.0
07:22:07;13.8;0.03;0;72.1;0.02;1;231.4;0.00;228.4;0.00;229.8;0.00;2;0;20.7
07:22:25;0.0;0.00;0;0.0;0.00;0;0.0;0.00;0.0;0.00;0.0;0.00;0;0;0.0
07:27:25;85.3;0.00;0;481.2;0.00;0;226.3;0.00;225.2;0.00;226.6;0.00;0;0;21.0
07:32:25;95.3;0.00;0;508.5;0.01;7;230.2;0.01;228.4;0.01;229.0;0.01;9;9;22.2
07:37:25;2.0;0.00;0;455.1;0.11;54;230.4;0.07;229.7;0.07;228.7;0.07;54;53;23.1
07:42:25;2.0;0.00;0;455.1;0.14;66;230.8;0.09;229.4;0.09;228.8;0.09;66;65;24.0
07:47:25;2.0;0.00;0;455.1;0.18;81;230.7;0.11;228.2;0.11;227.9;0.11;82;80;24.6
07:52:25;2.0;0.00;0;455.1;0.22;102;230.8;0.14;227.6;0.14;228.5;0.14;103;102;25.1
...
16:22:44;2.0;0.00;0;482.0;0.25;120;228.6;0.17;221.8;0.18;230.1;0.17;121;120;36.9
16:27:44;2.0;0.00;0;473.5;0.22;105;227.6;0.15;222.3;0.15;229.7;0.15;106;105;36.8
16:32:44;2.0;0.00;0;473.8;0.20;98;227.3;0.14;223.8;0.14;232.2;0.13;99;97;36.7
16:37:44;2.0;0.00;0;464.0;0.18;86;227.6;0.12;225.0;0.12;232.4;0.12;86;85;36.6
16:42:44;2.1;0.00;0;455.1;0.17;79;229.9;0.10;224.6;0.11;231.8;0.10;79;77;36.5
16:47:45;2.1;0.00;0;455.1;0.16;75;230.1;0.10;225.1;0.10;230.7;0.10;75;74;36.4
16:52:45;2.0;0.00;0;455.1;0.13;61;229.8;0.08;225.5;0.08;229.8;0.08;62;61;36.3
16:57:45;2.0;0.00;0;455.1;0.11;54;231.2;0.07;224.6;0.07;228.8;0.07;54;53;36.2
and so on ...
It looks like Kaco sends values every 5 minutes until the value of energy Pac[W] drops to 0 - then it finish to store the data.
I am trying to pull two values:
1st row is a description for profit - Zysk[kWh] which is stored in 2nd row and for now is 13.53
then
3rd row there is a description for currently produced energy Pac[W] which is stored in the next rows...
So I would like to collect data for two dummy devices - Profit(kWh) and Currently produced energy [W] and refreshed every 5 minutes.
Could somebody help me with a working script ? I am unfortunately not a programmer
My problem is "living" csv file - everyday different file name, where "inside" every 5 minutes new value is added, then it ends at different time (now 5pm, summertime of course late c.a. 9pm...)
Help please.
Thank You in advance.