wechselrichter zum tesent eingebunden
This commit is contained in:
@@ -26,7 +26,7 @@ class HeatPump:
|
||||
|
||||
def get_registers(self):
|
||||
# Excel-Datei mit den Input-Registerinformationen
|
||||
excel_path = "data/heat_pump_registers.xlsx"
|
||||
excel_path = "modbus_registers/heat_pump_registers.xlsx"
|
||||
xls = pd.ExcelFile(excel_path)
|
||||
df_input_registers = xls.parse('04 Input Register')
|
||||
|
||||
@@ -43,7 +43,7 @@ class HeatPump:
|
||||
for _, row in df_clean.iterrows()
|
||||
}
|
||||
|
||||
def get_data(self):
|
||||
def get_state(self):
|
||||
data = {}
|
||||
data['Zeit'] = time.strftime('%Y-%m-%d %H:%M:%S')
|
||||
for address, info in self.registers.items():
|
||||
|
||||
Reference in New Issue
Block a user