Closed fatzo closed 1 year ago
Hey, du hast eine Raute vor AHOY_IP gesetzt (wird zwar nicht benötigt aber trotzdem eingelesen) und
# factor to multiply before set Limit. Some Inverters have some offsets, with that factor you can compensate it. Default = 1
HOY_COMPENSATE_WATT_FACTOR = 1
muss bei inverter 2 rein.
also hier nochmal komplett:
# HoymilesZeroExport - https://github.com/reserve85/HoymilesZeroExport
# Copyright (C) 2023, Tobias Kraft
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
[VERSION]
VERSION = 1.31
[SELECT_DTU]
# --- define your DTU (only one) ---
USE_AHOY = false
USE_OPENDTU = true
[SELECT_POWERMETER]
# --- define your Powermeter (only one) ---
USE_TASMOTA = true
USE_SHELLY_3EM = false
USE_SHELLY_3EM_PRO = false
USE_SHRDZM = false
USE_EMLOG = false
USE_IOBROKER = false
USE_HOMEASSISTANT = false
[AHOY_DTU]
# --- defines for AHOY-DTU ---
# in settings/inverter set interval to 6 seconds!
AHOY_IP = 192.168.10.57
[OPEN_DTU]
# --- defines for OPEN-DTU ---
OPENDTU_IP = 192.168.178.xx
OPENDTU_USER = admin
OPENDTU_PASS = xxxxxxxx
[TASMOTA]
# --- defines for Tasmota Smartmeter Modul---
TASMOTA_IP = 192.168.178.73
# the following three constants describes how to navigate through the Tasmota-JSON.
# if you do not know the format of your Tasmota reader, open a browser and put in the following string replacing xxx with the IP address of your Tasmota device: http://xxx.xxx.xxx.xxx/cm?cmnd=status%2010
# e.g. JSON_Result = {"StatusSNS":{"Time":"2023-02-28T12:49:49","SML":{"total_kwh":15011.575,"curr_w":-71}}}
TASMOTA_JSON_STATUS = StatusSNS
# Prefix for Web UI and MQTT JSON payload
TASMOTA_JSON_PAYLOAD_MQTT_PREFIX = SML
# Power-MQTT label (the current power in Watt, positive (import more energy than export) or negative (export more energy than import)).
TASMOTA_JSON_POWER_MQTT_LABEL = curr_w
# if your powermeter does NOT output the current power: you need to calculate it -> Power(W) = OBIS(1.7.0) - OBIS(2.7.0)
TASMOTA_JSON_POWER_CALCULATE = FALSE
# Power-MQTT Input label (positive active instantaneous power, e.g. OBIS Code 1.7.0)
TASMOTA_JSON_POWER_INPUT_MQTT_LABEL =
# Power-MQTT output label (negative active instantaneous power, e.g. OBIS Code 2.7.0)
TASMOTA_JSON_POWER_OUTPUT_MQTT_LABEL =
[SHELLY_3EM]
# --- defines for Shelly ---
SHELLY_IP = xxx.xxx.xxx.xxx
[SHRDZM]
# --- defines for SHRDZM Smartmeter Modul ---
SHRDZM_IP = xxx.xxx.xxx.xxx
SHRDZM_USER =
SHRDZM_PASS =
[EMLOG]
# --- defines for EMLOG (electronic meter log) System ---
EMLOG_IP = xxx.xxx.xxx.xxx
EMLOG_METERINDEX =
[IOBROKER]
# --- defines for IOBROKER (needs installed https://github.com/ioBroker/ioBroker.simple-api) ---
IOBROKER_IP = xxx.xxx.xxx.xxx
IOBROKER_PORT = 8087
IOBROKER_CURRENT_POWER_ALIAS = alias.0.Zaehler.Zaehler_CurrentWatt
# if your powermeter does NOT output the current power: you need to calculate it -> Power(W) = OBIS(1.7.0) - OBIS(2.7.0)
IOBROKER_POWER_CALCULATE = FALSE
# Power-MQTT Input label (positive active instantaneous power, e.g. OBIS Code 1.7.0)
IOBROKER_POWER_INPUT_ALIAS = alias.0.Zaehler.Zaehler_CurrentInputWatt
# Power-MQTT output label (negative active instantaneous power, e.g. OBIS Code 2.7.0)
IOBROKER_POWER_OUTPUT_ALIAS = alias.0.Zaehler.Zaehler_CurrentOutputWatt
[HOMEASSISTANT]
# --- defines for HOME ASSISTANT (you need to create a Long-Lived Access Token in your profile) ---
HA_IP = 192.168.178.84
HA_PORT = 8123
HA_ACCESSTOKEN = xxx
HA_CURRENT_POWER_ENTITY = sensor.dtz541_sml_curr_w
# if your powermeter does NOT output the current power: you need to calculate it -> Power(W) = OBIS(1.7.0) - OBIS(2.7.0)
HA_POWER_CALCULATE = FALSE
# Power-MQTT Input label (positive active instantaneous power, e.g. OBIS Code 1.7.0)
HA_POWER_INPUT_ALIAS = sensor.dtz541_sml_170
# Power-MQTT output label (negative active instantaneous power, e.g. OBIS Code 2.7.0)
HA_POWER_OUTPUT_ALIAS = sensor.dtz541_sml_270
[SELECT_INTERMEDIATE_METER]
# if you have an intermediate meter to measure the outputpower of your inverter you can set it here. It is faster than the DTU current_power value
# --- define your intermediate meter - if you don´t have one set the following defines to false to use the value from your DTU---
USE_TASMOTA_INTERMEDIATE = true
USE_SHELLY_3EM_INTERMEDIATE = false
USE_SHELLY_3EM_PRO_INTERMEDIATE = false
USE_SHELLY_1PM_INTERMEDIATE = false
USE_SHELLY_PLUS_1PM_INTERMEDIATE = false
USE_SHRDZM_INTERMEDIATE = false
USE_EMLOG_INTERMEDIATE = false
USE_IOBROKER_INTERMEDIATE = false
USE_HOMEASSISTANT_INTERMEDIATE = false
[INTERMEDIATE_TASMOTA]
# --- defines for Tasmota Smartmeter Modul---
TASMOTA_IP_INTERMEDIATE = 192.68.178.73
# the following three constants describes how to navigate through the Tasmota-JSON
# e.g. JSON_Result = {"StatusSNS":{"Time":"2023-02-28T12:49:49","SML":{"curr_w":500}}}
TASMOTA_JSON_STATUS_INTERMEDIATE = StatusSNS
# Prefix for Web UI and MQTT JSON payload
TASMOTA_JSON_PAYLOAD_MQTT_PREFIX_INTERMEDIATE = SML
# Power-MQTT label (the current solar-power in Watt).
TASMOTA_JSON_POWER_MQTT_LABEL_INTERMEDIATE = curr_w
[INTERMEDIATE_SHELLY]
# --- defines for Shelly ---
SHELLY_IP_INTERMEDIATE = xxx.xxx.xxx.xxx
[INTERMEDIATE_SHRDZM]
# --- defines for SHRDZM Smartmeter Modul ---
SHRDZM_IP_INTERMEDIATE = xxx.xxx.xxx.xxx
SHRDZM_USER_INTERMEDIATE =
SHRDZM_PASS_INTERMEDIATE =
[INTERMEDIATE_EMLOG]
# --- defines for EMLOG (electronic meter log) System ---
EMLOG_IP_INTERMEDIATE = xxx.xxx.xxx.xxx
EMLOG_METERINDEX_INTERMEDIATE =
[INTERMEDIATE_IOBROKER]
# --- defines for IOBROKER (needs installed https://github.com/ioBroker/ioBroker.simple-api) ---
IOBROKER_IP_INTERMEDIATE = xxx.xxx.xxx.xxx
IOBROKER_PORT_INTERMEDIATE = 8087
IOBROKER_CURRENT_POWER_ALIAS_INTERMEDIATE = alias.0.Zaehler.Zaehler_SolarCurrentWatt
[INTERMEDIATE_HOMEASSISTANT]
# --- defines for HOME ASSISTANT (you need to create a Long-Lived Access Token in your profile) ---
HA_IP_INTERMEDIATE = xxx.xxx.xxx.xxx
HA_PORT_INTERMEDIATE = 8123
HA_ACCESSTOKEN_INTERMEDIATE = xxx
HA_CURRENT_POWER_ENTITY_INTERMEDIATE = sensor.dtz541_sml_curr_w
[COMMON]
# Number of Inverters
INVERTER_COUNT = 2
# max difference in percent between SetpointLimit change to approximate the power to new setpoint
SLOW_APPROX_LIMIT_IN_PERCENT = 20
# if slow approximation: additional limit based on the limit-difference to "smoot the curve": newLimitSetpoint = newLimitSetpoint + (LimitDifference * SLOW_APPROX_FACTOR_IN_PERCENT / 100)
SLOW_APPROX_FACTOR_IN_PERCENT = 20
# interval time for setting limit to Hoymiles
LOOP_INTERVAL_IN_SECONDS = 20
# delay time after sending limit to Hoymiles Inverter
SET_LIMIT_DELAY_IN_SECONDS = 5
# delay time after sending limit to Hoymiles Inverter when using more than one Inverter
SET_LIMIT_DELAY_IN_SECONDS_MULTIPLE_INVERTER = 2
# polling interval for powermeter (must be < LOOP_INTERVAL_IN_SECONDS)
POLL_INTERVAL_IN_SECONDS = 1
# when powermeter > 0: (True): always jump to maxLimit of inverter; (False): increase limit based on previous limit
JUMP_TO_MAX_LIMIT_ON_GRID_USAGE = true
# max difference between Limit and real output power in % of HOY_MAX_WATT (100 = disabled)
MAX_DIFFERENCE_BETWEEN_LIMIT_AND_OUTPUTPOWER = 100
# enable logging to file
ENABLE_LOG_TO_FILE = false
# how many logfiles you wish to keep
LOG_BACKUP_COUNT = 30
# defines how often a identical limit will be set, set it to "-1" for disabled (infinite repeat)
SET_LIMIT_RETRY = 10
# log the inverter temperature
LOG_TEMPERATURE = false
# delay time after turning the inverter off or on
SET_POWER_STATUS_DELAY_IN_SECONDS = 10
[CONTROL]
# --- global defines for control behaviour ---
# this is the target power for powermeter in watts
POWERMETER_TARGET_POINT = -75
# this is the tolerance (pos and neg) around the target point. in this range no adjustment will be set
POWERMETER_TOLERANCE = 25
# this is the max power to regulate the limit. if your powermeter is above this point, the limit jumps to 100% (when JUMP_TO_MAX_LIMIT_ON_GRID_USAGE is set to TRUE). Must be higher than POWERMETER_TARGET_POINT + POWERMETER_TOLERANCE
POWERMETER_MAX_POINT = 0
# List of INVERTERS, based on COMMON/COUNT
[INVERTER_1]
# maximum limit in watts (100%)
HOY_MAX_WATT = 1500
# minimum limit in percent, e.g. 5%
HOY_MIN_WATT_IN_PERCENT = 5
# factor to multiply before set Limit. Some Inverters have some offsets, with that factor you can compensate it. Default = 1
HOY_COMPENSATE_WATT_FACTOR = 1
# battery powered?
HOY_BATTERY_MODE = false
# voltage to turn off the inverter
HOY_BATTERY_THRESHOLD_OFF_LIMIT_IN_V = 47
# voltage to limit the inverter to a maximum of HOY_BATTERY_REDUCE_WATT
HOY_BATTERY_THRESHOLD_REDUCE_LIMIT_IN_V = 48
# voltage to limit the inverter to a maximum of HOY_BATTERY_NORMAL_WATT
HOY_BATTERY_THRESHOLD_NORMAL_LIMIT_IN_V = 48.5
# maximum limit in watts when battery is high (above HOY_BATTERY_THRESHOLD_NORMAL_LIMIT_IN_V) --- MAXIMUM is the same value as HOY_MAX_WATT
HOY_BATTERY_NORMAL_WATT = 1500
# maximum limit in watts when battery is low (below HOY_BATTERY_THRESHOLD_REDUCE_LIMIT_IN_V)
HOY_BATTERY_REDUCE_WATT = 300
# reenable inverter at this voltage
HOY_BATTERY_THRESHOLD_ON_LIMIT_IN_V = 51
[INVERTER_2]
# maximum limit in watts (100%)
HOY_MAX_WATT = 1500
# minimum limit in percent, e.g. 5%
HOY_MIN_WATT_IN_PERCENT = 5
# factor to multiply before set Limit. Some Inverters have some offsets, with that factor you can compensate it. Default = 1
HOY_COMPENSATE_WATT_FACTOR = 1
# battery powered?
HOY_BATTERY_MODE = false
# voltage to turn off the inverter
HOY_BATTERY_THRESHOLD_OFF_LIMIT_IN_V = 47
# voltage to limit the inverter to a maximum of HOY_BATTERY_REDUCE_WATT
HOY_BATTERY_THRESHOLD_REDUCE_LIMIT_IN_V = 48
# voltage to limit the inverter to a maximum of HOY_BATTERY_NORMAL_WATT
HOY_BATTERY_THRESHOLD_NORMAL_LIMIT_IN_V = 48.5
# maximum limit in watts when battery is high (above HOY_BATTERY_THRESHOLD_NORMAL_LIMIT_IN_V) --- MAXIMUM is the same value as HOY_MAX_WATT
HOY_BATTERY_NORMAL_WATT = 1500
# maximum limit in watts when battery is low (below HOY_BATTERY_THRESHOLD_REDUCE_LIMIT_IN_V)
HOY_BATTERY_REDUCE_WATT = 300
# reenable inverter at this voltage
HOY_BATTERY_THRESHOLD_ON_LIMIT_IN_V = 51
# grid power
# ...
# |
# | -------> jump limit to HOY_MAX_WATT if (JUMP_TO_MAX_LIMIT_ON_GRID_USAGE = TRUE), else: increasing limit <-------
# |
# [0W] [POWERMETER_MAX_POINT]
# |
# | -------> increasing limit <-------
# |
# [-50W] [POWERMETER_TARGET_POINT + POWERMETER_TOLERANCE]
# |
# | -------> no limit change between -100W ... -50W <-------
# |
# [-75W] [POWERMETER_TARGET_POINT]
# |
# | -------> no limit change between -100W ... -50W <-------
# |
# [-100W] [POWERMETER_TARGET_POINT - POWERMETER_TOLERANCE]
# |
# | -------> decreasing limit <-------
# |
# ...
desweiteren musst du ggf. noch TASMOTA einstellen und die Parameter für OPEN_DTU
Folgendes ist mir aufgefallen:
Du hast die Open DTU nicht richtig eingetragen: OPENDTU_IP = 192.168.178.xx, und kein Benutzer/Passwort.
bei TASMOTA_IP_INTERMEDIATE = 192.68.178.73, da fehlt eine 1. Die Intermediate IP ist aber nicht die gleiche wie die Smartmeter IP.
Unter Homeassistent stehen auch allerlei Sachen eingetragen, aber USE_HOMEASSISTANT = false. Womit möchtest du denn den Zähler auslesen?
Folgendes ist mir aufgefallen:
Du hast die Open DTU nicht richtig eingetragen: OPENDTU_IP = 192.168.178.xx, und kein Benutzer/Passwort.
bei TASMOTA_IP_INTERMEDIATE = 192.68.178.73, da fehlt eine 1. Die Intermediate IP ist aber nicht die gleiche wie die Smartmeter IP.
wo finde ich den die intermediate IP vom Tasmota? bei der open dtu hatte ich die daten rausgenommen
Unter Homeassistent stehen auch allerlei Sachen eingetragen, aber USE_HOMEASSISTANT = false. Womit möchtest du denn den Zähler auslesen?
mit dem tasmota, da kommt die genauesten daten an
homeassistent wäre nur zweitrangig, deswegen schon mal daten die ich auf die schnelle wusste
wo finde ich den die intermediate IP vom Tasmota?
Intermediate ist ein Zwischenzähler für die Einspeiseleistung. Das machst du aber doch über den Shelly oder?
Mal eins nach dem anderen:
stelle erstmal OpenDTU richtig ein:
[OPEN_DTU]
# --- defines for OPEN-DTU ---
OPENDTU_IP = 192.168.178.xx
OPENDTU_USER = admin
OPENDTU_PASS = xxxxxxxx
dann dein Tasmota.
[TASMOTA]
# --- defines for Tasmota Smartmeter Modul---
TASMOTA_IP = 192.168.178.73
# the following three constants describes how to navigate through the Tasmota-JSON.
# if you do not know the format of your Tasmota reader, open a browser and put in the following string replacing xxx with the IP address of your Tasmota device: http://xxx.xxx.xxx.xxx/cm?cmnd=status%2010
# e.g. JSON_Result = {"StatusSNS":{"Time":"2023-02-28T12:49:49","SML":{"total_kwh":15011.575,"curr_w":-71}}}
TASMOTA_JSON_STATUS = StatusSNS
# Prefix for Web UI and MQTT JSON payload
TASMOTA_JSON_PAYLOAD_MQTT_PREFIX = SML
# Power-MQTT label (the current power in Watt, positive (import more energy than export) or negative (export more energy than import)).
TASMOTA_JSON_POWER_MQTT_LABEL = curr_w
# if your powermeter does NOT output the current power: you need to calculate it -> Power(W) = OBIS(1.7.0) - OBIS(2.7.0)
TASMOTA_JSON_POWER_CALCULATE = FALSE
# Power-MQTT Input label (positive active instantaneous power, e.g. OBIS Code 1.7.0)
TASMOTA_JSON_POWER_INPUT_MQTT_LABEL =
# Power-MQTT output label (negative active instantaneous power, e.g. OBIS Code 2.7.0)
TASMOTA_JSON_POWER_OUTPUT_MQTT_LABEL =
Wichtig hier: gib http://192.168.178.73/cm?cmnd=status%2010 in deinen Browser ein (mit der richtigen IP) und passe dann die drei Felder auf die Rückgabe an: TASMOTA_JSON_STATUS , TASMOTA_JSON_PAYLOAD_MQTT_PREFIX , TASMOTA_JSON_POWER_MQTT_LABEL
Du kannst auch gerne die Rückgabe hier posten, dann kann ich dir besser helfen.
Dann deaktiviere vorerst den Intermediate Zähler, den kannst du im Nachgang auch noch einrichten.
also USE_TASMOTA_INTERMEDIATE = false
.
Zu guter letzt musst du noch die Inverter-Watts (in Sektion [INVERTER_1]
und [INVERTER_2]
) anpassen: HOY_MAX_WATT
- wenn du zwei Inverter mit 1500W hast, dann passt das schon.
Mal eins nach dem anderen:
stelle erstmal OpenDTU richtig ein:
[OPEN_DTU] # --- defines for OPEN-DTU --- OPENDTU_IP = 192.168.178.xx OPENDTU_USER = admin OPENDTU_PASS = xxxxxxxx
erledigt
dann dein Tasmota.
[TASMOTA] # --- defines for Tasmota Smartmeter Modul--- TASMOTA_IP = 192.168.178.73 # the following three constants describes how to navigate through the Tasmota-JSON. # if you do not know the format of your Tasmota reader, open a browser and put in the following string replacing xxx with the IP address of your Tasmota device: http://xxx.xxx.xxx.xxx/cm?cmnd=status%2010 # e.g. JSON_Result = {"StatusSNS":{"Time":"2023-02-28T12:49:49","SML":{"total_kwh":15011.575,"curr_w":-71}}} TASMOTA_JSON_STATUS = StatusSNS # Prefix for Web UI and MQTT JSON payload TASMOTA_JSON_PAYLOAD_MQTT_PREFIX = SML # Power-MQTT label (the current power in Watt, positive (import more energy than export) or negative (export more energy than import)). TASMOTA_JSON_POWER_MQTT_LABEL = curr_w # if your powermeter does NOT output the current power: you need to calculate it -> Power(W) = OBIS(1.7.0) - OBIS(2.7.0) TASMOTA_JSON_POWER_CALCULATE = FALSE # Power-MQTT Input label (positive active instantaneous power, e.g. OBIS Code 1.7.0) TASMOTA_JSON_POWER_INPUT_MQTT_LABEL = # Power-MQTT output label (negative active instantaneous power, e.g. OBIS Code 2.7.0) TASMOTA_JSON_POWER_OUTPUT_MQTT_LABEL =
Wichtig hier: gib http://192.168.178.73/cm?cmnd=status%2010 in deinen Browser ein (mit der richtigen IP) und passe dann die drei Felder auf die Rückgabe an:
TASMOTA_JSON_STATUS , TASMOTA_JSON_PAYLOAD_MQTT_PREFIX , TASMOTA_JSON_POWER_MQTT_LABEL
Du kannst auch gerne die Rückgabe hier posten, dann kann ich dir besser helfen.
mein Status {"StatusSNS":{"Time":"2023-05-12T21:47:59","M":{"counter_pos":4755.958,"power":493,"tariflos":176.72}}}
Dann deaktiviere vorerst den Intermediate Zähler, den kannst du im Nachgang auch noch einrichten. also
USE_TASMOTA_INTERMEDIATE = false
.gemacht
Zu guter letzt musst du noch die Inverter-Watts (in Sektion
[INVERTER_1]
und[INVERTER_2]
) anpassen:HOY_MAX_WATT
- wenn du zwei Inverter mit 1500W hast, dann passt das schon.
habe ich
danke schon mal für die hilfe ist für mich sehr verwirrend fatzo
Ok, dann musst du dein Tasmota so einstellen:
TASMOTA_JSON_STATUS = StatusSNS
# Prefix for Web UI and MQTT JSON payload
TASMOTA_JSON_PAYLOAD_MQTT_PREFIX = M
# Power-MQTT label (the current power in Watt, positive (import more energy than export) or negative (export more energy than import)).
TASMOTA_JSON_POWER_MQTT_LABEL = power
# if your powermeter does NOT output the current power: you need to calculate it -> Power(W) = OBIS(1.7.0) - OBIS(2.7.0)
TASMOTA_JSON_POWER_CALCULATE = FALSE
dann sollte es ohne Fehler laufen.
Ok, dann musst du dein Tasmota so einstellen:
TASMOTA_JSON_STATUS = StatusSNS # Prefix for Web UI and MQTT JSON payload TASMOTA_JSON_PAYLOAD_MQTT_PREFIX = M # Power-MQTT label (the current power in Watt, positive (import more energy than export) or negative (export more energy than import)). TASMOTA_JSON_POWER_MQTT_LABEL = power # if your powermeter does NOT output the current power: you need to calculate it -> Power(W) = OBIS(1.7.0) - OBIS(2.7.0) TASMOTA_JSON_POWER_CALCULATE = FALSE
dann sollte es ohne Fehler laufen.
ort/HoymilesZeroExport_Config.ini
Mai 13 09:10:06 raspberrypizero python3[31194]: 2023-05-13 09:10:06 INFO Config file V 1.31
Mai 13 09:10:06 raspberrypizero python3[31194]: Traceback (most recent call last):
Mai 13 09:10:06 raspberrypizero python3[31194]: File "/usr/lib/python3.9/configparser.py", line 789, in get
Mai 13 09:10:06 raspberrypizero python3[31194]: value = d[option]
Mai 13 09:10:06 raspberrypizero python3[31194]: File "/usr/lib/python3.9/collections/init.py", line 941, in getitem
Mai 13 09:10:06 raspberrypizero python3[31194]: return self.missing(key) # support subclasses that define missing
Mai 13 09:10:06 raspberrypizero python3[31194]: File "/usr/lib/python3.9/collections/init.py", line 933, in missing
Mai 13 09:10:06 raspberrypizero python3[31194]: raise KeyError(key)
Mai 13 09:10:06 raspberrypizero python3[31194]: KeyError: 'hoy_compensate_watt_factor'
Mai 13 09:10:06 raspberrypizero python3[31194]: During handling of the above exception, another exception occurred:
Mai 13 09:10:06 raspberrypizero python3[31194]: Traceback (most recent call last):
Mai 13 09:10:06 raspberrypizero python3[31194]: File "/home/pi/HoymilesZeroExport/HoymilesZeroExport.py", line 781, in
habe ich gemacht, leider immer noch ein error
kann ich dir die ini per mail oder facebook schicken?
fatzo
Ich mache sie dir dann fertig wenn ich zu Hause bin
Ich mache sie dir dann fertig wenn ich zu Hause bin
super ich bräuchte noch deinen namen auf facebook oder geht das auch über github
Ich habe kein Facebook, geht auch hier.
Damit sollte es laufen. Kannst ja nochmal drüberschauen ob die Inverter-Werte passen (2 x 1500 Watt?).
Allerdings fehlten mir die Werte für die Sektion [OPEN_DTU]
Die musst du noch anpassen. Also:
[OPEN_DTU]
# --- defines for OPEN-DTU ---
OPENDTU_IP = xxx.xxx.xxx.xxx
OPENDTU_USER =
OPENDTU_PASS =
musst du noch ergänzen.
Guten morgen
Der script scheint zu laufen ( wechselrichter passen sich an) Aber immer noch eine fehlermeldung am anfang, später nicht mehr, kann man rausbekommen, woran es genau liegt? In einem log oder so
Aktueller log
Mai 14 08:58:01 raspberrypizero python3[428]: 2023-05-14 08:58:01 INFO powermeter Tasmota: -233 Watt Mai 14 08:58:02 raspberrypizero python3[428]: 2023-05-14 08:58:02 INFO powermeter Tasmota: -245 Watt Mai 14 08:58:03 raspberrypizero python3[428]: 2023-05-14 08:58:03 INFO powermeter Tasmota: -245 Watt Mai 14 08:58:05 raspberrypizero python3[428]: 2023-05-14 08:58:05 INFO powermeter Tasmota: -243 Watt Mai 14 08:58:06 raspberrypizero python3[428]: 2023-05-14 08:58:06 INFO powermeter Tasmota: -245 Watt Mai 14 08:58:07 raspberrypizero python3[428]: 2023-05-14 08:58:07 INFO powermeter Tasmota: -246 Watt Mai 14 08:58:08 raspberrypizero python3[428]: 2023-05-14 08:58:08 INFO powermeter Tasmota: -246 Watt Mai 14 08:58:09 raspberrypizero python3[428]: 2023-05-14 08:58:09 INFO powermeter Tasmota: -246 Watt Mai 14 08:58:10 raspberrypizero python3[428]: 2023-05-14 08:58:10 INFO powermeter Tasmota: 195 Watt Mai 14 08:58:10 raspberrypizero python3[428]: 2023-05-14 08:58:10 INFO setting new limit to 3000 Watt Mai 14 08:58:10 raspberrypizero python3[428]: 2023-05-14 08:58:10 INFO OpenDTU: Inverter "Hoymiles-HM1500": setting new limit from 75 Watt to 1500 Watt Mai 14 08:58:13 raspberrypizero python3[428]: 2023-05-14 08:58:13 INFO OpenDTU: Inverter "Hoymiles HM-1500G": setting new limit from 75 Watt to 1500 Watt Mai 14 08:59:25 raspberrypizero python3[428]: 2023-05-14 08:59:25 INFO OpenDTU: Inverter "Hoymiles-HM1500" reachable: True Mai 14 08:59:25 raspberrypizero python3[428]: 2023-05-14 08:59:25 INFO OpenDTU: Inverter "Hoymiles HM-1500G" reachable: False Mai 14 08:59:25 raspberrypizero python3[428]: 2023-05-14 08:59:25 INFO powermeter Tasmota: -413 Watt Mai 14 08:59:26 raspberrypizero python3[428]: 2023-05-14 08:59:26 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:28 raspberrypizero python3[428]: 2023-05-14 08:59:28 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:29 raspberrypizero python3[428]: 2023-05-14 08:59:29 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:30 raspberrypizero python3[428]: 2023-05-14 08:59:30 INFO powermeter Tasmota: -414 Watt Mai 14 08:59:31 raspberrypizero python3[428]: 2023-05-14 08:59:31 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:32 raspberrypizero python3[428]: 2023-05-14 08:59:32 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:33 raspberrypizero python3[428]: 2023-05-14 08:59:33 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:34 raspberrypizero python3[428]: 2023-05-14 08:59:34 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:36 raspberrypizero python3[428]: 2023-05-14 08:59:36 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:37 raspberrypizero python3[428]: 2023-05-14 08:59:37 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:38 raspberrypizero python3[428]: 2023-05-14 08:59:38 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:39 raspberrypizero python3[428]: 2023-05-14 08:59:39 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:40 raspberrypizero python3[428]: 2023-05-14 08:59:40 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:41 raspberrypizero python3[428]: 2023-05-14 08:59:41 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:42 raspberrypizero python3[428]: 2023-05-14 08:59:42 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:43 raspberrypizero python3[428]: 2023-05-14 08:59:43 INFO powermeter Tasmota: -645 Watt Mai 14 08:59:45 raspberrypizero python3[428]: 2023-05-14 08:59:45 INFO powermeter Tasmota: -645 Watt Mai 14 08:59:46 raspberrypizero python3[428]: 2023-05-14 08:59:46 INFO powermeter Tasmota: -645 Watt Mai 14 08:59:47 raspberrypizero python3[428]: 2023-05-14 08:59:47 INFO powermeter Tasmota: -638 Watt
Kann man noch irgendwo einstellen, das er weniger ins netz einspeißt?
gruß frank
Von: reserve85 @.> Gesendet: Samstag, 13. Mai 2023 10:55 An: reserve85/HoymilesZeroExport @.> Cc: fatzo @.>; Author @.> Betreff: Re: [reserve85/HoymilesZeroExport] Config parameter (Issue #56)
Ich habe kein Facebook, geht auch hier.
Damit sollte es laufen. Kannst ja nochmal drüberschauen ob die Inverter-Werte passen (2 x 1500 Watt?). Allerdings fehlten mir die Werte für die Sektion [OPEN_DTU]
Die musst du noch anpassen. Also:
[OPEN_DTU]
OPENDTU_IP = xxx.xxx.xxx.xxx
OPENDTU_USER =
OPENDTU_PASS =
musst du noch ergänzen.
HoymilesZeroExport_Config.ziphttps://github.com/reserve85/HoymilesZeroExport/files/11469253/HoymilesZeroExport_Config.zip
— Reply to this email directly, view it on GitHubhttps://github.com/reserve85/HoymilesZeroExport/issues/56#issuecomment-1546600670, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3B7XLFG3DRAWWF4YM43J4LXF5D5LANCNFSM6AAAAAAX7FF3O4. You are receiving this because you authored the thread.Message ID: @.**@.>>
Guten morgen Der script scheint zu laufen ( wechselrichter passen sich an) Aber immer noch eine fehlermeldung am anfang, später nicht mehr, kann man rausbekommen, woran es genau liegt? In einem log oder so Aktueller log Mai 14 08:58:01 raspberrypizero python3[428]: 2023-05-14 08:58:01 INFO powermeter Tasmota: -233 Watt Mai 14 08:58:02 raspberrypizero python3[428]: 2023-05-14 08:58:02 INFO powermeter Tasmota: -245 Watt Mai 14 08:58:03 raspberrypizero python3[428]: 2023-05-14 08:58:03 INFO powermeter Tasmota: -245 Watt Mai 14 08:58:05 raspberrypizero python3[428]: 2023-05-14 08:58:05 INFO powermeter Tasmota: -243 Watt Mai 14 08:58:06 raspberrypizero python3[428]: 2023-05-14 08:58:06 INFO powermeter Tasmota: -245 Watt Mai 14 08:58:07 raspberrypizero python3[428]: 2023-05-14 08:58:07 INFO powermeter Tasmota: -246 Watt Mai 14 08:58:08 raspberrypizero python3[428]: 2023-05-14 08:58:08 INFO powermeter Tasmota: -246 Watt Mai 14 08:58:09 raspberrypizero python3[428]: 2023-05-14 08:58:09 INFO powermeter Tasmota: -246 Watt Mai 14 08:58:10 raspberrypizero python3[428]: 2023-05-14 08:58:10 INFO powermeter Tasmota: 195 Watt Mai 14 08:58:10 raspberrypizero python3[428]: 2023-05-14 08:58:10 INFO setting new limit to 3000 Watt Mai 14 08:58:10 raspberrypizero python3[428]: 2023-05-14 08:58:10 INFO OpenDTU: Inverter "Hoymiles-HM1500": setting new limit from 75 Watt to 1500 Watt Mai 14 08:58:13 raspberrypizero python3[428]: 2023-05-14 08:58:13 INFO OpenDTU: Inverter "Hoymiles HM-1500G": setting new limit from 75 Watt to 1500 Watt Mai 14 08:59:25 raspberrypizero python3[428]: 2023-05-14 08:59:25 INFO OpenDTU: Inverter "Hoymiles-HM1500" reachable: True Mai 14 08:59:25 raspberrypizero python3[428]: 2023-05-14 08:59:25 INFO OpenDTU: Inverter "Hoymiles HM-1500G" reachable: False Mai 14 08:59:25 raspberrypizero python3[428]: 2023-05-14 08:59:25 INFO powermeter Tasmota: -413 Watt Mai 14 08:59:26 raspberrypizero python3[428]: 2023-05-14 08:59:26 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:28 raspberrypizero python3[428]: 2023-05-14 08:59:28 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:29 raspberrypizero python3[428]: 2023-05-14 08:59:29 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:30 raspberrypizero python3[428]: 2023-05-14 08:59:30 INFO powermeter Tasmota: -414 Watt Mai 14 08:59:31 raspberrypizero python3[428]: 2023-05-14 08:59:31 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:32 raspberrypizero python3[428]: 2023-05-14 08:59:32 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:33 raspberrypizero python3[428]: 2023-05-14 08:59:33 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:34 raspberrypizero python3[428]: 2023-05-14 08:59:34 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:36 raspberrypizero python3[428]: 2023-05-14 08:59:36 INFO powermeter Tasmota: -412 Watt Mai 14 08:59:37 raspberrypizero python3[428]: 2023-05-14 08:59:37 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:38 raspberrypizero python3[428]: 2023-05-14 08:59:38 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:39 raspberrypizero python3[428]: 2023-05-14 08:59:39 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:40 raspberrypizero python3[428]: 2023-05-14 08:59:40 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:41 raspberrypizero python3[428]: 2023-05-14 08:59:41 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:42 raspberrypizero python3[428]: 2023-05-14 08:59:42 INFO powermeter Tasmota: -417 Watt Mai 14 08:59:43 raspberrypizero python3[428]: 2023-05-14 08:59:43 INFO powermeter Tasmota: -645 Watt Mai 14 08:59:45 raspberrypizero python3[428]: 2023-05-14 08:59:45 INFO powermeter Tasmota: -645 Watt Mai 14 08:59:46 raspberrypizero python3[428]: 2023-05-14 08:59:46 INFO powermeter Tasmota: -645 Watt Mai 14 08:59:47 raspberrypizero python3[428]: 2023-05-14 08:59:47 INFO powermeter Tasmota: -638 Watt Kann man noch irgendwo einstellen, das er weniger ins netz einspeißt? gruß frank Von: reserve85 @.> Gesendet: Samstag, 13. Mai 2023 10:55 An: reserve85/HoymilesZeroExport @.> Cc: fatzo @.>; Author @.> Betreff: Re: [reserve85/HoymilesZeroExport] Config parameter (Issue #56) Ich habe kein Facebook, geht auch hier. Damit sollte es laufen. Kannst ja nochmal drüberschauen ob die Inverter-Werte passen (2 x 1500 Watt?). Allerdings fehlten mir die Werte für die Sektion [OPEN_DTU] Die musst du noch anpassen. Also: [OPEN_DTU] # --- defines for OPEN-DTU --- OPENDTU_IP = xxx.xxx.xxx.xxx OPENDTU_USER = OPENDTU_PASS = musst du noch ergänzen. HoymilesZeroExport_Config.ziphttps://github.com/reserve85/HoymilesZeroExport/files/11469253/HoymilesZeroExport_Config.zip — Reply to this email directly, view it on GitHub<#56 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3B7XLFG3DRAWWF4YM43J4LXF5D5LANCNFSM6AAAAAAX7FF3O4. You are receiving this because you authored the thread.Message ID: @.**@.>>
Vielen dank schon mal an alle! Ich muss zwar noch optimieren, aber erstmal läuft er, zwar ein wenig träge, kann aber auch am Zero liegen. ich habe auch das Problem das OpenDtu den zweiten Wechselrichter nicht immer erreicht, obwohl beidenebeneinander stehen.
gruß an alle
fatzo
Welche Fehlermeldung am Anfang?
Von: @. Im Auftrag von @. Gesendet: Sonntag, 14. Mai 2023 21:10 An: 'reserve85/HoymilesZeroExport' @.***> Betreff: AW: [reserve85/HoymilesZeroExport] Config parameter (Issue #56)
Er hat den zweiten wechselrichter nicht gefunden, dann habe ich die dtu umgestellt und seitdem klappt es. Habe heute mir mal die config der anderen angeschaut und die Ansprechzeiten der Dtu verändert. Ich werde weiter probieren, setze jetzt aber erstmal für 14 tage aus, fliege gleich in den Urlaub 😊
Bis in 14 Tagen, werde dann berichten.
Gruß fatzo
Von: reserve85 @.**@.>> Gesendet: Sonntag, 14. Mai 2023 10:45 An: reserve85/HoymilesZeroExport @.**@.>> Cc: fatzo @.**@.>>; State change @.**@.>> Betreff: Re: [reserve85/HoymilesZeroExport] Config parameter (Issue #56)
Welche Fehlermeldung am Anfang?
— Reply to this email directly, view it on GitHubhttps://github.com/reserve85/HoymilesZeroExport/issues/56#issuecomment-1546843503, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3B7XLBJLLP3KXDH652KLZTXGCLQZANCNFSM6AAAAAAX7FF3O4. You are receiving this because you modified the open/close state.Message ID: @.**@.>>
ich bekomme den script nicht zum laufen auf einen Raspi zero
log
Mai 12 09:46:01 raspberrypizero systemd[1]: HoymilesZeroExport.service: Failed with result 'exit-code'. Mai 12 09:46:01 raspberrypizero systemd[1]: HoymilesZeroExport.service: Consumed 3.694s CPU time. Mai 12 09:46:01 raspberrypizero systemd[1]: HoymilesZeroExport.service: Scheduled restart job, restart counter is at 11. Mai 12 09:46:01 raspberrypizero systemd[1]: Stopped HoymilesZeroExport Service. Mai 12 09:46:01 raspberrypizero systemd[1]: HoymilesZeroExport.service: Consumed 3.694s CPU time. Mai 12 09:46:01 raspberrypizero systemd[1]: Started HoymilesZeroExport Service. Mai 12 09:46:07 raspberrypizero python3[6463]: 2023-05-12 09:46:07 INFO Log write to file: False Mai 12 09:46:07 raspberrypizero python3[6463]: 2023-05-12 09:46:07 INFO Author: Tobias Kraft / Script Version: 1.32 Mai 12 09:46:07 raspberrypizero python3[6463]: 2023-05-12 09:46:07 INFO read config file: /home/pi/HoymilesZeroExport/HoymilesZeroExport_Config.ini Mai 12 09:46:07 raspberrypizero python3[6463]: 2023-05-12 09:46:07 INFO Config file V 1.31 Mai 12 09:46:07 raspberrypizero python3[6463]: Traceback (most recent call last): Mai 12 09:46:07 raspberrypizero python3[6463]: File "/usr/lib/python3.9/configparser.py", line 789, in get Mai 12 09:46:07 raspberrypizero python3[6463]: value = d[option] Mai 12 09:46:07 raspberrypizero python3[6463]: File "/usr/lib/python3.9/collections/init.py", line 941, in getitem Mai 12 09:46:07 raspberrypizero python3[6463]: return self.missing(key) # support subclasses that define missing Mai 12 09:46:07 raspberrypizero python3[6463]: File "/usr/lib/python3.9/collections/init.py", line 933, in missing Mai 12 09:46:07 raspberrypizero python3[6463]: raise KeyError(key) Mai 12 09:46:07 raspberrypizero python3[6463]: KeyError: 'ahoy_ip' Mai 12 09:46:07 raspberrypizero python3[6463]: During handling of the above exception, another exception occurred: Mai 12 09:46:07 raspberrypizero python3[6463]: Traceback (most recent call last): Mai 12 09:46:07 raspberrypizero python3[6463]: File "/home/pi/HoymilesZeroExport/HoymilesZeroExport.py", line 675, in
Mai 12 09:46:07 raspberrypizero python3[6463]: AHOY_IP = config.get('AHOY_DTU', 'AHOY_IP')
Mai 12 09:46:07 raspberrypizero python3[6463]: File "/usr/lib/python3.9/configparser.py", line 792, in get
Mai 12 09:46:07 raspberrypizero python3[6463]: raise NoOptionError(option, section)
Mai 12 09:46:07 raspberrypizero python3[6463]: configparser.NoOptionError: No option 'ahoy_ip' in section: 'AHOY_DTU'
Mai 12 09:46:08 raspberrypizero systemd[1]: HoymilesZeroExport.service: Main process exited, code=exited, status=1/FAILURE
Mai 12 09:46:08 raspberrypizero systemd[1]: HoymilesZeroExport.service: Failed with result 'exit-code'.
Mai 12 09:46:08 raspberrypizero systemd[1]: HoymilesZeroExport.service: Consumed 3.736s CPU time.
Mai 12 09:46:08 raspberrypizero systemd[1]: HoymilesZeroExport.service: Scheduled restart job, restart counter is at 12.
Mai 12 09:46:08 raspberrypizero systemd[1]: Stopped HoymilesZeroExport Service.
ich denke das ich die Config.ini nicht richtig konfiguriert habe.
ich habe 2 Hoymiles HM-1500 könnte über tasmota Lesekopf shelly 3em Homeassistent steuern Ich habe eine opendtu mit aktuellen Firmwareversion am laufen
der raspi zero ist nur für den sript da
vieleicht kann mir jemand helfen gruß fatzo