AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.75k stars 416 forks source link

Add S60TPF to documentation #1514

Open SirTeddyBear opened 3 weeks ago

SirTeddyBear commented 3 weeks ago

I tested this device for several months, it works perfectly in local and cloud mode.

AlexxIT commented 3 weeks ago

Can you share device diagnostics?

SirTeddyBear commented 3 weeks ago
`{
  "home_assistant": {
    "installation_type": "Unknown",
    "version": "2024.10.4",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": false,
    "arch": "aarch64",
    "timezone": "Europe/Rome",
    "os_name": "private",
    "os_version": "rpt-rpi",
    "run_as_root": false
  },
  "custom_components": {
    "sonoff": {
      "documentation": "https://github.com/AlexxIT/SonoffLAN",
      "version": "3.8.1",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    }
  },
  "integration_manifest": {
    "domain": "sonoff",
    "name": "Sonoff",
    "codeowners": [
      "AlexxIT"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "zeroconf"
    ],
    "documentation": "https://github.com/AlexxIT/SonoffLAN",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/AlexxIT/SonoffLAN/issues",
    "requirements": [
      "pycryptodome>=3.6.6"
    ],
    "version": "3.8.1",
    "is_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 0.0003785898443311453
    },
    "01J4Y5NNJ4NYSCKPVN0S2D0E6A": {
      "wait_import_platforms": -0.00025512720458209515,
      "wait_base_component": -0.0016903001815080643,
      "config_entry_setup": 1.242914950940758
    }
  },
  "data": {
    "version": "ffa7e22",
    "cloud_auth": true,
    "config": null,
    "options": {
      "mode": "auto",
      "debug": false
    },
    "errors": [
      {
        "name": "custom_components.sonoff.core.ewelink.cloud",
        "message": [
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '*****', 'apikey': '*****', 'sequence': '1730066466762'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '*****', 'apikey': '*****', 'sequence': '1730071506925'}"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/core/ewelink/cloud.py",
          616
        ],
        "timestamp": 1730071511.971858,
        "exception": "",
        "count": 3,
        "first_occurred": 1730066471.80897
      }
    ],
    "device": {
      "uiid": 190,
      "params": {
        "bindInfos": "***",
        "version": 8,
        "demNextFetchTime": 1730070000000,
        "ssid": "*****",
        "bssid": "*****",
        "fwVersion": "1.1.1",
        "switches": [
          {
            "switch": "on",
            "outlet": 0
          }
        ],
        "configure": [
          {
            "startup": "off",
            "outlet": 0
          }
        ],
        "pulses": [
          {
            "pulse": "off",
            "switch": "off",
            "outlet": 0,
            "width": 500
          }
        ],
        "sledOnline": "on",
        "staMac": "***",
        "rssi": -42,
        "threshold": {
          "actPow": {
            "min": 10,
            "max": 400000
          },
          "voltage": {
            "min": 16500,
            "max": 27700
          },
          "current": {
            "min": 10,
            "max": 1700
          }
        },
        "overload_00": {
          "minAP": {
            "en": 0,
            "val": 10
          },
          "maxAP": {
            "en": 1,
            "val": 400000
          },
          "minV": {
            "en": 0,
            "val": 16500
          },
          "maxV": {
            "en": 0,
            "val": 27700
          },
          "maxC": {
            "en": 1,
            "val": 1700
          },
          "minC": {
            "en": 0,
            "val": 10
          }
        },
        "current": 5,
        "voltage": 23717,
        "power": 724,
        "uiActive": 60,
        "timeZone": 2,
        "dayKwh": 2,
        "monthKwh": 117,
        "operSide": 1,
        "getHoursKwh": {
          "start": 0,
          "end": 743
        },
        "password": "*****"
      },
      "model": "S60TPF",
      "online": true,
      "local": null,
      "localtype": null,
      "host": null,
      "deviceid": "*****"
    }
  }
}`