XtheOne / Inverter-Data-Logger

Data logger for Omnik/Hosola and other Solarman Wi-Fi kit powered Solar Inverters
GNU General Public License v3.0
120 stars 29 forks source link

Multiple inverters support in all plugins #1

Closed XtheOne closed 6 years ago

XtheOne commented 7 years ago

Current state is that it is only implemented for domoticz. Other plugins will follow.

XtheOne commented 7 years ago

PVOutput is updated. Now you can define apikey and sysid for every inverter. So multiple accounts or one donation account can be used for multiple inverters. ScanLoggers can be used to detect the Logger(s) and Inverter(s) on your local network.

XtheOne commented 7 years ago

Should work now

kajhoej commented 6 years ago

I have 2 inverters connected and use the mqtt plugin but I cannot separate the 2 inverters in the mqtt output as they have the same subject. Shouldnt the inverters serial number be part of the subject in the mqtt message?

XtheOne commented 6 years ago

Well, the mqqt plugin was written by someone else. I can change the script in several ways.

I can change "power/solar/e_total" to "solar/\<ID>/e_total" so inserting the inverter SN into the message path. Or make separate entries in the config file like it is done for Domoticz and them make the publish path prefix configurable. So what would you prefer?

XtheOne commented 6 years ago

Multiple inverters support added in mqtt