AMajland / Danfoss-TLX

Communication with Danfoss TLX solar inverter
13 stars 5 forks source link

Multiple invertors on bus #6

Open Mazik12 opened 3 months ago

Mazik12 commented 3 months ago

Hello, can you plese tell if this app is able to read data from more inverters on the bus (2). If not do you think it is possible to add this feature ?

AMajland commented 3 weeks ago

I do not have more than one inverter on the bus. But as RS485 supports addresses it should be possible to use those instead of the broadcast. But it is not implemented.

AMajland commented 3 weeks ago

If you now the address you could just hard coded it in String RS485_DstAddr = "FFFF"; and not call FindInvAddr();

You will also need to dublicate the data

struct TLX_s
{
.... }TLX;

with one for each inverter and of couse also read from both