summaryrefslogtreecommitdiff
path: root/src/home/inverter
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-10-19 05:17:23 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-10-19 05:17:23 +0300
commit2a3dafb2cb96bd35dcf240a336c5dbe9de963f66 (patch)
tree3e6d0dfccb9515dc344d4628efbb3a3776249692 /src/home/inverter
parent7f9bf586c876a6b384bec979cea56a681bb68e76 (diff)
inverter/monitor: add new fields to dump_status()
Diffstat (limited to 'src/home/inverter')
-rw-r--r--src/home/inverter/monitor.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/home/inverter/monitor.py b/src/home/inverter/monitor.py
index edfd8f7..f00a65f 100644
--- a/src/home/inverter/monitor.py
+++ b/src/home/inverter/monitor.py
@@ -511,5 +511,8 @@ class InverterMonitor(Thread):
'floating_stopwatch_elapsed': self.floating_stopwatch.get_elapsed_time(),
'time_now': time.time(),
'next_current_enter_time': self.next_current_enter_time,
- 'ac_mode': self.ac_mode
+ 'ac_mode': self.ac_mode,
+ 'util_ac_present': self.util_ac_present,
+ 'util_pd': self.util_pd.name,
+ 'util_solar': self.util_solar
}