krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
387 stars 46 forks source link

MSS305 doesnt have Power/Energy Sensors in Home assistant #450

Closed maxhaedicke closed 3 weeks ago

maxhaedicke commented 3 weeks ago

Version of the custom_component

5.0.4

Configuration


default HACS installation with conneted Meross Cloudservice 

Describe the bug

The MSS305 device does not have Power/Energy Sensors available in Home Assistant. I expected to see sensors for monitoring power usage and energy consumption, but these sensors are missing from the integration.

image

I am doing something wrong?

krahabb commented 3 weeks ago

Hello @maxhaedicke, I guess you're not wrong...likely this device exposes the energy data on a new message format which meross_lan is unable to detect/parse.

If you could share a 'Download diagnostics' for the device I'll try having a look at it so to inspect which (if any) new commands are available for the device or if there's something else suspicious.

It might be necessary to collect a 'diagnostic trace' (more advanced feature embedded in meross_lan about querying and tracing the device) but as for now we could start with the simpler 'Download diagnostics' from the HA UI

maxhaedicke commented 3 weeks ago

Hi @krahabb, thanks for your Help. Here is the diagnostics Log:

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.5.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.2",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.6.28-haos-raspi",
    "supervisor": "2024.06.0",
    "host_os": "Home Assistant OS 12.3",
    "docker_version": "25.0.5",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "meross_lan": {
      "documentation": "https://github.com/krahabb/meross_lan",
      "version": "5.1.0",
      "requirements": []
    },
    "hochwasserportal": {
      "documentation": "https://github.com/stephan192/hochwasserportal",
      "version": "1.0.0",
      "requirements": [
        "lhpapi==1.0.2"
      ]
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "meross_lan",
    "name": "Meross LAN",
    "after_dependencies": [
      "mqtt",
      "dhcp",
      "recorder",
      "persistent_notification"
    ],
    "codeowners": [
      "@krahabb"
    ],
    "config_flow": true,
    "dhcp": [
      {
        "hostname": "*",
        "macaddress": "48E1E9*"
      },
      {
        "hostname": "*",
        "macaddress": "34298F1*"
      },
      {
        "registered_devices": true
      }
    ],
    "documentation": "https://github.com/krahabb/meross_lan",
    "integration_type": "hub",
    "iot_class": "local_polling",
    "issue_tracker": "https://github.com/krahabb/meross_lan/issues",
    "loggers": [
      "custom_components.meross_lan"
    ],
    "mqtt": [
      "/appliance/+/publish"
    ],
    "requirements": [],
    "version": "5.0.4",
    "is_built_in": false
  },
  "data": {
    "device_id": "###############################5",
    "payload": {
      "all": {
        "system": {
          "hardware": {
            "type": "mss305",
            "subType": "un",
            "version": "8.0.0",
            "chipType": "rtl8720cf",
            "uuid": "###############################5",
            "macAddress": "################1"
          },
          "firmware": {
            "version": "8.3.12",
            "compileTime": "2024/01/03-14:14:46",
            "encrypt": 1,
            "wifiMac": "################0",
            "innerIp": "############1",
            "server": "###################1",
            "port": "@1",
            "userId": "@0"
          },
          "time": {
            "timestamp": 1717757909,
            "timezone": "Europe/Berlin",
            "timeRule": [
              [
                1711846800,
                7200,
                1
              ],
              [
                1729990800,
                3600,
                0
              ],
              [
                1743296400,
                7200,
                1
              ],
              [
                1761440400,
                3600,
                0
              ],
              [
                1774746000,
                7200,
                1
              ],
              [
                1792890000,
                3600,
                0
              ],
              [
                1806195600,
                7200,
                1
              ],
              [
                1824944400,
                3600,
                0
              ],
              [
                1837645200,
                7200,
                1
              ],
              [
                1856394000,
                3600,
                0
              ],
              [
                1869094800,
                7200,
                1
              ],
              [
                1887843600,
                3600,
                0
              ],
              [
                1901149200,
                7200,
                1
              ],
              [
                1919293200,
                3600,
                0
              ],
              [
                1932598800,
                7200,
                1
              ],
              [
                1950742800,
                3600,
                0
              ],
              [
                1964048400,
                7200,
                1
              ],
              [
                1982797200,
                3600,
                0
              ],
              [
                1995498000,
                7200,
                1
              ],
              [
                2014246800,
                3600,
                0
              ]
            ]
          },
          "online": {
            "status": 1,
            "bindId": "ymP7LLoZ2cYEhxOU",
            "who": 1
          }
        },
        "digest": {
          "togglex": [
            {
              "channel": 0,
              "onoff": 1,
              "lmTime": 1717757274
            }
          ]
        }
      },
      "ability": {
        "Appliance.Config.Key": {},
        "Appliance.Config.WifiList": {},
        "Appliance.Config.Wifi": {},
        "Appliance.Config.WifiX": {},
        "Appliance.Config.Trace": {},
        "Appliance.Config.Info": {},
        "Appliance.Config.OverTemp": {},
        "Appliance.System.All": {},
        "Appliance.System.Hardware": {},
        "Appliance.System.Firmware": {},
        "Appliance.System.Debug": {},
        "Appliance.System.Online": {},
        "Appliance.System.Time": {},
        "Appliance.System.Clock": {},
        "Appliance.System.Ability": {},
        "Appliance.System.Runtime": {},
        "Appliance.System.Report": {},
        "Appliance.System.Position": {},
        "Appliance.System.DNDMode": {},
        "Appliance.Control.Multiple": {
          "maxCmdNum": 3
        },
        "Appliance.Control.Bind": {},
        "Appliance.Control.Unbind": {},
        "Appliance.Control.Upgrade": {},
        "Appliance.Control.OverTemp": {},
        "Appliance.Control.ConsumptionX": {},
        "Appliance.Control.ConsumptionH": {},
        "Appliance.Control.Electricity": {},
        "Appliance.Control.ConsumptionConfig": {},
        "Appliance.Control.ToggleX": {},
        "Appliance.Control.TimerX": {
          "sunOffsetSupport": 1
        },
        "Appliance.Control.TriggerX": {},
        "Appliance.Config.StandbyKiller": {},
        "Appliance.Control.AlertReport": {},
        "Appliance.Digest.TriggerX": {},
        "Appliance.Digest.TimerX": {}
      }
    },
    "key": "###############################0",
    "device": {
      "class": "ToggleXMixinMerossDevice",
      "conf_protocol": "auto",
      "pref_protocol": "http",
      "curr_protocol": "http",
      "MQTT": {
        "cloud_profile": true,
        "locally_active": false,
        "mqtt_connection": true,
        "mqtt_connected": true,
        "mqtt_publish": true,
        "mqtt_active": true
      },
      "HTTP": {
        "http": true,
        "http_active": true
      },
      "polling_period": 30,
      "polling_strategies": {
        "Appliance.System.All": 1717972839.6612194,
        "Appliance.System.DNDMode": 1718006083.5312948,
        "Appliance.System.Runtime": 1718005963.202719,
        "Appliance.System.Debug": 0
      },
      "device_response_size_min": 2247,
      "device_response_size_max": 5000
    },
    "trace": [
      [
        "time",
        "rxtx",
        "protocol",
        "method",
        "namespace",
        "data"
      ],
      [
        "2024/06/10 - 09:55:00",
        "",
        "auto",
        "GETACK",
        "Appliance.System.All",
        {
          "system": {
            "hardware": {
              "type": "mss305",
              "subType": "un",
              "version": "8.0.0",
              "chipType": "rtl8720cf",
              "uuid": "###############################5",
              "macAddress": "################1"
            },
            "firmware": {
              "version": "8.3.12",
              "compileTime": "2024/01/03-14:14:46",
              "encrypt": 1,
              "wifiMac": "################0",
              "innerIp": "############1",
              "server": "###################1",
              "port": "@1",
              "userId": "@0"
            },
            "time": {
              "timestamp": 1717972839,
              "timezone": "Europe/Berlin",
              "timeRule": [
                [
                  1711846800,
                  7200,
                  1
                ],
                [
                  1729990800,
                  3600,
                  0
                ],
                [
                  1743296400,
                  7200,
                  1
                ],
                [
                  1761440400,
                  3600,
                  0
                ],
                [
                  1774746000,
                  7200,
                  1
                ],
                [
                  1792890000,
                  3600,
                  0
                ],
                [
                  1806195600,
                  7200,
                  1
                ],
                [
                  1824944400,
                  3600,
                  0
                ],
                [
                  1837645200,
                  7200,
                  1
                ],
                [
                  1856394000,
                  3600,
                  0
                ],
                [
                  1869094800,
                  7200,
                  1
                ],
                [
                  1887843600,
                  3600,
                  0
                ],
                [
                  1901149200,
                  7200,
                  1
                ],
                [
                  1919293200,
                  3600,
                  0
                ],
                [
                  1932598800,
                  7200,
                  1
                ],
                [
                  1950742800,
                  3600,
                  0
                ],
                [
                  1964048400,
                  7200,
                  1
                ],
                [
                  1982797200,
                  3600,
                  0
                ],
                [
                  1995498000,
                  7200,
                  1
                ],
                [
                  2014246800,
                  3600,
                  0
                ]
              ]
            },
            "online": {
              "status": 1,
              "bindId": "ymP7LLoZ2cYEhxOU",
              "who": 1
            }
          },
          "digest": {
            "togglex": [
              {
                "channel": 0,
                "onoff": 0,
                "lmTime": 1717758822
              }
            ]
          }
        }
      ],
      [
        "2024/06/10 - 09:55:00",
        "",
        "auto",
        "GETACK",
        "Appliance.System.Ability",
        {
          "Appliance.Config.Key": {},
          "Appliance.Config.WifiList": {},
          "Appliance.Config.Wifi": {},
          "Appliance.Config.WifiX": {},
          "Appliance.Config.Trace": {},
          "Appliance.Config.Info": {},
          "Appliance.Config.OverTemp": {},
          "Appliance.System.All": {},
          "Appliance.System.Hardware": {},
          "Appliance.System.Firmware": {},
          "Appliance.System.Debug": {},
          "Appliance.System.Online": {},
          "Appliance.System.Time": {},
          "Appliance.System.Clock": {},
          "Appliance.System.Ability": {},
          "Appliance.System.Runtime": {},
          "Appliance.System.Report": {},
          "Appliance.System.Position": {},
          "Appliance.System.DNDMode": {},
          "Appliance.Control.Multiple": {
            "maxCmdNum": 3
          },
          "Appliance.Control.Bind": {},
          "Appliance.Control.Unbind": {},
          "Appliance.Control.Upgrade": {},
          "Appliance.Control.OverTemp": {},
          "Appliance.Control.ConsumptionX": {},
          "Appliance.Control.ConsumptionH": {},
          "Appliance.Control.Electricity": {},
          "Appliance.Control.ConsumptionConfig": {},
          "Appliance.Control.ToggleX": {},
          "Appliance.Control.TimerX": {
            "sunOffsetSupport": 1
          },
          "Appliance.Control.TriggerX": {},
          "Appliance.Config.StandbyKiller": {},
          "Appliance.Control.AlertReport": {},
          "Appliance.Digest.TriggerX": {},
          "Appliance.Digest.TimerX": {}
        }
      ],
      [
        "2024/06/10 - 09:55:00",
        "TX",
        "http",
        "GET",
        "Appliance.Config.Info",
        {
          "info": {}
        }
      ],
      [
        "2024/06/10 - 09:55:00",
        "RX",
        "http",
        "GETACK",
        "Appliance.Config.Info",
        {
          "info": {
            "homekit": {}
          }
        }
      ],
      [
        "2024/06/10 - 09:55:00",
        "TX",
        "http",
        "GET",
        "Appliance.Config.OverTemp",
        {
          "overTemp": {}
        }
      ],
      [
        "2024/06/10 - 09:55:01",
        "RX",
        "http",
        "GETACK",
        "Appliance.Config.OverTemp",
        {
          "overTemp": {
            "enable": 1,
            "type": 1
          }
        }
      ],
      [
        "2024/06/10 - 09:55:01",
        "",
        "auto",
        "LOG",
        "debug",
        "Handler undefined for method:GETACK namespace:Appliance.Config.OverTemp payload:{'overTemp': {'enable': 1, 'type': 1}}"
      ],
      [
        "2024/06/10 - 09:55:01",
        "TX",
        "http",
        "GET",
        "Appliance.System.Debug",
        {
          "debug": {}
        }
      ],
      [
        "2024/06/10 - 09:55:01",
        "RX",
        "http",
        "GETACK",
        "Appliance.System.Debug",
        {
          "debug": {
            "system": {
              "version": "8.3.12",
              "sysUpTime": "15h16m27s",
              "UTC": 1718006100,
              "localTimeOffset": 7200,
              "localTime": "Mon Jun 10 09:55:00 2024",
              "suncalc": "7:55;20:3",
              "memTotal": 156448,
              "memFree": 21944,
              "memMini": 8984
            },
            "network": {
              "linkStatus": "connected",
              "snr": 29,
              "channel": 11,
              "signal": 60,
              "rssi": -66,
              "ssid": "############0",
              "gatewayMac": "################0",
              "innerIp": "############1",
              "wifiDisconnectCount": 0,
              "wifiDisconnectDetail": {
                "totalCount": 0,
                "detials": []
              }
            },
            "cloud": {
              "linkStatus": "connected",
              "activeServer": "###################1",
              "mainServer": "###################1",
              "mainPort": "@1",
              "secondServer": "#2",
              "secondPort": "@0",
              "userId": "@0",
              "sysConnectTime": "Sun Jun  9 22:41:21 2024",
              "sysOnlineTime": "9h13m39s",
              "sysDisconnectCount": 5,
              "iotDisconnectDetail": {
                "totalCount": 5,
                "detials": [
                  {
                    "sysUptime": 9522,
                    "timestamp": 1717960635
                  },
                  {
                    "sysUptime": 10283,
                    "timestamp": 1717961396
                  },
                  {
                    "sysUptime": 12757,
                    "timestamp": 1717963870
                  },
                  {
                    "sysUptime": 17625,
                    "timestamp": 1717968738
                  },
                  {
                    "sysUptime": 21766,
                    "timestamp": 1717972880
                  }
                ]
              }
            }
          }
        }
      ],
      [
        "2024/06/10 - 09:55:01",
        "TX",
        "http",
        "GET",
        "Appliance.System.Runtime",
        {
          "runtime": {}
        }
      ],
      [
        "2024/06/10 - 09:55:01",
        "RX",
        "http",
        "GETACK",
        "Appliance.System.Runtime",
        {
          "runtime": {
            "signal": 60
          }
        }
      ],
      [
        "2024/06/10 - 09:55:01",
        "TX",
        "http",
        "GET",
        "Appliance.Control.OverTemp",
        {
          "overTemp": {}
        }
      ],
      [
        "2024/06/10 - 09:55:01",
        "",
        "auto",
        "LOG",
        "debug",
        "HTTP ERROR GET Appliance.Control.OverTemp (messageId:83e5fc313b2b4436b9a7df99cba1abbe ServerDisconnectedError:Server disconnected attempt:0)"
      ],
      [
        "2024/06/10 - 09:55:01",
        "TX",
        "http",
        "PUSH",
        "Appliance.Control.OverTemp",
        {}
      ],
      [
        "2024/06/10 - 09:55:01",
        "",
        "auto",
        "LOG",
        "debug",
        "HTTP ERROR PUSH Appliance.Control.OverTemp (messageId:835b3ab9e4b64837815cc5395ec6a910 ServerDisconnectedError:Server disconnected attempt:0)"
      ],
      [
        "2024/06/10 - 09:55:02",
        "TX",
        "http",
        "GET",
        "Appliance.Control.ConsumptionX",
        {
          "consumptionx": []
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "RX",
        "http",
        "GETACK",
        "Appliance.Control.ConsumptionX",
        {
          "consumptionx": [
            {
              "date": "2024-06-07",
              "time": 1717758255,
              "value": 0
            },
            {
              "date": "2024-06-09",
              "time": 1717970281,
              "value": 0
            },
            {
              "date": "2024-06-10",
              "time": 1718005652,
              "value": 0
            }
          ]
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "",
        "auto",
        "LOG",
        "debug",
        "Handler undefined for method:GETACK namespace:Appliance.Control.ConsumptionX payload:{'consumptionx': [{'date': '2024-06-07', 'time': 1717758255, 'value': 0}, {'date': '2024-06-09', 'time': 1717970281, 'value': 0}, {'date': '2024-06-10', 'time': 1718005652, 'value': 0}]}"
      ],
      [
        "2024/06/10 - 09:55:02",
        "TX",
        "http",
        "GET",
        "Appliance.Control.ConsumptionH",
        {
          "consumptionH": {}
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "RX",
        "http",
        "GETACK",
        "Appliance.Control.ConsumptionH",
        {
          "consumptionH": []
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "",
        "auto",
        "LOG",
        "debug",
        "Handler undefined for method:GETACK namespace:Appliance.Control.ConsumptionH payload:{'consumptionH': []}"
      ],
      [
        "2024/06/10 - 09:55:02",
        "TX",
        "http",
        "GET",
        "Appliance.Control.ConsumptionH",
        {
          "consumptionH": [
            {
              "channel": 0
            }
          ]
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "RX",
        "http",
        "GETACK",
        "Appliance.Control.ConsumptionH",
        {
          "consumptionH": [
            {
              "data": [
                {
                  "timestamp": 1717973941,
                  "value": 0
                },
                {
                  "timestamp": 1717977540,
                  "value": 0
                },
                {
                  "timestamp": 1717981141,
                  "value": 0
                },
                {
                  "timestamp": 1717984741,
                  "value": 0
                },
                {
                  "timestamp": 1717988341,
                  "value": 0
                },
                {
                  "timestamp": 1717991942,
                  "value": 0
                },
                {
                  "timestamp": 1717995542,
                  "value": 0
                },
                {
                  "timestamp": 1717999162,
                  "value": 0
                },
                {
                  "timestamp": 1718002742,
                  "value": 0
                },
                {
                  "timestamp": 1718005652,
                  "value": 0
                },
                {
                  "timestamp": 1717757945,
                  "value": 0
                },
                {
                  "timestamp": 1717758255,
                  "value": 0
                },
                {
                  "timestamp": 1717952349,
                  "value": 0
                },
                {
                  "timestamp": 1717955940,
                  "value": 0
                },
                {
                  "timestamp": 1717959549,
                  "value": 0
                },
                {
                  "timestamp": 1717963140,
                  "value": 0
                },
                {
                  "timestamp": 1717966749,
                  "value": 0
                },
                {
                  "timestamp": 1717970011,
                  "value": 0
                }
              ],
              "channel": 0,
              "total": 0
            }
          ]
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "",
        "auto",
        "LOG",
        "debug",
        "Handler undefined for method:GETACK namespace:Appliance.Control.ConsumptionH payload:{'consumptionH': [{'data': [{'timestamp': 1717973941, 'value': 0}, {'timestamp': 1717977540, 'value': 0}, {'timestamp': 1717981141, 'value': 0}, {'timestamp': 1717984741, 'value': 0}, {'timestamp': 1717988341, 'value': 0}, {'timestamp': 1717991942, 'value': 0}, {'timestamp': 1717995542, 'value': 0}, {'timestamp': 1717999162, 'value': 0}, {'timestamp': 1718002742, 'value': 0}, {'timestamp': 1718005652, 'value': 0}, {'timestamp': 1717757945, 'value': 0}, {'timestamp': 1717758255, 'value': 0}, {'timestamp': 1717952349, 'value': 0}, {'timestamp': 1717955940, 'value': 0}, {'timestamp': 1717959549, 'value': 0}, {'timestamp': 1717963140, 'value': 0}, {'timestamp': 1717966749, 'value': 0}, {'timestamp': 1717970011, 'value': 0}], 'channel': 0, 'total': 0}]}"
      ],
      [
        "2024/06/10 - 09:55:02",
        "TX",
        "http",
        "GET",
        "Appliance.Control.Electricity",
        {
          "electricity": {}
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "RX",
        "http",
        "GETACK",
        "Appliance.Control.Electricity",
        {
          "electricity": {
            "channel": 0,
            "current": 0,
            "voltage": 2368,
            "power": 0,
            "config": {
              "voltageRatio": 188,
              "electricityRatio": 98,
              "maxElectricityCurrent": 17000
            }
          }
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "",
        "auto",
        "LOG",
        "debug",
        "Handler undefined for method:GETACK namespace:Appliance.Control.Electricity payload:{'electricity': {'channel': 0, 'current': 0, 'voltage': 2368, 'power': 0, 'config': {'voltageRatio': 188, 'electricityRatio': 98, 'maxElectricityCurrent': 17000}}}"
      ],
      [
        "2024/06/10 - 09:55:02",
        "TX",
        "http",
        "GET",
        "Appliance.Control.ConsumptionConfig",
        {
          "consumptionConfig": {}
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "RX",
        "http",
        "GETACK",
        "Appliance.Control.ConsumptionConfig",
        {
          "config": {
            "voltageRatio": 188,
            "electricityRatio": 98,
            "maxElectricityCurrent": 17000
          }
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "",
        "auto",
        "LOG",
        "debug",
        "Handler undefined for method:GETACK namespace:Appliance.Control.ConsumptionConfig payload:{'config': {'voltageRatio': 188, 'electricityRatio': 98, 'maxElectricityCurrent': 17000}}"
      ],
      [
        "2024/06/10 - 09:55:02",
        "TX",
        "http",
        "GET",
        "Appliance.Control.ToggleX",
        {
          "togglex": []
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "RX",
        "http",
        "GETACK",
        "Appliance.Control.ToggleX",
        {
          "channel": 4294967295,
          "togglex": [
            {
              "channel": 0,
              "onoff": 0,
              "lmTime": 1718006097
            }
          ]
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "TX",
        "http",
        "GET",
        "Appliance.Config.StandbyKiller",
        {
          "standbyKiller": {}
        }
      ],
      [
        "2024/06/10 - 09:55:02",
        "",
        "auto",
        "LOG",
        "debug",
        "HTTP ERROR GET Appliance.Config.StandbyKiller (messageId:3191a07048674840ad8d0a4d5b1146ec ServerDisconnectedError:Server disconnected attempt:0)"
      ],
      [
        "2024/06/10 - 09:55:03",
        "TX",
        "http",
        "PUSH",
        "Appliance.Config.StandbyKiller",
        {}
      ],
      [
        "2024/06/10 - 09:55:03",
        "RX",
        "http",
        "PUSH",
        "Appliance.Config.StandbyKiller",
        {
          "config": [
            {
              "channel": 0,
              "power": 0,
              "time": 300,
              "enable": 2,
              "alert": 2
            }
          ]
        }
      ],
      [
        "2024/06/10 - 09:55:03",
        "",
        "auto",
        "LOG",
        "debug",
        "Handler undefined for method:PUSH namespace:Appliance.Config.StandbyKiller payload:{'config': [{'channel': 0, 'power': 0, 'time': 300, 'enable': 2, 'alert': 2}]}"
      ],
      [
        "2024/06/10 - 09:55:03",
        "TX",
        "http",
        "GET",
        "Appliance.Control.AlertReport",
        {
          "alertReport": {}
        }
      ],
      [
        "2024/06/10 - 09:55:03",
        "",
        "auto",
        "LOG",
        "debug",
        "HTTP ERROR GET Appliance.Control.AlertReport (messageId:cafa3603326c43cbb6b118fbda1c4fbc ServerDisconnectedError:Server disconnected attempt:0)"
      ],
      [
        "2024/06/10 - 09:55:03",
        "TX",
        "http",
        "PUSH",
        "Appliance.Control.AlertReport",
        {}
      ],
      [
        "2024/06/10 - 09:55:04",
        "",
        "auto",
        "LOG",
        "debug",
        "HTTP ERROR PUSH Appliance.Control.AlertReport (messageId:d439820dfc9b4336a35307d6758e034e ServerDisconnectedError:Server disconnected attempt:0)"
      ]
    ]
  }
}
krahabb commented 3 weeks ago

Hello @maxhaedicke, There should be some errors during initialization of the device (so that it is only partially initialized) since, by the look of the trace, your mss305 should be easily detected with energy/power data too, but your 'device instance' is totally missing support for this.

I see you're on an old release (meross_lan 5.0.4) so I suggest you to update to the latest and see if it fixes it.

At any rate, the trace reports '0' energy consumption for the past days so I might guess there's also a problem with the device itself. This kind of issue is pretty common on Meross metering devices and it usually has to do with the device having an incorrect timezone set or the device being unable to query some 'outside' NTP servers in order to get a reliable time to work with.

maxhaedicke commented 3 weeks ago

Hello @krahabb, image Thanks for your tipps, now it's working!