Hello,
I would like to refresh the spotvalues every X seconds.
Actually, there is a big "time/compute" overhead due to the socket connect/disconnect.
It should be possible to keep a persistent connection to the inverter and so, save this overhead.
It will also say that the process would be "deamonized" ...
Regards,
Laurent.
Comments: dear laurent, in addition to the above comments -a- read one session == connect/logon/. . . . . interactions . . . /logoff/disconnect -b- the data communication towards an inverter (using BT) only supports two parallel sessions, additional sessions will be rejected by the inverter, -c- today - from one computer (RPi or Windows) one can set up ONLY ONE session at a time, this is due to the OperSyst-sockets for BT, -d- if you want to extract form your inverter AND spotvalues AND data for eg PVOutput, then EITHER you can do this on one computer by running all tasks in serie note: the above is the preferred setup OR you must setup two computers - one running a spot values script - the other for PVoutput note: with this second option no other apparatus can interact with the inverter
I would like to refresh the spotvalues every X seconds.
Actually, there is a big "time/compute" overhead due to the socket connect/disconnect.
It should be possible to keep a persistent connection to the inverter and so, save this overhead.
It will also say that the process would be "deamonized" ...
Regards,
Laurent.
Comments: dear laurent, in addition to the above comments -a- read one session == connect/logon/. . . . . interactions . . . /logoff/disconnect -b- the data communication towards an inverter (using BT) only supports two parallel sessions, additional sessions will be rejected by the inverter, -c- today - from one computer (RPi or Windows) one can set up ONLY ONE session at a time, this is due to the OperSyst-sockets for BT, -d- if you want to extract form your inverter AND spotvalues AND data for eg PVOutput, then EITHER you can do this on one computer by running all tasks in serie note: the above is the preferred setup OR you must setup two computers - one running a spot values script - the other for PVoutput note: with this second option no other apparatus can interact with the inverter