toreamun / amshan-homeassistant

Home Assistant integrasjon for strømmålere (AMS/HAN/P1). Integrasjonen støter både streaming (serieport/TCP-IP) og MQTT (Tibber Pulse, energyintelligence.se etc)
MIT License
150 stars 10 forks source link

Entity ID changes #56

Open flopp999 opened 1 year ago

flopp999 commented 1 year ago

After a restart of HA I sometimes get different Entity ID, normally it should be "lgf" but it sometimes gets "none"

I am using this module with firmware, 3.3 https://energyintelligence.se/shop/product/p1-till-mqtt-adapter

image

After a restart it will fix itself

image

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.12.8",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Stockholm",
    "os_name": "Linux",
    "os_version": "5.15.80",
    "supervisor": "2022.11.2",
    "host_os": "Home Assistant OS 9.4",
    "docker_version": "20.10.19",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.29.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "amshan": {
      "version": "2022.10.2",
      "requirements": [
        "amshan[serial]==2.0.5"
      ]
    }
  },
  "integration_manifest": {
    "domain": "amshan",
    "name": "AMS HAN meter",
    "version": "2022.10.2",
    "config_flow": true,
    "documentation": "https://github.com/toreamun/amshan-homeassistant",
    "issue_tracker": "https://github.com/toreamun/amshan-homeassistant/issues",
    "codeowners": [
      "@toreamun"
    ],
    "requirements": [
      "amshan[serial]==2.0.5"
    ],
    "after_dependencies": [
      "mqtt"
    ],
    "iot_class": "local_push",
    "is_built_in": false
  },
  "data": {
    "config_entry": {
      "entry_id": "81aaaaa1bxxxf12936bbb1e0000f5250",
      "version": 3,
      "domain": "amshan",
      "title": "Elm\u00e4taren",
      "data": {
        "connection_type": "hass_mqtt",
        "connection": {
          "mqtt_topics": "Elmataren/+"
        }
      },
      "options": {
        "scale_factor": 1.0
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": null,
      "disabled_by": null
    }
  }
}
flopp999 commented 1 year ago

Debug log. Reload of integration solves it

