Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Solarwatt Energymanager flex Daten auslesen die Zweite

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Solarwatt Energymanager flex Daten auslesen die Zweite

Scheduled Pinned Locked Moved ioBroker Allgemein
solarwattenergymanager flexregex
18 Posts 3 Posters 661 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arteckA arteck

    @derangler hast mal probiert mit dem ioBroker.energymanager....... sollte eigentlich gehen..

    ansonten hast du da ein JSON vor dir.. den brauchst du nicht mit regex parsen sondern die Werte direkt rausholen

    [
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed_from_producers",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed_from_producers",
        "label": "PowerConsumedFromProducers",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_lifetime_energy",
        "state": "63790.0 Wh",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_lifetime_energy",
        "label": "Wechselstrom Gesamtenergieerzeugung (Wh)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_produced_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_produced_total",
        "label": "WorkProduced",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_frequency",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_frequency",
        "label": "Wechselstrom Frequenz (Hz)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_total_current",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_total_current",
        "label": "Wechselstrom Gesamtstromstärke (A)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemStatusChannelGroup_sysError",
        "state": "00000000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemStatusChannelGroup_sysError",
        "label": "System error flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryPower",
        "state": "-0.5110 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryPower",
        "label": "Readonly Power",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_out",
        "state": "1709146200000|0.0 Ws",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_out",
        "label": "net_work_out",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcVoltage",
        "state": "324.6 V",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricPotential",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcVoltage",
        "label": "DC Voltage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcDischargeTemperature",
        "state": "26.0 °C",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Temperature",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcDischargeTemperature",
        "label": "DC Discharge Temperature",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netVoltage",
        "state": "232.0 V",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricPotential",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netVoltage",
        "label": "Net Voltage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power_factor",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power_factor",
        "label": "Wechselstrom Leistungsfaktor (%)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge",
        "label": "State Of Charge",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acState",
        "state": "00001800",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acState",
        "label": "AC State Flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_subnetMask",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_subnetMask",
        "label": "Subnet Mask",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed_from_grid",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed_from_grid",
        "label": "PowerConsumedFromGrid",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_in",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_in",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMeanVoltage",
        "state": "3172.0 mV",
        "stateDescription": {
          "pattern": "%d %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricPotential",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMeanVoltage",
        "label": "Cell Mean Voltage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_producers_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_producers_total",
        "label": "WorkOutFromProducers",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_harmonized_power_out",
        "state": "1709146245000|0.0 W",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "modbus_sunspec_sma_inverter_3016028132_harmonized_power_out",
        "label": "PowerACOut",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_producers_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_producers_total",
        "label": "WorkConsumedFromProducers",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_producers",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_producers",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcError",
        "state": "00000000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcError",
        "label": "DC Error Flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_net_work_in_aggregated",
        "state": "663250751.6666666 Ws",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_net_work_in_aggregated",
        "label": "net_work_in_aggregated",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netFrequency",
        "state": "50.02 Hz",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Frequency",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netFrequency",
        "label": "Net Frequency",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acVoltage",
        "state": "319.7 V",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricPotential",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acVoltage",
        "label": "AC Voltage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_in",
        "state": "1709146245000|0.3406666666666667 W",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_in",
        "label": "bat_power_in",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_supplied_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_supplied_total",
        "label": "WorkSelfSupplied",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_storage_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_storage_total",
        "label": "WorkConsumedFromStorage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power",
        "state": "1709146245000|1165.0 W",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power",
        "label": "net_power",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_work_in",
        "state": "1709146200000|0.0 Ws",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_work_in",
        "label": "bat_work_in",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acTemperature",
        "state": "0.0 °C",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Temperature",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acTemperature",
        "label": "AC Temperature",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_produced",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_produced",
        "label": "PowerProduced",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_controlLimit_enable_control",
        "state": "ON",
        "editable": false,
        "type": "Switch",
        "name": "modbus_sunspec_sma_inverter_3016028132_controlLimit_enable_control",
        "label": "Aktiviere Begrenzungskontrolle",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_power_consumption_measurable_powerConsumption_P",
        "state": "-0.5110 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": true,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_power_consumption_measurable_powerConsumption_P",
        "label": "Readonly Power",
        "tags": [
          "emiaas_resolver"
        ],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_limitable_limit",
        "state": "85.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": false,
          "options": []
        },
        "editable": true,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_limitable_limit",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_out_total_sync",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_out_total_sync",
        "label": "Total Produced Synced Energy",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acError",
        "state": "00000000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acError",
        "label": "AC Error Flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_self_consumed",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_self_consumed",
        "label": "PowerSelfConsumed",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcTemperature",
        "state": "31.0 °C",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Temperature",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcTemperature",
        "label": "DC Ambient Temperature",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work",
        "state": "1709146200000|389545.0 Ws",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work",
        "label": "net_work",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_timeZone",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_timeZone",
        "label": "TimeZone",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMinimumResistence",
        "state": "2.0 mΩ",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricResistance",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMinimumResistence",
        "label": "Cell Minimum Resistance",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_dcGeneral_dc_voltage",
        "state": "0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_dcGeneral_dc_voltage",
        "label": "Gleichstrom Spannung (V)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_limitable_actual_production",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": true,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_limitable_actual_production",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_in_total",
        "state": "663744887 Ws",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_in_total",
        "label": "Total Consumed Energy",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_out",
        "state": "1709146245000|0.0 W",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_out",
        "label": "net_power_out",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_limitable_enableControl",
        "state": "ON",
        "editable": true,
        "type": "Switch",
        "name": "modbus_sunspec_sma_inverter_3016028132_limitable_enableControl",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemStatusChannelGroup_stateErrorList",
        "state": "",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemStatusChannelGroup_stateErrorList",
        "label": "System Status",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMaximumTemperature",
        "state": "26.0 °C",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Temperature",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMaximumTemperature",
        "label": "Cell Maximum Temperature",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_deviceInformation_cabinet_temperature",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_deviceInformation_cabinet_temperature",
        "label": "Gehäusetemperatur (°C)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_supplied",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_supplied",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_gridCode",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_gridCode",
        "label": "Grid Code",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_mode",
        "state": "1709146245000|0.0",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_mode",
        "label": "Working mode of the battery when not edge balanced",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemStatusChannelGroup_sysState",
        "state": "0003D000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemStatusChannelGroup_sysState",
        "label": "System state flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCurrentOut",
        "state": "241.396 A·h",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCharge",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCurrentOut",
        "label": "Battery Current Out",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcChargeCurrent",
        "state": "0.0 A",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCurrent",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcChargeCurrent",
        "label": "DC Charge Current",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_in_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_in_total",
        "label": "WorkIn",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_storage",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_storage",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netPowerConsumption",
        "state": "905.0 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netPowerConsumption",
        "label": "Net Power Consumption",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryError",
        "state": "00000000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryError",
        "label": "Battery Error Flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_deviceInformation_transformer_temperature",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_deviceInformation_transformer_temperature",
        "label": "Spannungswandlertemperatur (°C)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_out_from_storage",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_out_from_storage",
        "label": "PowerOutFromStorage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryChargeCurrent",
        "state": "-30.0 A",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCurrent",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryChargeCurrent",
        "label": "Battery Charge Current",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_released",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_released",
        "label": "PowerReleased",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_grid",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_grid",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_producers",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_producers",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryDischargeCurrent",
        "state": "1.49 A",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCurrent",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryDischargeCurrent",
        "label": "Battery Discharge Current",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMinimumTemperature",
        "state": "25.0 °C",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Temperature",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMinimumTemperature",
        "label": "Cell Minimum Temperature",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcChargeTemperature",
        "state": "26.0 °C",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Temperature",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcChargeTemperature",
        "label": "DC Charge Temperature",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_sustainParameters",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": false,
          "options": []
        },
        "commandDescription": {
          "commandOptions": [
            {
              "command": "SUSTAIN",
              "label": "Sustain"
            },
            {
              "command": "RELEASE",
              "label": "Release"
            }
          ]
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_sustainParameters",
        "label": "Sustain/Release parameters",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCurrent",
        "state": "0.01 A",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCurrent",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCurrent",
        "label": "Battery Current",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_net_work_out_aggregated",
        "state": "19778415 Ws",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_net_work_out_aggregated",
        "label": "net_work_out_aggregated",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_power_production_measurable_powerProduction_P",
        "state": "-0.5110 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": true,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_power_production_measurable_powerProduction_P",
        "label": "Readonly Power",
        "tags": [
          "emiaas_resolver"
        ],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_total",
        "label": "WorkConsumed",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/pvplant_standard_7e35121a8ea0_harmonized_power_out",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "pvplant_standard_7e35121a8ea0_harmonized_power_out",
        "label": "PowerACOut",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_produced",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_produced",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_deviceInformation_other_temperature",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_deviceInformation_other_temperature",
        "label": "Andere Temperatur (°C)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_dcGeneral_dc_power",
        "state": "0.0 W",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Power",
        "name": "modbus_sunspec_sma_inverter_3016028132_dcGeneral_dc_power",
        "label": "Gleichstrom Leistung (W)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryEnergyOut",
        "state": "13509.443800000001 Wh",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryEnergyOut",
        "label": "Battery Energy Out",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_out",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_out",
        "label": "PowerOut",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_in",
        "state": "1709146200000|389545.0 Ws",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_in",
        "label": "net_work_in",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcCurrent",
        "state": "0.0 A",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCurrent",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcCurrent",
        "label": "DC Current",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMinimumVoltage",
        "state": "3169.0 mV",
        "stateDescription": {
          "pattern": "%d %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricPotential",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMinimumVoltage",
        "label": "Cell Minimum Voltage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_out_from_producers",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_out_from_producers",
        "label": "PowerOutFromProducers",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_ipAddress",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_ipAddress",
        "label": "IP Address",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_reactive_power",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_reactive_power",
        "label": "Wechselstrom Blindleistung",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_in_total_sync",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_in_total_sync",
        "label": "Total Consumed Synced Energy",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_consumed_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_consumed_total",
        "label": "WorkSelfConsumed",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_metering_getProduction_P_active",
        "state": "905.0 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": true,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_metering_getProduction_P_active",
        "label": "Net Power Consumption",
        "tags": [
          "emiaas_resolver"
        ],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed",
        "label": "PowerConsumed",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_powerRequestWanted",
        "state": "0.0 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_powerRequestWanted",
        "label": "Power Request Wanted",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_in",
        "state": "1709146245000|1165.0 W",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_in",
        "label": "net_power_in",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfHealth",
        "state": "99.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfHealth",
        "label": "State Of Health",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_grid_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_grid_total",
        "label": "WorkBufferedFromGrid",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_consumed",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_self_consumed",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_dcGeneral_dc_current",
        "state": "0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_dcGeneral_dc_current",
        "label": "Gleichstrom Stromstärke (A)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryState",
        "state": "00000000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryState",
        "label": "Battery LTC Flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_house_power",
        "state": "1709146245000|0.0 W",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_house_power",
        "label": "Harmonized House Power",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMeanResistence",
        "state": "2.0 mΩ",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricResistance",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMeanResistence",
        "label": "Cell Mean Resistance",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/pvplant_standard_7e35121a8ea0_harmonized_work_out_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "pvplant_standard_7e35121a8ea0_harmonized_work_out_total",
        "label": "WorkACOut",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_work_out",
        "state": "1709146200000|0.0 Ws",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_work_out",
        "label": "bat_work_out",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_producers",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_producers",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellModulesWithMinimumResistence",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellModulesWithMinimumResistence",
        "label": "Cell Minimum Resistance Count",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acCurrent",
        "state": "0.0 A",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCurrent",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acCurrent",
        "label": "AC Current",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_total",
        "label": "WorkOut",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_buffered",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_buffered",
        "label": "PowerBuffered",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acFrequency",
        "state": "50.01 Hz",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Frequency",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_acInfoChannelGroup_acFrequency",
        "label": "AC Frequency",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryEnergyIn",
        "state": "13020.1172 Wh",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryEnergyIn",
        "label": "Battery Energy In",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed_from_storage",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_consumed_from_storage",
        "label": "PowerConsumedFromStorage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_storage_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_out_from_storage_total",
        "label": "WorkOutFromStorage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_controlLimit_ac_limit",
        "state": "85.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_controlLimit_ac_limit",
        "label": "Wechselstromgrenze",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/pvplant_standard_7e35121a8ea0_harmonized_work_out",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "pvplant_standard_7e35121a8ea0_harmonized_work_out",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMaximumVoltage",
        "state": "3174.0 mV",
        "stateDescription": {
          "pattern": "%d %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricPotential",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMaximumVoltage",
        "label": "Cell Maximum Voltage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellModulesWithMaximumResistence",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellModulesWithMaximumResistence",
        "label": "Cell Maximum Resistance Count",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_out_total",
        "state": "1.978417E+7 Ws",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Energy",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_work_out_total",
        "label": "Total Produced Energy",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_released",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_released",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_networkGateway",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_networkGateway",
        "label": "Gateway Address",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_in",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_in",
        "label": "PowerIn",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_apparent_power",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_apparent_power",
        "label": "Wechselstrom Scheinleistung",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_soc",
        "state": "1709146245000|0.0 %",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_soc",
        "label": "Harmonized State of Charge in %",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_deviceInformation_heatsink_temperature",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_deviceInformation_heatsink_temperature",
        "label": "Kühlkörpertemperatur (°C)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCurrentIn",
        "state": "227.841 A·h",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCharge",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCurrentIn",
        "label": "Battery Current In",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_buffered_from_grid",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_buffered_from_grid",
        "label": "PowerBufferedFromGrid",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_deviceInformation_status",
        "state": "0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_deviceInformation_status",
        "label": "Status",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_houseChannelGroup_housePowerConsumption",
        "state": "0.5 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_houseChannelGroup_housePowerConsumption",
        "label": "House Power Consumption",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_harmonized_work_out",
        "state": "1709146200000|0.0 Ws",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "modbus_sunspec_sma_inverter_3016028132_harmonized_work_out",
        "label": "WorkACOut",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_out",
        "state": "1709146245000|0.3406666666666667 W",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_out",
        "label": "bat_power_out",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMeanTemperature",
        "state": "25.1 °C",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Temperature",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMeanTemperature",
        "label": "Cell Mean Temperature",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMaximumResistence",
        "state": "2.0 mΩ",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricResistance",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_cellInfoChannelGroup_cellMaximumResistence",
        "label": "Cell Maximum Resistance",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power",
        "state": "0.0 W",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Power",
        "name": "modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power",
        "label": "Wechselstrom Leistung (W)",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_producers_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_producers_total",
        "label": "WorkBufferedFromProducers",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryModeString",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryModeString",
        "label": "ModeConverter String Representation of the battery",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_backupSoc",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_backupSoc",
        "label": "Backup SOC",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCanFlags",
        "state": "00000000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryCanFlags",
        "label": "Battery CAN Flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_storage",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_storage",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcDischargeCurrent",
        "state": "0.0 A",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricCurrent",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcDischargeCurrent",
        "label": "DC Discharge Current",
        "tags": [],
        "groupNames": []
      },
      {
        "members": [],
        "link": "http://192.168.178.64/rest/items/datatransfer_group",
        "state": "NULL",
        "editable": true,
        "type": "Group",
        "name": "datatransfer_group",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemChannelGroup_systemPowerRequest",
        "state": "0.0 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemChannelGroup_systemPowerRequest",
        "label": "System Power Request",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_metering_getConsumption_P_active",
        "state": "905.0 W",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": true,
        "type": "Number:Power",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_metering_getConsumption_P_active",
        "label": "Net Power Consumption",
        "tags": [
          "emiaas_resolver"
        ],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_grid",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_from_grid",
        "label": "Harmonized Value",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_dhcpMode",
        "state": "NULL",
        "stateDescription": {
          "readOnly": false,
          "options": []
        },
        "editable": false,
        "type": "Switch",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_configurationParametersChannelGroup_dhcpMode",
        "label": "DHCP",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_self_supplied",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_self_supplied",
        "label": "PowerSelfSupplied",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_released_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_released_total",
        "label": "WorkReleased",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemChannelGroup_systemRelaisCount",
        "state": "8.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemChannelGroup_systemRelaisCount",
        "label": "System Relays Count",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemChannelGroup_systemRestarts",
        "state": "0.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_systemChannelGroup_systemRestarts",
        "label": "System Restarts",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryVoltage",
        "state": "51.1 V",
        "stateDescription": {
          "pattern": "%.2f %unit%",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "Number:ElectricPotential",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryVoltage",
        "label": "Battery Voltage",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_grid_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_consumed_from_grid_total",
        "label": "WorkConsumedFromGrid",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcState",
        "state": "00000000",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "solarwattBattery_batteryflex_BatteryFlex_0BB8F3_dcInfoChannelGroup_dcState",
        "label": "DC State Flags",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_power_buffered_from_producers",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_power_buffered_from_producers",
        "label": "PowerBufferedFromProducers",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_total",
        "state": "NULL",
        "stateDescription": {
          "pattern": "%s",
          "readOnly": true,
          "options": []
        },
        "editable": false,
        "type": "String",
        "name": "kiwigrid_location_standard_2ee5ba117dde_harmonized_work_buffered_total",
        "label": "WorkBuffered",
        "tags": [],
        "groupNames": []
      },
      {
        "link": "http://192.168.178.64/rest/items/modbus_sunspec_sma_inverter_3016028132_limitable_limited_production",
        "state": "85.0",
        "stateDescription": {
          "pattern": "%.0f",
          "readOnly": false,
          "options": []
        },
        "editable": true,
        "type": "Number",
        "name": "modbus_sunspec_sma_inverter_3016028132_limitable_limited_production",
        "tags": [],
        "groupNames": []
      }
    ]
    

    wenn man sich das in schön formatiert dann kann man mehr erkennen

    D Offline
    D Offline
    DerAngler
    wrote on last edited by
    #4

    @arteck Vielen Dank, jetzt bin ich schon mal weiter.
    Ich habe jetzt ein Blockly Script erstellt, was zu Testzwecken 2 Werte abfragt und im debug ausgibt.
    Nächster Schritt ist die Werte in ein Objekt zu schreiben. Ich werde berichten. !

    Mhh, eigentlich wollte ich ein Bild vom Blockly hochladen, es kommt aber nur:
    ERROR Something went wrong while parsing server response

    Also anders:

    var result;
    
    
    try {
      require("request")('http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge', async (error, response, result) => {
        console.log(getAttr((function () { try { return JSON.parse(result); } catch (e) { return {}; }})(), 'state'));
      }).on("error", (e) => { console.error(e); });
    } catch (e) { console.error(e); }
    try {
      require("request")('http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netVoltage', async (error, response, result) => {
        console.log(getAttr((function () { try { return JSON.parse(result); } catch (e) { return {}; }})(), 'state'));
      }).on("error", (e) => { console.error(e); });
    } catch (e) { console.error(e); }
    
    D 1 Reply Last reply
    0
    • D DerAngler

      @arteck Vielen Dank, jetzt bin ich schon mal weiter.
      Ich habe jetzt ein Blockly Script erstellt, was zu Testzwecken 2 Werte abfragt und im debug ausgibt.
      Nächster Schritt ist die Werte in ein Objekt zu schreiben. Ich werde berichten. !

      Mhh, eigentlich wollte ich ein Bild vom Blockly hochladen, es kommt aber nur:
      ERROR Something went wrong while parsing server response

      Also anders:

      var result;
      
      
      try {
        require("request")('http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge', async (error, response, result) => {
          console.log(getAttr((function () { try { return JSON.parse(result); } catch (e) { return {}; }})(), 'state'));
        }).on("error", (e) => { console.error(e); });
      } catch (e) { console.error(e); }
      try {
        require("request")('http://192.168.178.64/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_netChannelGroup_netVoltage', async (error, response, result) => {
          console.log(getAttr((function () { try { return JSON.parse(result); } catch (e) { return {}; }})(), 'state'));
        }).on("error", (e) => { console.error(e); });
      } catch (e) { console.error(e); }
      
      D Offline
      D Offline
      DerAngler
      wrote on last edited by
      #5

      Weiter geht´s :
      Ich habe bis jetzt 3 Werte eindeutig identifizieren können (gar nicht so leicht):

      • Netzbezug in Watt
      • Speicherstand Batterie in %
      • Produktion Solar in Watt
        alle Werte können ausgelesen werden:
      • Speicherstand Batterie kann ich so weiterverwenden (auch als Zahl)
      • Produktion Solar in Watt kommt als String, kann ich mir im Moment nur anzeigen lassen, nicht aber weiterverarbeiten
      • Netzbezug in Watt kommt als komischer Wert: javascript.0 (793) script.js.common.Skripte.Abfrage_Solar: 1709489385000|0.0 W
        falls aktuell Netzstrom bezogen wird, kommt dieser mit x Nachkommastellen
        Hier das Blockly zum Auslesen der Werte:
        BlocklyauslesenWerte.JPG

      Und ein zweites Blockly, was den Netzbezug "splittet", einmal vor dem "|", dann werden noch die Nachkommastellen abgeschnitten:

      Blocklyumwandlungwerte.JPG

      Die Objekte dazu sehen so aus:
      Objekte.JPG

      Eine einfache Anzeige in Vis ist testweise erstellt:
      VisSolar.JPG

      Der nächste Schritt ist aus den "json-Strings" "Numbers" zu machen, dass ich das einfacher handhaben kann.

      D mcBirneM 2 Replies Last reply
      0
      • D DerAngler

        Weiter geht´s :
        Ich habe bis jetzt 3 Werte eindeutig identifizieren können (gar nicht so leicht):

        • Netzbezug in Watt
        • Speicherstand Batterie in %
        • Produktion Solar in Watt
          alle Werte können ausgelesen werden:
        • Speicherstand Batterie kann ich so weiterverwenden (auch als Zahl)
        • Produktion Solar in Watt kommt als String, kann ich mir im Moment nur anzeigen lassen, nicht aber weiterverarbeiten
        • Netzbezug in Watt kommt als komischer Wert: javascript.0 (793) script.js.common.Skripte.Abfrage_Solar: 1709489385000|0.0 W
          falls aktuell Netzstrom bezogen wird, kommt dieser mit x Nachkommastellen
          Hier das Blockly zum Auslesen der Werte:
          BlocklyauslesenWerte.JPG

        Und ein zweites Blockly, was den Netzbezug "splittet", einmal vor dem "|", dann werden noch die Nachkommastellen abgeschnitten:

        Blocklyumwandlungwerte.JPG

        Die Objekte dazu sehen so aus:
        Objekte.JPG

        Eine einfache Anzeige in Vis ist testweise erstellt:
        VisSolar.JPG

        Der nächste Schritt ist aus den "json-Strings" "Numbers" zu machen, dass ich das einfacher handhaben kann.

        D Offline
        D Offline
        DerAngler
        wrote on last edited by
        #6

        Im Moment ist wenig Zeit zum Basteln. Da eine Anzeige auf dem MagicMirror dann doch etwas langweilig ist....
        Die nächsten Schritte: Aus China 2 x 300V Voltmeter bestellt, die Widerstände, Kondensatoren und Dioden herausgelötet. Das alte Ziffernblatt eingescannt und ein wenig bearbeitet, wieder eingebaut (etwas auf alt getrimmt --> Steam-Punk-mäßig) Zwei Löcher in die Rückwand gebohrt für 2 RGB LED´s. ! Die Voltmeter werden per PWM von einem ESP8266 angesteuert werden (Vorwiderstand 2.2 kOhm), die LED´s (ich glaube 470 Ohm Vorwiderstand) werden je nach Wert mit verschiedenen Farben leuchten.
        20240313_222329.jpg
        20240313_222323.jpg
        Ach ja, noch eine Befestigungsplatte mit dem 3D Drucker gedruckt als Halterung für die Voltmeter.....

        D 1 Reply Last reply
        0
        • D DerAngler

          Im Moment ist wenig Zeit zum Basteln. Da eine Anzeige auf dem MagicMirror dann doch etwas langweilig ist....
          Die nächsten Schritte: Aus China 2 x 300V Voltmeter bestellt, die Widerstände, Kondensatoren und Dioden herausgelötet. Das alte Ziffernblatt eingescannt und ein wenig bearbeitet, wieder eingebaut (etwas auf alt getrimmt --> Steam-Punk-mäßig) Zwei Löcher in die Rückwand gebohrt für 2 RGB LED´s. ! Die Voltmeter werden per PWM von einem ESP8266 angesteuert werden (Vorwiderstand 2.2 kOhm), die LED´s (ich glaube 470 Ohm Vorwiderstand) werden je nach Wert mit verschiedenen Farben leuchten.
          20240313_222329.jpg
          20240313_222323.jpg
          Ach ja, noch eine Befestigungsplatte mit dem 3D Drucker gedruckt als Halterung für die Voltmeter.....

          D Offline
          D Offline
          DerAngler
          wrote on last edited by
          #7

          Ach ja. Angezeigt wird der Ladezustand der Batterie (in % vom 4,8 kWh Speicher) und die Leistung der Solarplatten (6800W).

          mcBirneM 1 Reply Last reply
          0
          • D DerAngler

            Ach ja. Angezeigt wird der Ladezustand der Batterie (in % vom 4,8 kWh Speicher) und die Leistung der Solarplatten (6800W).

            mcBirneM Offline
            mcBirneM Offline
            mcBirne
            wrote on last edited by
            #8

            @derangler
            Hallo zusammen,
            Ich kann auf diese Weise alle Werte auslesen.
            Ich möchte aber meine Wallbox starten, wenn der Strom preiswert ist, und dann den Speicher sperren. Auf der Homepage kann man den Speicher ab einer gewissen Uhrzeit für einige Stunden sperren. Also muss irgendetwas an den Energiemanager gesendet werden. Hat jemand eine Idee, wie man herausbekommt, welcher Befehl da gesendet wird?

            1 Reply Last reply
            0
            • D DerAngler

              Weiter geht´s :
              Ich habe bis jetzt 3 Werte eindeutig identifizieren können (gar nicht so leicht):

              • Netzbezug in Watt
              • Speicherstand Batterie in %
              • Produktion Solar in Watt
                alle Werte können ausgelesen werden:
              • Speicherstand Batterie kann ich so weiterverwenden (auch als Zahl)
              • Produktion Solar in Watt kommt als String, kann ich mir im Moment nur anzeigen lassen, nicht aber weiterverarbeiten
              • Netzbezug in Watt kommt als komischer Wert: javascript.0 (793) script.js.common.Skripte.Abfrage_Solar: 1709489385000|0.0 W
                falls aktuell Netzstrom bezogen wird, kommt dieser mit x Nachkommastellen
                Hier das Blockly zum Auslesen der Werte:
                BlocklyauslesenWerte.JPG

              Und ein zweites Blockly, was den Netzbezug "splittet", einmal vor dem "|", dann werden noch die Nachkommastellen abgeschnitten:

              Blocklyumwandlungwerte.JPG

              Die Objekte dazu sehen so aus:
              Objekte.JPG

              Eine einfache Anzeige in Vis ist testweise erstellt:
              VisSolar.JPG

              Der nächste Schritt ist aus den "json-Strings" "Numbers" zu machen, dass ich das einfacher handhaben kann.

              mcBirneM Offline
              mcBirneM Offline
              mcBirne
              wrote on last edited by
              #9

              @derangler
              Hallo,
              Funktioniert die Lösung bei dir noch? Bei mir nicht mehr.

              D 1 Reply Last reply
              0
              • mcBirneM mcBirne

                @derangler
                Hallo,
                Funktioniert die Lösung bei dir noch? Bei mir nicht mehr.

                D Offline
                D Offline
                DerAngler
                wrote on last edited by DerAngler
                #10

                @mcbirne Nein, der Zugang ist seit einem update von Solarwatt ein anderer. Man muss sich zuerst auf dem Energymanager
                einloggen, dann wird vom Energymanager ein Session-Cookie vergeben.
                Nur mit diesem Session-Cookie kann man dann über iobroker die Daten auslesen. Ich habe vor 3 Tagen mit Hilfe von Gemini eine Abfrage geschrieben,
                die im Moment im Pobelauf ist und zu funktionieren scheint. Falls ich hier in 2 Tagen nix reingeschrieben habe, melde Dich nochmal. Entweder funktioniert
                die Lösung doch nicht dauerhaft , oder ich habe vergessen sie reinzustellen.

                mcBirneM 1 Reply Last reply
                1
                • D DerAngler

                  @mcbirne Nein, der Zugang ist seit einem update von Solarwatt ein anderer. Man muss sich zuerst auf dem Energymanager
                  einloggen, dann wird vom Energymanager ein Session-Cookie vergeben.
                  Nur mit diesem Session-Cookie kann man dann über iobroker die Daten auslesen. Ich habe vor 3 Tagen mit Hilfe von Gemini eine Abfrage geschrieben,
                  die im Moment im Pobelauf ist und zu funktionieren scheint. Falls ich hier in 2 Tagen nix reingeschrieben habe, melde Dich nochmal. Entweder funktioniert
                  die Lösung doch nicht dauerhaft , oder ich habe vergessen sie reinzustellen.

                  mcBirneM Offline
                  mcBirneM Offline
                  mcBirne
                  wrote on last edited by
                  #11

                  @derangler keine Ahnung ob jetzt exakt 2 Tage rum sind. Aber leider habe ich es nicht hinbekommen und würde mich daher über deine Lösung freuen.

                  D 1 Reply Last reply
                  0
                  • mcBirneM mcBirne

                    @derangler keine Ahnung ob jetzt exakt 2 Tage rum sind. Aber leider habe ich es nicht hinbekommen und würde mich daher über deine Lösung freuen.

                    D Offline
                    D Offline
                    DerAngler
                    wrote on last edited by DerAngler
                    #12

                    @mcbirne
                    Moin, also bei mir scheint es zu laufen. Wie gesagt, das ist eine Coproduktion von Gemini und mir, da ich eigentlich zu wenig Ahnung habe. Falls Du oder jemand Tips hat, immer her damit.
                    Instanzen Java Module.png
                    Zuerst müssen noch zusätzliche Instanzen im Javamodul geladen werden. (Einfach nur die Namen eingeben).
                    So sieht dann mein (total rudimentäres) Blockly aus:
                    Abfrage Solarwatt Blockly.png
                    und so mein Java Code:

                    // Neue Module für die Cookie-Verwaltung MÜSSEN im JS-Adapter installiert sein:
                    // 'axios', 'axios-cookiejar-support', 'tough-cookie'
                    const axios = require('axios');
                    // Korrigierter Import: Importiert die Wrapper-Funktion explizit
                    const { wrapper } = require('axios-cookiejar-support'); 
                    const tough = require('tough-cookie');
                    
                    // WICHTIG: Verwende die explizit importierte 'wrapper'-Funktion, um Axios zu konfigurieren.
                    wrapper(axios); 
                    
                    // ******************************************************
                    // !!! STEUERUNG FÜR DEBUG-MELDUNGEN HIER ANPASSEN !!!
                    const DEBUG_MODE = true; 
                    // ******************************************************
                    
                    
                    // !!! HIER ANPASSEN: BASISDATEN !!!
                    const BASIS_URL = 'http://HIER_DIE_IP';
                    const LOGIN_POST_URL = `${BASIS_URL}/auth/login`; 
                    const PASSWORT = 'DeinPW'; 
                    const BENUTZERNAME = 'installer'; 
                    // !!! HIER ANPASSEN ENDE !!!
                    
                    // Hilfsfunktion für Debug-Ausgaben
                    function debugLog(message) {
                        if (DEBUG_MODE) {
                            log(`[DEBUG] ${message}`, 'info');
                        }
                    }
                    
                    // Globaler Cookie-Speicher, der automatisch Cookies speichert und mitschickt
                    const cookieJar = new tough.CookieJar(); 
                    
                    // ----------------------------------------------------
                    // HELFERFUNKTION ZUM ABFRUFEN UND SPEICHERN EINES WERTES
                    // ----------------------------------------------------
                    
                    /**
                     * Ruft einen Wert von der angegebenen URL ab, parst ihn und speichert ihn in ioBroker.
                     * @param {string} url - Die REST-URL des abzufragenden Items.
                     * @param {string} dataPointId - Die ioBroker ID, in die der Wert geschrieben wird.
                     * @param {string} debugName - Ein beschreibender Name für die Logs.
                     */
                    async function fetchAndSaveValue(url, dataPointId, debugName) {
                        debugLog(`Starte Abruf für: ${debugName} an URL: ${url}`);
                        
                        // KORRIGIERTE LOGIK: Einheit (W/%) für das Log bestimmen.
                        // Prüft, ob der Name (kleingeschrieben) "füllung" enthält.
                        const isFilling = debugName.toLowerCase().includes('füllung');
                        const unit = isFilling ? '%' : ' W'; // <-- Jetzt sollte % sicher erkannt werden.
                        
                        try {
                            const response = await axios.get(url, {
                                jar: cookieJar, 
                                withCredentials: true 
                            });
                    
                            if (response.status !== 200) {
                                log(`Fehler beim Abruf von ${debugName}: HTTP Status ${response.status}`, 'error');
                                return;
                            }
                    
                            let rohwertString = response.data.state;
                    
                            if (!rohwertString || typeof rohwertString !== 'string') {
                                log(`Fehler beim Parsen von ${debugName}: Unerwartetes Format oder leer. Rohdaten: ${JSON.stringify(response.data)}`, 'error');
                                return;
                            }
                    
                            let zuParsenderWert;
                            
                            // Logik: Unterscheidung nach Trennzeichen '|'
                            if (rohwertString.includes('|')) {
                                // STANDARD-LOGIK (Werte mit Pipe-Trenner)
                                zuParsenderWert = rohwertString.split('|')[1].trim(); 
                            } else {
                                // SPEZIAL-LOGIK (Werte ohne Pipe-Trenner, wie Speicherfüllung)
                                zuParsenderWert = rohwertString;
                                debugLog(`Spezial-Parsing für ${debugName} angewendet (kein '|' gefunden).`);
                            }
                            
                            // Konsolidierte Bereinigung und Umwandlung: Entfernt alle Zeichen außer Ziffern und Punkt.
                            let gereinigterWert = zuParsenderWert.replace(/[^\d.]/g, ''); 
                            let dezimalZahl = parseFloat(gereinigterWert);
                            let leistungGanzzahl = Math.round(dezimalZahl);
                            
                            if (isNaN(leistungGanzzahl)) {
                                 log(`Fehler beim Parsen von ${debugName}: Wert konnte nicht in Zahl umgewandelt werden. Ursprünglicher String: "${zuParsenderWert}"`, 'error');
                                 return;
                            }
                    
                            // KORREKT: Verwendet die oben definierte Variable 'unit'
                            debugLog(`Wert für ${debugName} ausgelesen: ${leistungGanzzahl}${unit}`);
                    
                            // Speicherung in ioBroker
                            if (typeof setState === 'function') { 
                                setState(dataPointId, leistungGanzzahl, true);
                            }
                    
                            // KORREKT: Verwendet die oben definierte Variable 'unit'
                            log(`ERFOLG: ${debugName} (${leistungGanzzahl}${unit}) erfolgreich in Datenpunkt ${dataPointId} geschrieben.`, 'info');
                    
                        } catch (error) {
                            log(`Kritischer Fehler beim Abruf von ${debugName}: ${error.message}`, 'error');
                            if (error.response && error.response.status) {
                                 log(`HTTP-Status beim Abruf von ${debugName}: ${error.response.status}`, 'error');
                            }
                        }
                    }
                    
                    
                    // ----------------------------------------------------
                    // AUTHENTIFIZIERUNG (Syntaxfehler-bereinigt)
                    // ----------------------------------------------------
                    
                    /**
                     * Führt den Authentifizierungsprozess durch. Das Cookie wird automatisch gespeichert.
                     */
                    async function authenticate() {
                        log('Starte Authentifizierungs-Prozess (POST Login)...', 'info');
                    
                        const postData = `username=${BENUTZERNAME}&url=%2F&password=${PASSWORT}&submit=Login`;
                        
                        debugLog(`Versuche Login an: ${LOGIN_POST_URL}`);
                    
                        const loginHeaders = { 
                            'Content-Type': 'application/x-www-form-urlencoded',
                            'Referer': `${BASIS_URL}/logon.html` 
                        };
                        
                        try {
                            await axios.post(LOGIN_POST_URL, 
                                postData, 
                                {
                                    headers: loginHeaders,
                                    jar: cookieJar, 
                                    withCredentials: true, 
                                    maxRedirects: 0, 
                                    validateStatus: (status) => status >= 200 && status < 400 
                                }
                            );
                            
                            debugLog(`Login-POST erfolgreich beendet (Status 200). Prüfe Cookies im Jar.`);
                    
                        } catch (error) {
                            if (error.response && error.response.status >= 300 && error.response.status < 400) {
                                debugLog(`Login-POST erfolgreich (Status ${error.response.status} Redirect). Cookie sollte im Jar gespeichert sein.`);
                            } else if (error.response && error.response.status === 401) {
                                 throw new Error('Login fehlgeschlagen. Status 401 (Unauthorized). Zugangsdaten falsch?');
                            } else {
                                const status = error.response ? error.response.status : 'N/A';
                                throw new Error(`Kritischer Fehler beim Login. Status: ${status}. Fehlermeldung: ${error.message}`);
                            }
                        }
                        
                        // Nach dem Login den Erfolg prüfen und ggf. mit Folge-GET erzwingen
                        const finalCookies = await cookieJar.getCookies(BASIS_URL);
                        if (finalCookies.length === 0) {
                             debugLog('Kein Cookie nach POST gefunden. Versuche Folge-GET auf Startseite, um das Cookie zu erzwingen...');
                            try {
                                await axios.get(BASIS_URL, { jar: cookieJar, withCredentials: true });
                                const secondCookieCheck = await cookieJar.getCookies(BASIS_URL);
                                if (secondCookieCheck.length === 0) {
                                    throw new Error('Kein Session-Cookie im Jar gespeichert.');
                                }
                            } catch (e) {
                                 throw new Error(`Fataler Fehler beim Cookie-Check: ${e.message}`);
                            }
                        }
                        
                        debugLog(`Authentifizierung erfolgreich. ${finalCookies.length} Cookies im Jar gefunden.`);
                    }
                    
                    // ----------------------------------------------------
                    // HAUPTFUNKTION
                    // ----------------------------------------------------
                    
                    async function abfrageUndSpeichern() {
                        
                        // SCHRITT 1: Authentifizierung
                        try {
                            await authenticate();
                        } catch (e) {
                            log(`Fataler Fehler beim Authentifizierungsprozess: ${e.message}`, 'error');
                            return;
                        }
                    
                        // SCHRITT 2: Datenabruf (Alle 6 Werte nacheinander)
                        
                        // 1. Netzbezug (W)
                        await fetchAndSaveValue(
                            `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_in`,
                            '0_userdata.0.Solaranlage.Batterie.Netzbezug',
                            'Netzbezug'
                        );
                        
                        // 2. Netzeinspeisung (W)
                        await fetchAndSaveValue(
                            `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_out`,
                            '0_userdata.0.Solaranlage.Batterie.Netzeinspeisung',
                            'Netzeinspeisung'
                        );
                        
                        // 3. Solarproduktion (W)
                        await fetchAndSaveValue(
                            `${BASIS_URL}/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power`,
                            '0_userdata.0.Solaranlage.Batterie.Solarproduktion+', 
                            'Solarproduktion'
                        );
                    
                        // 4. Speicherladung (W)
                        await fetchAndSaveValue(
                            `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_in`,
                            '0_userdata.0.Solaranlage.Batterie.Speicherladung',
                            'Speicherladung'
                        );
                    
                        // 5. Speicherentladung (W)
                        await fetchAndSaveValue(
                            `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_out`,
                            '0_userdata.0.Solaranlage.Batterie.Speicherentladung',
                            'Speicherentladung'
                        );
                        
                        // 6. Speicherfüllung (%)
                        await fetchAndSaveValue(
                            `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge`,
                            '0_userdata.0.Solaranlage.Batterie.Speicherfüllung',
                            'Speicherfüllung' // <-- Hier wird der debugName gesetzt
                        );
                    
                        log('INFO: Alle Abfragen abgeschlossen.', 'info');
                    }
                    
                    // Startet den Prozess einmalig beim Start des Skripts
                    abfrageUndSpeichern();
                    

                    Ist auch ein kleiner Debug Mode integriert.

                    Die Datenpunkte müssen natürlich noch angepasst werden....

                    Viel Spaß damit, über Rückmeldungen freue ich mich.
                    LG

                    mcBirneM 1 Reply Last reply
                    0
                    • D DerAngler

                      @mcbirne
                      Moin, also bei mir scheint es zu laufen. Wie gesagt, das ist eine Coproduktion von Gemini und mir, da ich eigentlich zu wenig Ahnung habe. Falls Du oder jemand Tips hat, immer her damit.
                      Instanzen Java Module.png
                      Zuerst müssen noch zusätzliche Instanzen im Javamodul geladen werden. (Einfach nur die Namen eingeben).
                      So sieht dann mein (total rudimentäres) Blockly aus:
                      Abfrage Solarwatt Blockly.png
                      und so mein Java Code:

                      // Neue Module für die Cookie-Verwaltung MÜSSEN im JS-Adapter installiert sein:
                      // 'axios', 'axios-cookiejar-support', 'tough-cookie'
                      const axios = require('axios');
                      // Korrigierter Import: Importiert die Wrapper-Funktion explizit
                      const { wrapper } = require('axios-cookiejar-support'); 
                      const tough = require('tough-cookie');
                      
                      // WICHTIG: Verwende die explizit importierte 'wrapper'-Funktion, um Axios zu konfigurieren.
                      wrapper(axios); 
                      
                      // ******************************************************
                      // !!! STEUERUNG FÜR DEBUG-MELDUNGEN HIER ANPASSEN !!!
                      const DEBUG_MODE = true; 
                      // ******************************************************
                      
                      
                      // !!! HIER ANPASSEN: BASISDATEN !!!
                      const BASIS_URL = 'http://HIER_DIE_IP';
                      const LOGIN_POST_URL = `${BASIS_URL}/auth/login`; 
                      const PASSWORT = 'DeinPW'; 
                      const BENUTZERNAME = 'installer'; 
                      // !!! HIER ANPASSEN ENDE !!!
                      
                      // Hilfsfunktion für Debug-Ausgaben
                      function debugLog(message) {
                          if (DEBUG_MODE) {
                              log(`[DEBUG] ${message}`, 'info');
                          }
                      }
                      
                      // Globaler Cookie-Speicher, der automatisch Cookies speichert und mitschickt
                      const cookieJar = new tough.CookieJar(); 
                      
                      // ----------------------------------------------------
                      // HELFERFUNKTION ZUM ABFRUFEN UND SPEICHERN EINES WERTES
                      // ----------------------------------------------------
                      
                      /**
                       * Ruft einen Wert von der angegebenen URL ab, parst ihn und speichert ihn in ioBroker.
                       * @param {string} url - Die REST-URL des abzufragenden Items.
                       * @param {string} dataPointId - Die ioBroker ID, in die der Wert geschrieben wird.
                       * @param {string} debugName - Ein beschreibender Name für die Logs.
                       */
                      async function fetchAndSaveValue(url, dataPointId, debugName) {
                          debugLog(`Starte Abruf für: ${debugName} an URL: ${url}`);
                          
                          // KORRIGIERTE LOGIK: Einheit (W/%) für das Log bestimmen.
                          // Prüft, ob der Name (kleingeschrieben) "füllung" enthält.
                          const isFilling = debugName.toLowerCase().includes('füllung');
                          const unit = isFilling ? '%' : ' W'; // <-- Jetzt sollte % sicher erkannt werden.
                          
                          try {
                              const response = await axios.get(url, {
                                  jar: cookieJar, 
                                  withCredentials: true 
                              });
                      
                              if (response.status !== 200) {
                                  log(`Fehler beim Abruf von ${debugName}: HTTP Status ${response.status}`, 'error');
                                  return;
                              }
                      
                              let rohwertString = response.data.state;
                      
                              if (!rohwertString || typeof rohwertString !== 'string') {
                                  log(`Fehler beim Parsen von ${debugName}: Unerwartetes Format oder leer. Rohdaten: ${JSON.stringify(response.data)}`, 'error');
                                  return;
                              }
                      
                              let zuParsenderWert;
                              
                              // Logik: Unterscheidung nach Trennzeichen '|'
                              if (rohwertString.includes('|')) {
                                  // STANDARD-LOGIK (Werte mit Pipe-Trenner)
                                  zuParsenderWert = rohwertString.split('|')[1].trim(); 
                              } else {
                                  // SPEZIAL-LOGIK (Werte ohne Pipe-Trenner, wie Speicherfüllung)
                                  zuParsenderWert = rohwertString;
                                  debugLog(`Spezial-Parsing für ${debugName} angewendet (kein '|' gefunden).`);
                              }
                              
                              // Konsolidierte Bereinigung und Umwandlung: Entfernt alle Zeichen außer Ziffern und Punkt.
                              let gereinigterWert = zuParsenderWert.replace(/[^\d.]/g, ''); 
                              let dezimalZahl = parseFloat(gereinigterWert);
                              let leistungGanzzahl = Math.round(dezimalZahl);
                              
                              if (isNaN(leistungGanzzahl)) {
                                   log(`Fehler beim Parsen von ${debugName}: Wert konnte nicht in Zahl umgewandelt werden. Ursprünglicher String: "${zuParsenderWert}"`, 'error');
                                   return;
                              }
                      
                              // KORREKT: Verwendet die oben definierte Variable 'unit'
                              debugLog(`Wert für ${debugName} ausgelesen: ${leistungGanzzahl}${unit}`);
                      
                              // Speicherung in ioBroker
                              if (typeof setState === 'function') { 
                                  setState(dataPointId, leistungGanzzahl, true);
                              }
                      
                              // KORREKT: Verwendet die oben definierte Variable 'unit'
                              log(`ERFOLG: ${debugName} (${leistungGanzzahl}${unit}) erfolgreich in Datenpunkt ${dataPointId} geschrieben.`, 'info');
                      
                          } catch (error) {
                              log(`Kritischer Fehler beim Abruf von ${debugName}: ${error.message}`, 'error');
                              if (error.response && error.response.status) {
                                   log(`HTTP-Status beim Abruf von ${debugName}: ${error.response.status}`, 'error');
                              }
                          }
                      }
                      
                      
                      // ----------------------------------------------------
                      // AUTHENTIFIZIERUNG (Syntaxfehler-bereinigt)
                      // ----------------------------------------------------
                      
                      /**
                       * Führt den Authentifizierungsprozess durch. Das Cookie wird automatisch gespeichert.
                       */
                      async function authenticate() {
                          log('Starte Authentifizierungs-Prozess (POST Login)...', 'info');
                      
                          const postData = `username=${BENUTZERNAME}&url=%2F&password=${PASSWORT}&submit=Login`;
                          
                          debugLog(`Versuche Login an: ${LOGIN_POST_URL}`);
                      
                          const loginHeaders = { 
                              'Content-Type': 'application/x-www-form-urlencoded',
                              'Referer': `${BASIS_URL}/logon.html` 
                          };
                          
                          try {
                              await axios.post(LOGIN_POST_URL, 
                                  postData, 
                                  {
                                      headers: loginHeaders,
                                      jar: cookieJar, 
                                      withCredentials: true, 
                                      maxRedirects: 0, 
                                      validateStatus: (status) => status >= 200 && status < 400 
                                  }
                              );
                              
                              debugLog(`Login-POST erfolgreich beendet (Status 200). Prüfe Cookies im Jar.`);
                      
                          } catch (error) {
                              if (error.response && error.response.status >= 300 && error.response.status < 400) {
                                  debugLog(`Login-POST erfolgreich (Status ${error.response.status} Redirect). Cookie sollte im Jar gespeichert sein.`);
                              } else if (error.response && error.response.status === 401) {
                                   throw new Error('Login fehlgeschlagen. Status 401 (Unauthorized). Zugangsdaten falsch?');
                              } else {
                                  const status = error.response ? error.response.status : 'N/A';
                                  throw new Error(`Kritischer Fehler beim Login. Status: ${status}. Fehlermeldung: ${error.message}`);
                              }
                          }
                          
                          // Nach dem Login den Erfolg prüfen und ggf. mit Folge-GET erzwingen
                          const finalCookies = await cookieJar.getCookies(BASIS_URL);
                          if (finalCookies.length === 0) {
                               debugLog('Kein Cookie nach POST gefunden. Versuche Folge-GET auf Startseite, um das Cookie zu erzwingen...');
                              try {
                                  await axios.get(BASIS_URL, { jar: cookieJar, withCredentials: true });
                                  const secondCookieCheck = await cookieJar.getCookies(BASIS_URL);
                                  if (secondCookieCheck.length === 0) {
                                      throw new Error('Kein Session-Cookie im Jar gespeichert.');
                                  }
                              } catch (e) {
                                   throw new Error(`Fataler Fehler beim Cookie-Check: ${e.message}`);
                              }
                          }
                          
                          debugLog(`Authentifizierung erfolgreich. ${finalCookies.length} Cookies im Jar gefunden.`);
                      }
                      
                      // ----------------------------------------------------
                      // HAUPTFUNKTION
                      // ----------------------------------------------------
                      
                      async function abfrageUndSpeichern() {
                          
                          // SCHRITT 1: Authentifizierung
                          try {
                              await authenticate();
                          } catch (e) {
                              log(`Fataler Fehler beim Authentifizierungsprozess: ${e.message}`, 'error');
                              return;
                          }
                      
                          // SCHRITT 2: Datenabruf (Alle 6 Werte nacheinander)
                          
                          // 1. Netzbezug (W)
                          await fetchAndSaveValue(
                              `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_in`,
                              '0_userdata.0.Solaranlage.Batterie.Netzbezug',
                              'Netzbezug'
                          );
                          
                          // 2. Netzeinspeisung (W)
                          await fetchAndSaveValue(
                              `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_out`,
                              '0_userdata.0.Solaranlage.Batterie.Netzeinspeisung',
                              'Netzeinspeisung'
                          );
                          
                          // 3. Solarproduktion (W)
                          await fetchAndSaveValue(
                              `${BASIS_URL}/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power`,
                              '0_userdata.0.Solaranlage.Batterie.Solarproduktion+', 
                              'Solarproduktion'
                          );
                      
                          // 4. Speicherladung (W)
                          await fetchAndSaveValue(
                              `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_in`,
                              '0_userdata.0.Solaranlage.Batterie.Speicherladung',
                              'Speicherladung'
                          );
                      
                          // 5. Speicherentladung (W)
                          await fetchAndSaveValue(
                              `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_out`,
                              '0_userdata.0.Solaranlage.Batterie.Speicherentladung',
                              'Speicherentladung'
                          );
                          
                          // 6. Speicherfüllung (%)
                          await fetchAndSaveValue(
                              `${BASIS_URL}/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge`,
                              '0_userdata.0.Solaranlage.Batterie.Speicherfüllung',
                              'Speicherfüllung' // <-- Hier wird der debugName gesetzt
                          );
                      
                          log('INFO: Alle Abfragen abgeschlossen.', 'info');
                      }
                      
                      // Startet den Prozess einmalig beim Start des Skripts
                      abfrageUndSpeichern();
                      

                      Ist auch ein kleiner Debug Mode integriert.

                      Die Datenpunkte müssen natürlich noch angepasst werden....

                      Viel Spaß damit, über Rückmeldungen freue ich mich.
                      LG

                      mcBirneM Offline
                      mcBirneM Offline
                      mcBirne
                      wrote on last edited by
                      #13

                      @derangler
                      Vielen Dank!
                      ich habe meine URL eingatagen und mein Passwort eingegeben sowie die Variablen erstellt und deren Speicehrort angepasst.
                      Leider erhalte ich immer folgende Meldungen

                      javascript.0	14:58:29.281	info	
                      Start JavaScript script.js.Strom.Werte_aus_Energimanager_abfragen (Blockly)
                      javascript.0	14:58:29.294	info	
                      Starte Authentifizierungs-Prozess (POST Login)...
                      javascript.0	14:58:29.295	info	
                      [DEBUG] Versuche Login an: http://192.168.178.xxx/auth/login
                      javascript.0	14:58:29.296	info	
                      registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	14:58:29.377	info	
                      [DEBUG] Login-POST erfolgreich beendet (Status 200). Prüfe Cookies im Jar.
                      javascript.0	14:58:29.377	info	
                      [DEBUG] Authentifizierung erfolgreich. 1 Cookies im Jar gefunden.
                      javascript.0	14:58:29.378	info	
                      [DEBUG] Starte Abruf für: Netzbezug an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_in
                      javascript.0	14:58:29.413	error	
                      Kritischer Fehler beim Abruf von Netzbezug: Request failed with status code 400
                      javascript.0	14:58:29.414	error	
                      HTTP-Status beim Abruf von Netzbezug: 400
                      javascript.0	14:58:29.415	info	
                      [DEBUG] Starte Abruf für: Netzeinspeisung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_out
                      javascript.0	14:58:29.449	error	
                      Kritischer Fehler beim Abruf von Netzeinspeisung: Request failed with status code 400
                      javascript.0	14:58:29.449	error	
                      HTTP-Status beim Abruf von Netzeinspeisung: 400
                      javascript.0	14:58:29.449	info	
                      [DEBUG] Starte Abruf für: Solarproduktion an URL: http://192.168.178.xxx/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power
                      javascript.0	14:58:29.481	error	
                      Kritischer Fehler beim Abruf von Solarproduktion: Request failed with status code 400
                      javascript.0	14:58:29.481	error	
                      HTTP-Status beim Abruf von Solarproduktion: 400
                      javascript.0	14:58:29.481	info	
                      [DEBUG] Starte Abruf für: Speicherladung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_in
                      javascript.0	14:58:29.516	error	
                      Kritischer Fehler beim Abruf von Speicherladung: Request failed with status code 400
                      javascript.0	14:58:29.516	error	
                      HTTP-Status beim Abruf von Speicherladung: 400
                      javascript.0	14:58:29.516	info	
                      [DEBUG] Starte Abruf für: Speicherentladung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_out
                      javascript.0	14:58:29.543	error	
                      Kritischer Fehler beim Abruf von Speicherentladung: Request failed with status code 400
                      javascript.0	14:58:29.543	error	
                      HTTP-Status beim Abruf von Speicherentladung: 400
                      javascript.0	14:58:29.543	info	
                      [DEBUG] Starte Abruf für: Speicherfüllung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge
                      javascript.0	14:58:29.572	error	
                      Kritischer Fehler beim Abruf von Speicherfüllung: Request failed with status code 400
                      javascript.0	14:58:29.572	error	
                      HTTP-Status beim Abruf von Speicherfüllung: 400
                      javascript.0	14:58:29.572	info	
                      INFO: Alle Abfragen abgeschlossen.
                      

                      Ich glaube, er hat das Passwort samt Cookie, kann dann aber die Werte nicht finden oder rausschreiben oder speichern. Ich habe die Werte als Zahl angelegt. Ist das korrekt?

                      D 1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        DerAngler
                        wrote on last edited by DerAngler
                        #14

                        Nachtrag:
                        Ich hatte gerade gesehen, dass ich meine Steampunkanzeige noch gar nicht im fertigen Zustand gepostet habe.
                        Hier isse:
                        20251024_145618.jpg
                        Bei roter Hintergrundbeleuchtung wird kein Strom erzeugt bzw. ist die Batterie leer....

                        1 Reply Last reply
                        1
                        • mcBirneM mcBirne

                          @derangler
                          Vielen Dank!
                          ich habe meine URL eingatagen und mein Passwort eingegeben sowie die Variablen erstellt und deren Speicehrort angepasst.
                          Leider erhalte ich immer folgende Meldungen

                          javascript.0	14:58:29.281	info	
                          Start JavaScript script.js.Strom.Werte_aus_Energimanager_abfragen (Blockly)
                          javascript.0	14:58:29.294	info	
                          Starte Authentifizierungs-Prozess (POST Login)...
                          javascript.0	14:58:29.295	info	
                          [DEBUG] Versuche Login an: http://192.168.178.xxx/auth/login
                          javascript.0	14:58:29.296	info	
                          registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                          javascript.0	14:58:29.377	info	
                          [DEBUG] Login-POST erfolgreich beendet (Status 200). Prüfe Cookies im Jar.
                          javascript.0	14:58:29.377	info	
                          [DEBUG] Authentifizierung erfolgreich. 1 Cookies im Jar gefunden.
                          javascript.0	14:58:29.378	info	
                          [DEBUG] Starte Abruf für: Netzbezug an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_in
                          javascript.0	14:58:29.413	error	
                          Kritischer Fehler beim Abruf von Netzbezug: Request failed with status code 400
                          javascript.0	14:58:29.414	error	
                          HTTP-Status beim Abruf von Netzbezug: 400
                          javascript.0	14:58:29.415	info	
                          [DEBUG] Starte Abruf für: Netzeinspeisung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_net_power_out
                          javascript.0	14:58:29.449	error	
                          Kritischer Fehler beim Abruf von Netzeinspeisung: Request failed with status code 400
                          javascript.0	14:58:29.449	error	
                          HTTP-Status beim Abruf von Netzeinspeisung: 400
                          javascript.0	14:58:29.449	info	
                          [DEBUG] Starte Abruf für: Solarproduktion an URL: http://192.168.178.xxx/rest/items/modbus_sunspec_sma_inverter_3016028132_acGeneral_ac_power
                          javascript.0	14:58:29.481	error	
                          Kritischer Fehler beim Abruf von Solarproduktion: Request failed with status code 400
                          javascript.0	14:58:29.481	error	
                          HTTP-Status beim Abruf von Solarproduktion: 400
                          javascript.0	14:58:29.481	info	
                          [DEBUG] Starte Abruf für: Speicherladung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_in
                          javascript.0	14:58:29.516	error	
                          Kritischer Fehler beim Abruf von Speicherladung: Request failed with status code 400
                          javascript.0	14:58:29.516	error	
                          HTTP-Status beim Abruf von Speicherladung: 400
                          javascript.0	14:58:29.516	info	
                          [DEBUG] Starte Abruf für: Speicherentladung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_harmonized_bat_power_out
                          javascript.0	14:58:29.543	error	
                          Kritischer Fehler beim Abruf von Speicherentladung: Request failed with status code 400
                          javascript.0	14:58:29.543	error	
                          HTTP-Status beim Abruf von Speicherentladung: 400
                          javascript.0	14:58:29.543	info	
                          [DEBUG] Starte Abruf für: Speicherfüllung an URL: http://192.168.178.xxx/rest/items/solarwattBattery_batteryflex_BatteryFlex_0BB8F3_batteryChannelGroup_batteryStateOfCharge
                          javascript.0	14:58:29.572	error	
                          Kritischer Fehler beim Abruf von Speicherfüllung: Request failed with status code 400
                          javascript.0	14:58:29.572	error	
                          HTTP-Status beim Abruf von Speicherfüllung: 400
                          javascript.0	14:58:29.572	info	
                          INFO: Alle Abfragen abgeschlossen.
                          

                          Ich glaube, er hat das Passwort samt Cookie, kann dann aber die Werte nicht finden oder rausschreiben oder speichern. Ich habe die Werte als Zahl angelegt. Ist das korrekt?

                          D Offline
                          D Offline
                          DerAngler
                          wrote on last edited by DerAngler
                          #15

                          @mcbirne
                          Hallo,
                          ja Authentifizierung scheint ok zu sein,
                          Cookie scheint er zu haben,
                          Werte als Zahlen sind Richtig.

                          Was bei Dir noch anders sein könnte als bei mir: "0BB8F3"
                          Da weiß ich nicht, ob das bei allen "Solarwatts" gleich ist.

                          Muss jetzt leider los.
                          Viel Erfolg!

                          VG
                          DerAngler

                          mcBirneM 1 Reply Last reply
                          0
                          • D DerAngler

                            @mcbirne
                            Hallo,
                            ja Authentifizierung scheint ok zu sein,
                            Cookie scheint er zu haben,
                            Werte als Zahlen sind Richtig.

                            Was bei Dir noch anders sein könnte als bei mir: "0BB8F3"
                            Da weiß ich nicht, ob das bei allen "Solarwatts" gleich ist.

                            Muss jetzt leider los.
                            Viel Erfolg!

                            VG
                            DerAngler

                            mcBirneM Offline
                            mcBirneM Offline
                            mcBirne
                            wrote on last edited by
                            #16

                            @derangler
                            Daran lag es tatsächlich. Bei mir ist der Wert 0BEC85. Nun funktioniert es.
                            Vielen Dank dafür!

                            Weist du zufällig auch, wie man damit das laden des Speichers triggern kann? Laut meinem Solarteur wird das laden des Speichers wohl über die Box getriggert (keine Ahnung ob das stimmt). Aber eigentlich wäre es ja super, wenn man den Speicher mit günstigem Netzstrom laden kann. Technisch müsste das ja möglich sein. Auf der Homepage kann man den Speicher auch für bis zu 4 Stunden ausschalten (kein Laden und Entladen). Leider bekomme ich das auf der Box auch nicht hin.

                            D 1 Reply Last reply
                            0
                            • mcBirneM mcBirne

                              @derangler
                              Daran lag es tatsächlich. Bei mir ist der Wert 0BEC85. Nun funktioniert es.
                              Vielen Dank dafür!

                              Weist du zufällig auch, wie man damit das laden des Speichers triggern kann? Laut meinem Solarteur wird das laden des Speichers wohl über die Box getriggert (keine Ahnung ob das stimmt). Aber eigentlich wäre es ja super, wenn man den Speicher mit günstigem Netzstrom laden kann. Technisch müsste das ja möglich sein. Auf der Homepage kann man den Speicher auch für bis zu 4 Stunden ausschalten (kein Laden und Entladen). Leider bekomme ich das auf der Box auch nicht hin.

                              D Offline
                              D Offline
                              DerAngler
                              wrote on last edited by
                              #17

                              @mcbirne
                              Sorry, da bin ich raus. Die Wollen ja gerade irgendwelche Extrafeatures und Pro Versionen für Geld an den Mann/Frau bringen. evtl. geht das damit....
                              Schön dass es bei Dir geklappt hat.
                              DA

                              mcBirneM 1 Reply Last reply
                              0
                              • D DerAngler

                                @mcbirne
                                Sorry, da bin ich raus. Die Wollen ja gerade irgendwelche Extrafeatures und Pro Versionen für Geld an den Mann/Frau bringen. evtl. geht das damit....
                                Schön dass es bei Dir geklappt hat.
                                DA

                                mcBirneM Offline
                                mcBirneM Offline
                                mcBirne
                                wrote on last edited by
                                #18

                                @derangler Schade. Ich ärgere mich etwas über meinen Solarwatt-Speicher. Es gibt andere, die man über Modbus ansteuern kann und damit auch das Laden anstößt. Technisch geht das mit dem von Solarwatt auch. Aber leider gibt Solarwatt keine Schnittstellenbeschreibung raus. Ganz im Gegenteil führen sie noch Hürden ein, um Daten auszulesen.
                                Leider scheint es auch bei irgendwelchen Profis nicht verbreitet zu sein. Sonst würde es bestimmt jemand hinbekommen.

                                Aber nochmal danke für deine Unterstützung.

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                Support us

                                ioBroker
                                Community Adapters
                                Donate
                                FAQ Cloud / IOT
                                HowTo: Node.js-Update
                                HowTo: Backup/Restore
                                Downloads
                                BLOG

                                235

                                Online

                                32.4k

                                Users

                                81.4k

                                Topics

                                1.3m

                                Posts
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                ioBroker Community 2014-2025
                                logo
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Recent
                                • Tags
                                • Unread 0
                                • Categories
                                • Unreplied
                                • Popular
                                • GitHub
                                • Docu
                                • Hilfe