SonoffLAN icon indicating copy to clipboard operation
SonoffLAN copied to clipboard

Add S60TPF to documentation

Open SirTeddyBear opened this issue 1 year ago • 3 comments

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

SirTeddyBear avatar Oct 27 '24 20:10 SirTeddyBear

Can you share device diagnostics?

AlexxIT avatar Oct 28 '24 09:10 AlexxIT

`{
  "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": "*****"
    }
  }
}`

SirTeddyBear avatar Oct 28 '24 09:10 SirTeddyBear

How did you get it to work with the integration? In my case it is not auto-detected with default firmware

derkrasseleo avatar Jun 16 '25 13:06 derkrasseleo

How did you get it to run? I have HASSIO on TrueNAS Scale in a VM running using network bridge. But no device is recognized in local mode (only with cloud account)

Kubiwubi123 avatar Jul 02 '25 18:07 Kubiwubi123

How did you get it to work with the integration? In my case it is not auto-detected with default firmware

How did you get it to run? I have HASSIO on TrueNAS Scale in a VM running using network bridge. But no device is recognized in local mode (only with cloud account)

It depends on your configuration. First, you need to find the IP address of the S60. Then, you will need to configure a static IP address on your DHCP server. Once you know the IP address and MAC address, you can add it to Home Assistant.

SirTeddyBear avatar Jul 05 '25 11:07 SirTeddyBear

https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.9.0

AlexxIT avatar Aug 14 '25 15:08 AlexxIT