2023-01-02 16:36:06.570 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration amshan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-02 16:36:41.328 DEBUG (MainThread) [custom_components.amshan.metercon] Try to subscribe to 1 MQTT topic(s): {'Elmataren/+'}
2023-01-02 16:36:41.522 DEBUG (MainThread) [custom_components.amshan.metercon] Successfully subscribed to 1 MQTT topic(s): {'Elmataren/+'}
2023-01-02 16:36:41.522 DEBUG (MainThread) [custom_components.amshan] Configured ConnectionType.MQTT receiver.
2023-01-02 16:36:41.558 DEBUG (MainThread) [custom_components.amshan.sensor] Sensor async_setup_entry starting.
2023-01-02 16:36:41.559 DEBUG (MainThread) [custom_components.amshan.sensor] Sensor async_setup_entry ended.
2023-01-02 16:36:41.565 DEBUG (MainThread) [custom_components.amshan.sensor] Processing loop starting.
2023-01-02 16:36:41.666 DEBUG (MainThread) [custom_components.amshan] async_setup_entry complete.
2023-01-02 16:36:50.202 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2023-01-02 15:36:50.195992+00:00, QOS 0, retain flagg False, and payload length 709 received from topic Elmataren/raw from subscription to topic Elmataren/+
2023-01-02 16:36:50.283 DEBUG (MainThread) [custom_components.amshan.metercon] Got payload without HDLC framing from topic Elmataren/raw: 4234430d0a2f4c474635453336300d0a0d0a302d303a312e302e302832333031303231363336353057290d0a312d303a312e382e302830303031393835382e3331302a6b5768290d0a312d303a322e382e302830303030393038382e3238362a6b5768290d0a312d303a332e382e302830303030303430352e3831392a6b56417268290d0a312d303a342e382e302830303030343736302e3333352a6b56417268290d0a312d303a312e372e3028303030312e3333302a6b57290d0a312d303a322e372e3028303030302e3030302a6b57290d0a312d303a332e372e3028303030302e3030302a6b564172290d0a312d303a342e372e3028303030302e3435302a6b564172290d0a312d303a32312e372e3028303030302e3932372a6b57290d0a312d303a32322e372e3028303030302e3030302a6b57290d0a312d303a34312e372e3028303030302e3239362a6b57290d0a312d303a34322e372e3028303030302e3030302a6b57290d0a312d303a36312e372e3028303030302e3130362a6b57290d0a312d303a36322e372e3028303030302e3030302a6b57290d0a312d303a32332e372e3028303030302e3030302a6b564172290d0a312d303a32342e372e3028303030302e3033382a6b564172290d0a312d303a34332e372e3028303030302e3030302a6b564172290d0a312d303a34342e372e3028303030302e3239352a6b564172290d0a312d303a36332e372e3028303030302e3030302a6b564172290d0a312d303a36342e372e3028303030302e3131352a6b564172290d0a312d303a33322e372e30283233332e372a56290d0a312d303a35322e372e30283233382e372a56290d0a312d303a37322e372e30283233382e392a56290d0a312d303a33312e372e30283030332e392a41290d0a312d303a35312e372e30283030312e372a41290d0a312d303a37312e372e30283030302e362a41290d0a21314237460d0a
2023-01-02 16:36:50.320 DEBUG (MainThread) [custom_components.amshan.sensor] Decoded meter message: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 36, 50), 'active_power_import_total': 19858310, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760335, 'active_power_import': 1330, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 450, 'active_power_import_l1': 927, 'active_power_export_l1': 0, 'active_power_import_l2': 296, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 38, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.7, 'voltage_l2': 238.7, 'voltage_l3': 238.9, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6}
2023-01-02 16:36:50.321 DEBUG (MainThread) [custom_components.amshan.sensor] Received meter measures: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 36, 50), 'active_power_import_total': 19858310, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760335, 'active_power_import': 1330, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 450, 'active_power_import_l1': 927, 'active_power_export_l1': 0, 'active_power_import_l2': 296, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 38, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.7, 'voltage_l2': 238.7, 'voltage_l3': 238.9, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6}
2023-01-02 16:36:50.321 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l1
2023-01-02 16:36:50.322 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l2
2023-01-02 16:36:50.322 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l3
2023-01-02 16:36:50.322 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l2
2023-01-02 16:36:50.323 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_datetime
2023-01-02 16:36:50.323 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l3
2023-01-02 16:36:50.324 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l1
2023-01-02 16:36:50.326 ERROR (MainThread) [custom_components.amshan.sensor] Error processing meter readings
Traceback (most recent call last):
  File "/config/custom_components/amshan/sensor.py", line 543, in async_process_measures_loop
    self._update_entities(message)
  File "/config/custom_components/amshan/sensor.py", line 578, in _update_entities
    self._ensure_entities_are_created(measure_data)
  File "/config/custom_components/amshan/sensor.py", line 605, in _ensure_entities_are_created
    new_enitities = self._create_entities(
  File "/config/custom_components/amshan/sensor.py", line 640, in _create_entities
    AmsHanHourlyEntity(
  File "/config/custom_components/amshan/sensor.py", line 447, in __init__
    super().__init__(
  File "/config/custom_components/amshan/sensor.py", line 279, in __init__
    raise ValueError(
ValueError: Expected element meter_id or meter_manufacturer / meter_manufacturer_id not in measure_data.
2023-01-02 16:36:59.480 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2023-01-02 15:36:59.480220+00:00, QOS 0, retain flagg False, and payload length 704 received from topic Elmataren/raw from subscription to topic Elmataren/+
2023-01-02 16:36:59.495 DEBUG (MainThread) [custom_components.amshan.metercon] Got valid P1 message from topic Elmataren/raw: 2f4c474635453336300d0a0d0a302d303a312e302e302832333031303231363337303057290d0a312d303a312e382e302830303031393835382e3331342a6b5768290d0a312d303a322e382e302830303030393038382e3238362a6b5768290d0a312d303a332e382e302830303030303430352e3831392a6b56417268290d0a312d303a342e382e302830303030343736302e3333362a6b56417268290d0a312d303a312e372e3028303030312e3333362a6b57290d0a312d303a322e372e3028303030302e3030302a6b57290d0a312d303a332e372e3028303030302e3030302a6b564172290d0a312d303a342e372e3028303030302e3435312a6b564172290d0a312d303a32312e372e3028303030302e3932362a6b57290d0a312d303a32322e372e3028303030302e3030302a6b57290d0a312d303a34312e372e3028303030302e3330332a6b57290d0a312d303a34322e372e3028303030302e3030302a6b57290d0a312d303a36312e372e3028303030302e3130362a6b57290d0a312d303a36322e372e3028303030302e3030302a6b57290d0a312d303a32332e372e3028303030302e3030302a6b564172290d0a312d303a32342e372e3028303030302e3033392a6b564172290d0a312d303a34332e372e3028303030302e3030302a6b564172290d0a312d303a34342e372e3028303030302e3239362a6b564172290d0a312d303a36332e372e3028303030302e3030302a6b564172290d0a312d303a36342e372e3028303030302e3131352a6b564172290d0a312d303a33322e372e30283233332e352a56290d0a312d303a35322e372e30283233382e362a56290d0a312d303a37322e372e30283233382e362a56290d0a312d303a33312e372e30283030332e392a41290d0a312d303a35312e372e30283030312e372a41290d0a312d303a37312e372e30283030302e362a41290d0a21363439360d0a
2023-01-02 16:36:59.523 DEBUG (MainThread) [custom_components.amshan.sensor] Decoded meter message: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 37), 'active_power_import_total': 19858314, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760336, 'active_power_import': 1336, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 451, 'active_power_import_l1': 926, 'active_power_export_l1': 0, 'active_power_import_l2': 303, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 39, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 296, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.5, 'voltage_l2': 238.6, 'voltage_l3': 238.6, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:36:59.523 DEBUG (MainThread) [custom_components.amshan.sensor] Received meter measures: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 37), 'active_power_import_total': 19858314, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760336, 'active_power_import': 1336, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 451, 'active_power_import_l1': 926, 'active_power_export_l1': 0, 'active_power_import_l2': 303, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 39, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 296, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.5, 'voltage_l2': 238.6, 'voltage_l3': 238.6, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:36:59.523 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l1
2023-01-02 16:36:59.531 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l2
2023-01-02 16:36:59.532 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l3
2023-01-02 16:36:59.532 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_type_id
2023-01-02 16:36:59.532 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l2
2023-01-02 16:36:59.532 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_datetime
2023-01-02 16:36:59.533 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l3
2023-01-02 16:36:59.533 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l1
2023-01-02 16:36:59.533 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l1
2023-01-02 16:36:59.534 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l2
2023-01-02 16:36:59.534 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l3
2023-01-02 16:36:59.534 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l2
2023-01-02 16:36:59.535 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l3
2023-01-02 16:36:59.535 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l1
2023-01-02 16:36:59.535 DEBUG (MainThread) [custom_components.amshan.sensor] Register new entities for measures: ['reactive_power_export_total', 'active_power_import', 'voltage_l2', 'voltage_l3', 'reactive_power_import', 'current_l3', 'meter_manufacturer_id', 'reactive_power_export', 'reactive_power_import_total', 'current_l2', 'active_power_import_total', 'current_l1', 'active_power_export', 'voltage_l1', 'active_power_export_total']
2023-01-02 16:37:09.521 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2023-01-02 15:37:09.520769+00:00, QOS 0, retain flagg False, and payload length 704 received from topic Elmataren/raw from subscription to topic Elmataren/+
2023-01-02 16:37:09.541 DEBUG (MainThread) [custom_components.amshan.metercon] Got valid P1 message from topic Elmataren/raw: 2f4c474635453336300d0a0d0a302d303a312e302e302832333031303231363337313057290d0a312d303a312e382e302830303031393835382e3331382a6b5768290d0a312d303a322e382e302830303030393038382e3238362a6b5768290d0a312d303a332e382e302830303030303430352e3831392a6b56417268290d0a312d303a342e382e302830303030343736302e3333372a6b56417268290d0a312d303a312e372e3028303030312e3332392a6b57290d0a312d303a322e372e3028303030302e3030302a6b57290d0a312d303a332e372e3028303030302e3030302a6b564172290d0a312d303a342e372e3028303030302e3435312a6b564172290d0a312d303a32312e372e3028303030302e3932362a6b57290d0a312d303a32322e372e3028303030302e3030302a6b57290d0a312d303a34312e372e3028303030302e3239372a6b57290d0a312d303a34322e372e3028303030302e3030302a6b57290d0a312d303a36312e372e3028303030302e3130362a6b57290d0a312d303a36322e372e3028303030302e3030302a6b57290d0a312d303a32332e372e3028303030302e3030302a6b564172290d0a312d303a32342e372e3028303030302e3034312a6b564172290d0a312d303a34332e372e3028303030302e3030302a6b564172290d0a312d303a34342e372e3028303030302e3239352a6b564172290d0a312d303a36332e372e3028303030302e3030302a6b564172290d0a312d303a36342e372e3028303030302e3131352a6b564172290d0a312d303a33322e372e30283233332e342a56290d0a312d303a35322e372e30283233382e362a56290d0a312d303a37322e372e30283233382e382a56290d0a312d303a33312e372e30283030332e392a41290d0a312d303a35312e372e30283030312e372a41290d0a312d303a37312e372e30283030302e362a41290d0a21444432420d0a
2023-01-02 16:37:09.549 DEBUG (MainThread) [custom_components.amshan.sensor] Decoded meter message: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 37, 10), 'active_power_import_total': 19858318, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760337, 'active_power_import': 1329, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 451, 'active_power_import_l1': 926, 'active_power_export_l1': 0, 'active_power_import_l2': 297, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 41, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.4, 'voltage_l2': 238.6, 'voltage_l3': 238.8, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:37:09.549 DEBUG (MainThread) [custom_components.amshan.sensor] Received meter measures: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 37, 10), 'active_power_import_total': 19858318, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760337, 'active_power_import': 1329, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 451, 'active_power_import_l1': 926, 'active_power_export_l1': 0, 'active_power_import_l2': 297, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 41, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.4, 'voltage_l2': 238.6, 'voltage_l3': 238.8, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:37:09.550 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l1
2023-01-02 16:37:09.550 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l2
2023-01-02 16:37:09.551 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l3
2023-01-02 16:37:09.553 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_type_id
2023-01-02 16:37:09.554 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l2
2023-01-02 16:37:09.555 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_datetime
2023-01-02 16:37:09.556 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l3
2023-01-02 16:37:09.556 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l1
2023-01-02 16:37:09.557 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l1
2023-01-02 16:37:09.557 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l2
2023-01-02 16:37:09.558 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l3
2023-01-02 16:37:09.573 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l2
2023-01-02 16:37:09.573 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l3
2023-01-02 16:37:09.574 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l1
2023-01-02 16:37:09.577 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_import with state 1329
2023-01-02 16:37:09.578 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-voltage_l2 with state 238.6
2023-01-02 16:37:09.582 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-voltage_l3 with state 238.8
2023-01-02 16:37:09.584 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_import with state 0
2023-01-02 16:37:09.585 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-current_l3 with state 0.6
2023-01-02 16:37:09.586 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-meter_manufacturer_id with state LGF
2023-01-02 16:37:09.586 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_export with state 451
2023-01-02 16:37:09.588 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-current_l2 with state 1.7
2023-01-02 16:37:09.588 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-current_l1 with state 3.9
2023-01-02 16:37:09.589 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_export with state 0
2023-01-02 16:37:09.590 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-voltage_l1 with state 233.4
2023-01-02 16:37:09.591 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_export_total with state 4760.34
2023-01-02 16:37:09.593 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_import_total with state 405.82
2023-01-02 16:37:09.594 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_import_total with state 19858.32
2023-01-02 16:37:09.596 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_export_total with state 9088.29
2023-01-02 16:38:59.438 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2023-01-02 15:38:59.438664+00:00, QOS 0, retain flagg False, and payload length 704 received from topic Elmataren/raw from subscription to topic Elmataren/+
2023-01-02 16:38:59.450 DEBUG (MainThread) [custom_components.amshan.metercon] Got valid P1 message from topic Elmataren/raw: 2f4c474635453336300d0a0d0a302d303a312e302e302832333031303231363339303057290d0a312d303a312e382e302830303031393835382e3335382a6b5768290d0a312d303a322e382e302830303030393038382e3238362a6b5768290d0a312d303a332e382e302830303030303430352e3831392a6b56417268290d0a312d303a342e382e302830303030343736302e3335312a6b56417268290d0a312d303a312e372e3028303030312e3333362a6b57290d0a312d303a322e372e3028303030302e3030302a6b57290d0a312d303a332e372e3028303030302e3030302a6b564172290d0a312d303a342e372e3028303030302e3435322a6b564172290d0a312d303a32312e372e3028303030302e3932362a6b57290d0a312d303a32322e372e3028303030302e3030302a6b57290d0a312d303a34312e372e3028303030302e3330322a6b57290d0a312d303a34322e372e3028303030302e3030302a6b57290d0a312d303a36312e372e3028303030302e3130362a6b57290d0a312d303a36322e372e3028303030302e3030302a6b57290d0a312d303a32332e372e3028303030302e3030302a6b564172290d0a312d303a32342e372e3028303030302e3034322a6b564172290d0a312d303a34332e372e3028303030302e3030302a6b564172290d0a312d303a34342e372e3028303030302e3239342a6b564172290d0a312d303a36332e372e3028303030302e3030302a6b564172290d0a312d303a36342e372e3028303030302e3131352a6b564172290d0a312d303a33322e372e30283233332e312a56290d0a312d303a35322e372e30283233372e392a56290d0a312d303a37322e372e30283233382e382a56290d0a312d303a33312e372e30283030332e392a41290d0a312d303a35312e372e30283030312e372a41290d0a312d303a37312e372e30283030302e362a41290d0a21343746410d0a
2023-01-02 16:38:59.462 DEBUG (MainThread) [custom_components.amshan.sensor] Decoded meter message: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39), 'active_power_import_total': 19858358, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760351, 'active_power_import': 1336, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 452, 'active_power_import_l1': 926, 'active_power_export_l1': 0, 'active_power_import_l2': 302, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 42, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 294, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.1, 'voltage_l2': 237.9, 'voltage_l3': 238.8, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:38:59.463 DEBUG (MainThread) [custom_components.amshan.sensor] Received meter measures: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39), 'active_power_import_total': 19858358, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760351, 'active_power_import': 1336, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 452, 'active_power_import_l1': 926, 'active_power_export_l1': 0, 'active_power_import_l2': 302, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 42, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 294, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.1, 'voltage_l2': 237.9, 'voltage_l3': 238.8, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:38:59.463 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l1
2023-01-02 16:38:59.463 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l2
2023-01-02 16:38:59.464 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l3
2023-01-02 16:38:59.464 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_type_id
2023-01-02 16:38:59.464 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l2
2023-01-02 16:38:59.464 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_datetime
2023-01-02 16:38:59.465 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l3
2023-01-02 16:38:59.465 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l1
2023-01-02 16:38:59.465 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l1
2023-01-02 16:38:59.480 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l2
2023-01-02 16:38:59.480 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l3
2023-01-02 16:38:59.480 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l2
2023-01-02 16:38:59.481 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l3
2023-01-02 16:38:59.481 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l1
2023-01-02 16:38:59.482 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_import with state 1336
2023-01-02 16:38:59.483 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-voltage_l2 with state 237.9
2023-01-02 16:38:59.486 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-voltage_l3 with state 238.8
2023-01-02 16:38:59.488 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_import with state 0
2023-01-02 16:38:59.488 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-current_l3 with state 0.6
2023-01-02 16:38:59.490 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-meter_manufacturer_id with state LGF
2023-01-02 16:38:59.490 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_export with state 452
2023-01-02 16:38:59.502 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-current_l2 with state 1.7
2023-01-02 16:38:59.503 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-current_l1 with state 3.9
2023-01-02 16:38:59.504 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_export with state 0
2023-01-02 16:38:59.505 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-voltage_l1 with state 233.1
2023-01-02 16:38:59.506 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_export_total with state 4760.35
2023-01-02 16:38:59.514 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-reactive_power_import_total with state 405.82
2023-01-02 16:38:59.515 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_import_total with state 19858.36
2023-01-02 16:38:59.516 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{None}None-active_power_export_total with state 9088.29
2023-01-02 16:39:05.224 INFO (MainThread) [custom_components.amshan] Integrations is unloading.
2023-01-02 16:39:05.224 DEBUG (MainThread) [custom_components.amshan.metercon] Unsubscribe 1 MQTT topic(s): {'Elmataren/+'}
2023-01-02 16:39:05.228 DEBUG (MainThread) [custom_components.amshan.sensor] Processing loop cancelled.
2023-01-02 16:39:05.231 DEBUG (MainThread) [custom_components.amshan.metercon] Try to subscribe to 1 MQTT topic(s): {'Elmataren/+'}
2023-01-02 16:39:05.268 DEBUG (MainThread) [custom_components.amshan.metercon] Successfully subscribed to 1 MQTT topic(s): {'Elmataren/+'}
2023-01-02 16:39:05.269 DEBUG (MainThread) [custom_components.amshan] Configured ConnectionType.MQTT receiver.
2023-01-02 16:39:05.278 DEBUG (MainThread) [custom_components.amshan.sensor] Sensor async_setup_entry starting.
2023-01-02 16:39:05.279 DEBUG (MainThread) [custom_components.amshan.sensor] Sensor async_setup_entry ended.
2023-01-02 16:39:05.280 DEBUG (MainThread) [custom_components.amshan.sensor] Processing loop starting.
2023-01-02 16:39:05.281 DEBUG (MainThread) [custom_components.amshan] async_setup_entry complete.
2023-01-02 16:39:09.570 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2023-01-02 15:39:09.567320+00:00, QOS 0, retain flagg False, and payload length 704 received from topic Elmataren/raw from subscription to topic Elmataren/+
2023-01-02 16:39:09.590 DEBUG (MainThread) [custom_components.amshan.metercon] Got valid P1 message from topic Elmataren/raw: 2f4c474635453336300d0a0d0a302d303a312e302e302832333031303231363339313057290d0a312d303a312e382e302830303031393835382e3336322a6b5768290d0a312d303a322e382e302830303030393038382e3238362a6b5768290d0a312d303a332e382e302830303030303430352e3831392a6b56417268290d0a312d303a342e382e302830303030343736302e3335322a6b56417268290d0a312d303a312e372e3028303030312e3333382a6b57290d0a312d303a322e372e3028303030302e3030302a6b57290d0a312d303a332e372e3028303030302e3030302a6b564172290d0a312d303a342e372e3028303030302e3435322a6b564172290d0a312d303a32312e372e3028303030302e3932352a6b57290d0a312d303a32322e372e3028303030302e3030302a6b57290d0a312d303a34312e372e3028303030302e3330362a6b57290d0a312d303a34322e372e3028303030302e3030302a6b57290d0a312d303a36312e372e3028303030302e3130362a6b57290d0a312d303a36322e372e3028303030302e3030302a6b57290d0a312d303a32332e372e3028303030302e3030302a6b564172290d0a312d303a32342e372e3028303030302e3034322a6b564172290d0a312d303a34332e372e3028303030302e3030302a6b564172290d0a312d303a34342e372e3028303030302e3239352a6b564172290d0a312d303a36332e372e3028303030302e3030302a6b564172290d0a312d303a36342e372e3028303030302e3131352a6b564172290d0a312d303a33322e372e30283233322e392a56290d0a312d303a35322e372e30283233382e312a56290d0a312d303a37322e372e30283233382e352a56290d0a312d303a33312e372e30283030332e392a41290d0a312d303a35312e372e30283030312e372a41290d0a312d303a37312e372e30283030302e362a41290d0a21363836340d0a
2023-01-02 16:39:09.621 DEBUG (MainThread) [custom_components.amshan.sensor] Decoded meter message: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39, 10), 'active_power_import_total': 19858362, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760352, 'active_power_import': 1338, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 452, 'active_power_import_l1': 925, 'active_power_export_l1': 0, 'active_power_import_l2': 306, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 42, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 232.9, 'voltage_l2': 238.1, 'voltage_l3': 238.5, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:39:09.622 DEBUG (MainThread) [custom_components.amshan.sensor] Received meter measures: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39, 10), 'active_power_import_total': 19858362, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760352, 'active_power_import': 1338, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 452, 'active_power_import_l1': 925, 'active_power_export_l1': 0, 'active_power_import_l2': 306, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 42, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 232.9, 'voltage_l2': 238.1, 'voltage_l3': 238.5, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:39:09.622 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l1
2023-01-02 16:39:09.622 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l2
2023-01-02 16:39:09.630 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l3
2023-01-02 16:39:09.631 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_type_id
2023-01-02 16:39:09.631 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l2
2023-01-02 16:39:09.631 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_datetime
2023-01-02 16:39:09.632 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l3
2023-01-02 16:39:09.632 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l1
2023-01-02 16:39:09.633 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l1
2023-01-02 16:39:09.633 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l2
2023-01-02 16:39:09.633 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l3
2023-01-02 16:39:09.634 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l2
2023-01-02 16:39:09.634 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l3
2023-01-02 16:39:09.634 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l1
2023-01-02 16:39:09.634 DEBUG (MainThread) [custom_components.amshan.sensor] Register new entities for measures: ['reactive_power_export_total', 'active_power_import', 'voltage_l2', 'voltage_l3', 'reactive_power_import', 'current_l3', 'meter_manufacturer_id', 'reactive_power_export', 'reactive_power_import_total', 'current_l2', 'active_power_import_total', 'current_l1', 'active_power_export', 'voltage_l1', 'active_power_export_total']
2023-01-02 16:39:19.774 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2023-01-02 15:39:19.773770+00:00, QOS 0, retain flagg False, and payload length 704 received from topic Elmataren/raw from subscription to topic Elmataren/+
2023-01-02 16:39:19.788 DEBUG (MainThread) [custom_components.amshan.metercon] Got valid P1 message from topic Elmataren/raw: 2f4c474635453336300d0a0d0a302d303a312e302e302832333031303231363339323057290d0a312d303a312e382e302830303031393835382e3336362a6b5768290d0a312d303a322e382e302830303030393038382e3238362a6b5768290d0a312d303a332e382e302830303030303430352e3831392a6b56417268290d0a312d303a342e382e302830303030343736302e3335342a6b56417268290d0a312d303a312e372e3028303030312e3332392a6b57290d0a312d303a322e372e3028303030302e3030302a6b57290d0a312d303a332e372e3028303030302e3030302a6b564172290d0a312d303a342e372e3028303030302e3435302a6b564172290d0a312d303a32312e372e3028303030302e3932342a6b57290d0a312d303a32322e372e3028303030302e3030302a6b57290d0a312d303a34312e372e3028303030302e3239382a6b57290d0a312d303a34322e372e3028303030302e3030302a6b57290d0a312d303a36312e372e3028303030302e3130362a6b57290d0a312d303a36322e372e3028303030302e3030302a6b57290d0a312d303a32332e372e3028303030302e3030302a6b564172290d0a312d303a32342e372e3028303030302e3034312a6b564172290d0a312d303a34332e372e3028303030302e3030302a6b564172290d0a312d303a34342e372e3028303030302e3239332a6b564172290d0a312d303a36332e372e3028303030302e3030302a6b564172290d0a312d303a36342e372e3028303030302e3131352a6b564172290d0a312d303a33322e372e30283233332e302a56290d0a312d303a35322e372e30283233372e382a56290d0a312d303a37322e372e30283233382e342a56290d0a312d303a33312e372e30283030332e392a41290d0a312d303a35312e372e30283030312e372a41290d0a312d303a37312e372e30283030302e362a41290d0a21443930300d0a
2023-01-02 16:39:19.804 DEBUG (MainThread) [custom_components.amshan.sensor] Decoded meter message: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39, 20), 'active_power_import_total': 19858366, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760354, 'active_power_import': 1329, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 450, 'active_power_import_l1': 924, 'active_power_export_l1': 0, 'active_power_import_l2': 298, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 41, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 293, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.0, 'voltage_l2': 237.8, 'voltage_l3': 238.4, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:39:19.804 DEBUG (MainThread) [custom_components.amshan.sensor] Received meter measures: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39, 20), 'active_power_import_total': 19858366, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760354, 'active_power_import': 1329, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 450, 'active_power_import_l1': 924, 'active_power_export_l1': 0, 'active_power_import_l2': 298, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 41, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 293, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.0, 'voltage_l2': 237.8, 'voltage_l3': 238.4, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:39:19.806 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l1
2023-01-02 16:39:19.806 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l2
2023-01-02 16:39:19.807 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l3
2023-01-02 16:39:19.807 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_type_id
2023-01-02 16:39:19.807 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l2
2023-01-02 16:39:19.808 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_datetime
2023-01-02 16:39:19.810 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l3
2023-01-02 16:39:19.810 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l1
2023-01-02 16:39:19.811 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l1
2023-01-02 16:39:19.811 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l2
2023-01-02 16:39:19.812 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l3
2023-01-02 16:39:19.813 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l2
2023-01-02 16:39:19.814 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l3
2023-01-02 16:39:19.815 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l1
2023-01-02 16:39:19.819 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_import with state 1329
2023-01-02 16:39:19.821 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-voltage_l2 with state 237.8
2023-01-02 16:39:19.822 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-voltage_l3 with state 238.4
2023-01-02 16:39:19.823 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_import with state 0
2023-01-02 16:39:19.824 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-current_l3 with state 0.6
2023-01-02 16:39:19.825 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-meter_manufacturer_id with state LGF
2023-01-02 16:39:19.826 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_export with state 450
2023-01-02 16:39:19.827 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-current_l2 with state 1.7
2023-01-02 16:39:19.828 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-current_l1 with state 3.9
2023-01-02 16:39:19.829 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_export with state 0
2023-01-02 16:39:19.829 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-voltage_l1 with state 233.0
2023-01-02 16:39:19.831 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_export_total with state 4760.35
2023-01-02 16:39:19.840 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_import_total with state 405.82
2023-01-02 16:39:19.841 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_import_total with state 19858.37
2023-01-02 16:39:19.842 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_export_total with state 9088.29
2023-01-02 16:39:29.937 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2023-01-02 15:39:29.937159+00:00, QOS 0, retain flagg False, and payload length 702 received from topic Elmataren/raw from subscription to topic Elmataren/+
2023-01-02 16:39:29.955 DEBUG (MainThread) [custom_components.amshan.metercon] Got valid P1 message from topic Elmataren/raw: 2f4c474635453336300d0a0d0a302d303a312e302e302832333031303231363339333057290d0a312d303a312e382e302830303031393835382e3336392a6b5768290d0a312d303a322e382e302830303030393038382e3238362a6b5768290d0a312d303a332e382e302830303030303430352e3831392a6b56417268290d0a312d303a342e382e302830303030343736302e3335352a6b56417268290d0a312d303a312e372e3028303030312e3333352a6b57290d0a312d303a322e372e3028303030302e3030302a6b57290d0a312d303a332e372e3028303030302e3030302a6b564172290d0a312d303a342e372e3028303030302e3435322a6b564172290d0a312d303a32312e372e3028303030302e3932372a6b57290d0a312d303a32322e372e3028303030302e3030302a6b57290d0a312d303a34312e372e3028303030302e3330312a6b57290d0a312d303a34322e372e3028303030302e3030302a6b57290d0a312d303a36312e372e3028303030302e3130362a6b57290d0a312d303a36322e372e3028303030302e3030302a6b57290d0a312d303a32332e372e3028303030302e3030302a6b564172290d0a312d303a32342e372e3028303030302e3034312a6b564172290d0a312d303a34332e372e3028303030302e3030302a6b564172290d0a312d303a34342e372e3028303030302e3239352a6b564172290d0a312d303a36332e372e3028303030302e3030302a6b564172290d0a312d303a36342e372e3028303030302e3131352a6b564172290d0a312d303a33322e372e30283233332e312a56290d0a312d303a35322e372e30283233382e312a56290d0a312d303a37322e372e30283233392e312a56290d0a312d303a33312e372e30283030332e392a41290d0a312d303a35312e372e30283030312e372a41290d0a312d303a37312e372e30283030302e362a41290d0a2131433538
2023-01-02 16:39:29.973 DEBUG (MainThread) [custom_components.amshan.sensor] Decoded meter message: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39, 30), 'active_power_import_total': 19858369, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760355, 'active_power_import': 1335, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 452, 'active_power_import_l1': 927, 'active_power_export_l1': 0, 'active_power_import_l2': 301, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 41, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.1, 'voltage_l2': 238.1, 'voltage_l3': 239.1, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:39:29.976 DEBUG (MainThread) [custom_components.amshan.sensor] Received meter measures: {'meter_datetime': datetime.datetime(2023, 1, 2, 16, 39, 30), 'active_power_import_total': 19858369, 'active_power_export_total': 9088286, 'reactive_power_import_total': 405819, 'reactive_power_export_total': 4760355, 'active_power_import': 1335, 'active_power_export': 0, 'reactive_power_import': 0, 'reactive_power_export': 452, 'active_power_import_l1': 927, 'active_power_export_l1': 0, 'active_power_import_l2': 301, 'active_power_export_l2': 0, 'active_power_import_l3': 106, 'active_power_export_l3': 0, 'reactive_power_import_l1': 0, 'reactive_power_export_l1': 41, 'reactive_power_import_l2': 0, 'reactive_power_export_l2': 295, 'reactive_power_import_l3': 0, 'reactive_power_export_l3': 115, 'voltage_l1': 233.1, 'voltage_l2': 238.1, 'voltage_l3': 239.1, 'current_l1': 3.9, 'current_l2': 1.7, 'current_l3': 0.6, 'meter_manufacturer_id': 'LGF', 'meter_type_id': 'E360'}
2023-01-02 16:39:29.977 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l1
2023-01-02 16:39:29.977 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l2
2023-01-02 16:39:29.978 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l3
2023-01-02 16:39:29.978 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_type_id
2023-01-02 16:39:29.979 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l2
2023-01-02 16:39:29.979 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id meter_datetime
2023-01-02 16:39:29.980 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l3
2023-01-02 16:39:29.980 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_import_l1
2023-01-02 16:39:29.990 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l1
2023-01-02 16:39:29.991 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_import_l2
2023-01-02 16:39:29.992 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l3
2023-01-02 16:39:29.992 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l2
2023-01-02 16:39:29.993 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id active_power_export_l3
2023-01-02 16:39:29.993 DEBUG (MainThread) [custom_components.amshan.sensor] Ignore unhandled measure_id reactive_power_export_l1
2023-01-02 16:39:29.994 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_import with state 1335
2023-01-02 16:39:30.003 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-voltage_l2 with state 238.1
2023-01-02 16:39:30.006 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-voltage_l3 with state 239.1
2023-01-02 16:39:30.008 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_import with state 0
2023-01-02 16:39:30.015 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-current_l3 with state 0.6
2023-01-02 16:39:30.016 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-meter_manufacturer_id with state LGF
2023-01-02 16:39:30.017 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_export with state 452
2023-01-02 16:39:30.019 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-current_l2 with state 1.7
2023-01-02 16:39:30.048 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-current_l1 with state 3.9
2023-01-02 16:39:30.049 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_export with state 0
2023-01-02 16:39:30.050 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-voltage_l1 with state 233.1
2023-01-02 16:39:30.051 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_export_total with state 4760.36
2023-01-02 16:39:30.059 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-reactive_power_import_total with state 405.82
2023-01-02 16:39:30.060 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_import_total with state 19858.37
2023-01-02 16:39:30.061 DEBUG (MainThread) [custom_components.amshan.sensor] Update sensor CEID-817535a1bbd7f129364121e0cbff5250-{'LGF'}E360-active_power_export_total with state 9088.29