SUM DC working

This commit is contained in:
Norbert
2023-08-10 06:59:39 +02:00
parent 0f876eb19f
commit 8d2d50a0ee

View File

@@ -128,7 +128,10 @@ if s.connect():
act_item.state=int(run_mode)
act_item=items.get("Solax_time_count_down")
act_item.state=float(time_count_down)
data += ["Solax_SUM_DC"+" value="+str(total_power)]
act_item=items.get("Solax_DCPower")
act_item.state=float(total_power)
data += ["Solax_DCPower"+" value="+str(total_power)]
# print("Solax_SUM_DC" + str(total_power))
data += ["Solax_eToGridToday"+" value="+str(etoday_togrid)]
data += ["Solax_feed_in_today"+" value="+str(feed_in_today)]
data += ["Solax_runMode"+" value="+str(int(run_mode))]