Olen / solar-monitor

GNU General Public License v3.0
54 stars 21 forks source link

Two batteries share BT device #20

Open markjsmith opened 2 years ago

markjsmith commented 2 years ago

Hi I have this working beautifully with a Home Assistant setup in my caravan. Except for one point, my setup has 2 renogy smart batteries linked in series and connected via a single lead to the BT device which shows both batteries on the DC Home app. I can only see battery 1 on here though. Being a complete novice, how would I add battery 2? The sensors appear as per this: sensor.homeassistant_solar_renogy_battery_1_soc I can then add the 2 together to get totals myself Any ideas?

Olen commented 1 year ago

Not sure exactly how your setup is, but if the batteries have different mac addresses (you can find the mac address using a bluetooth-scan), you can just add another battery entry in the .ini-file.

If they use the same BT dongle and mac address, I don't know how the app is separating them, so it would need more investigation by debugging the traffic between the dongle and the app.