Energienetz ohne Anzeige mit Discovergy
-
- Beiträge: 20
- Registriert: Fr Apr 28, 2023 5:51 pm
Re: Energienetz ohne Anzeige mit Discovergy
@LenaK, vielen Dank für den Fix.
Habe ihn eingespielt Das hat dazu geführt, dass jetzt auch unter der Modulmeldung des Discovergy-Zählers jetzt der Text "Kein Fehler." steht.
Allerdings werden nach wie vor leider keine Werte angezeigt.
Habe ihn eingespielt Das hat dazu geführt, dass jetzt auch unter der Modulmeldung des Discovergy-Zählers jetzt der Text "Kein Fehler." steht.
Allerdings werden nach wie vor leider keine Werte angezeigt.
Code: Alles auswählen
2023-05-03 15:40:10,411 - {root:61} - {INFO:MainThread} - # ***Start***
2023-05-03 15:40:10,439 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Discovergy Zähler']
2023-05-03 15:40:10,440 - {modules.devices.victron.device:54} - {DEBUG:device1} - Start device reading {'component1': <modules.devices.victron.inverter.VictronInverter object at 0x75bf9220>}
2023-05-03 15:40:10,448 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Victron Wechselrichter']
2023-05-03 15:40:10,461 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1683121200.5669293, power=-4440, imported=0, exported=10189.751396613774)
2023-05-03 15:40:10,462 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00274854, power1: -4440, power2: -4449
2023-05-03 15:40:10,463 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: -12.2159
2023-05-03 15:40:10,463 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 12.2159 Wh, new state: SimCounterState(timestamp=1683121210.4616556, power=-4449, imported=0, exported=10201.96726076251)
2023-05-03 15:40:10,466 - {urllib3.connectionpool:452} - {DEBUG:device0} - https://api.discovergy.com:443 "GET /public/v1/last_reading?meterId=611b7003a9d949aea358d4f268abd9a7 HTTP/1.1" 200 None
2023-05-03 15:40:10,470 - {modules.common.req:11} - {DEBUG:device0} - Get-Response: {"time":1683121210118,"values":{"energyOut":9964197306000,"energy2":127180511482000,"energy1":2223254000,"voltage1":233700,"voltage2":235400,"voltage3":236800,"energyOut1":0,"power":-80850,"energyOut2":0,"power3":-1278660,"power1":2533760,"energy":127182734736000,"power2":-1335950}}
2023-05-03 15:40:10,472 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[233.7, 235.4, 236.8], powers=[2533.76, -1335.95, -1278.66], currents=[10.841934103551564, -5.675233644859813, -5.399746621621622], power_factors=[0.0, 0.0, 0.0], imported=12718273.4736, exported=996419.7306, power=-80.85, frequency=50)
2023-05-03 15:40:10,474 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4449, exported=10201.96726076251, dc_power=None)
2023-05-03 15:40:10,494 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Victron Wechselrichter']
2023-05-03 15:40:10,496 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4449, exported=10201.96726076251, dc_power=None)
2023-05-03 15:40:10,497 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4449, exported=10201.96726076251, dc_power=None)
2023-05-03 15:40:10,536 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Discovergy Zähler']
2023-05-03 15:40:10,599 - {control.counter:126} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [16.0, 16.0, 16.0]A
2023-05-03 15:40:10,601 - {control.counter:149} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 11000W
2023-05-03 15:40:10,618 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0, daily_imported=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, switch_on_soc_reached=False))
2023-05-03 15:40:10,619 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-05-03 15:40:10,621 - {control.data:335} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-05-03 15:40:10,624 - {control.data:335} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=11000, raw_currents_left=[16.0, 16.0, 16.0], surplus_power_left=0, state_str=''))
2023-05-03 15:40:10,627 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4449, invalid_home_consumption=0, daily_yield_home_consumption=9995.392))
2023-05-03 15:40:10,628 - {control.data:335} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-05-03 15:40:10,633 - {control.data:335} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-05-03 15:40:10,636 - {control.data:335} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5, keep_charge_active_duration=40)
2023-05-03 15:40:10,636 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-05-03 15:40:10,637 - {control.data:315} - {INFO:MainThread} - general_data-display
local
2023-05-03 15:40:10,637 - {control.data:316} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-05-03 15:40:10,644 - {control.data:317} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x71d34028>), led=Led(active=False), rfid=Rfid(active=False))
2023-05-03 15:40:10,645 - {control.data:335} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=9995.392, monthly_exported=0, yearly_exported=0, exported=10201.967, fault_state=0, fault_str='Kein Fehler.', power=-4449))
2023-05-03 15:40:10,648 - {control.data:319} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=9995.392, monthly_exported=0, yearly_exported=0, exported=10189.751, power=-4440))
2023-05-03 15:40:10,649 - {control.data:335} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.62', 'current_commit': '2023-05-03 15:15:18 +0200 [47143390]', 'current_branch': 'master', 'current_branch_commit': '2023-05-03 15:15:18 +0200 [47143390]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 8, 'module_update_completed': True, 'lastlivevaluesJson': {'timestamp': 1683121200, 'time': '15:40:00', 'grid': 0.0, 'house-power': 4.44, 'charging-all': 0.0, 'pv-all': 4.319}}
2023-05-03 15:40:10,649 - {control.data:348} - {INFO:MainThread} - device0
{'name': 'Discovergy', 'type': 'discovergy', 'id': 0, 'configuration': {'user': 'korrekt', 'password': 'richtig'}}
2023-05-03 15:40:10,649 - {control.data:350} - {INFO:MainThread} - component0
{'name': 'Discovergy Zähler', 'type': 'counter', 'id': 0, 'configuration': {'meter_id': 'stimmt'}}
2023-05-03 15:40:10,650 - {control.data:348} - {INFO:MainThread} - device1
{'name': 'Victron', 'type': 'victron', 'id': 1, 'configuration': {'ip_address': '192.168.178.51'}}
2023-05-03 15:40:10,650 - {control.data:350} - {INFO:MainThread} - component1
{'name': 'Victron Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'mppt': False, 'modbus_id': 227}}
2023-05-03 15:40:10,650 - {control.data:322} - {INFO:MainThread} -
2023-05-03 15:40:10,650 - {control.algorithm.algorithm:27} - {INFO:MainThread} - # Algorithmus
2023-05-03 15:40:10,651 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Mindestrom setzen**
2023-05-03 15:40:10,654 - {control.algorithm.algorithm:35} - {INFO:MainThread} - **Sollstrom setzen**
2023-05-03 15:40:10,658 - {control.counter:186} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 115.0W
2023-05-03 15:40:10,658 - {control.counter:442} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 115.0W
2023-05-03 15:40:10,660 - {control.algorithm.algorithm:41} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-05-03 15:40:10,665 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-05-03 15:40:10,671 - {control.counter:174} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-05-03 15:40:10,847 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
___________________________________________________________
openwb@openwb2-beta3:~ $ cat /proc/cpuinfo
Model: Raspberry Pi 3 Model B Rev 1.2
WR: 3x Victron Multiplus 5000
WB: go-e & Tesla Gen 3
openwb@openwb2-beta3:~ $ cat /proc/cpuinfo
Model: Raspberry Pi 3 Model B Rev 1.2
WR: 3x Victron Multiplus 5000
WB: go-e & Tesla Gen 3
-
- Beiträge: 20
- Registriert: Fr Apr 28, 2023 5:51 pm
Re: Energienetz ohne Anzeige mit Discovergy
ok, folgendes update habe ich ausgeführt:
Jetzt sieht das sehr gut aus:
Vielen Dank!___________________________________________________________
openwb@openwb2-beta3:~ $ cat /proc/cpuinfo
Model: Raspberry Pi 3 Model B Rev 1.2
WR: 3x Victron Multiplus 5000
WB: go-e & Tesla Gen 3
openwb@openwb2-beta3:~ $ cat /proc/cpuinfo
Model: Raspberry Pi 3 Model B Rev 1.2
WR: 3x Victron Multiplus 5000
WB: go-e & Tesla Gen 3