longzheng/homebridge-fronius-inverter-lights

Hide stuffs that is not relevant.

hjuhlin opened this issue · 3 comments

Would it be possible to hide stuff that is not relevant?
If i call the API i get this data.

"Data" : { "Inverters" : { "1" : { "DT" : 232, "E_Day" : 508, "E_Total" : 20628.001953125, "E_Year" : 20628.099609375, "P" : 832 } }, "Site" : { "E_Day" : 508, "E_Total" : 20628.001953125, "E_Year" : 20628.099609375, "Meter_Location" : "unknown", "Mode" : "produce-only", "P_Akku" : null, "P_Grid" : null, "P_Load" : null, "P_PV" : 832, "rel_Autonomy" : null, "rel_SelfConsumption" : null }, "Version" : "12" }

So P_Akku, P_Grid and P_Load is null but still the plugin shows 4 lightbulbs. For me the PV one is the only one that cotains any data. So would it be possible to hide them if they are null or in a setting?

It's not that practical to show/hide accessories dynamically. I put the accessories I don't need in a separate room. Is that practical for you?

If its possible to controll from the settings then its not dynamically.

But as I only need PV option and wanted to add Eve stats to, I made my own plugin that only handles PV with Eve stats. :P

Ah I see.

Your plugin looks good too. Nice job with the Eve stats.