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

R5 not sending events to HA #1500

Closed jobbijl closed 1 month ago

jobbijl commented 1 month ago

Hi, I just added the sonoffLAN integration to HA and linked my ewelink account. I only have 3 devices currently hooked up to it of which 2 work fine. Though when I look in the event log of the Switchman R5 scene controller there dont seem to be any updates when I click buttons.

I've looked through logs as mentioned but I don't see them in there either nor do i see any errors.

I've added the sonoff integration diagnostics for context. It's clear it's been added and a subdevice of 10020af019 (DualR3).

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.9.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.4", "docker": true, "arch": "x86_64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "6.6.44-haos", "supervisor": "2024.09.1", "host_os": "Home Assistant OS 13.0", "docker_version": "26.1.4", "chassis": "embedded", "run_as_root": true }, "custom_components": { "sonoff": { "documentation": "https://github.com/AlexxIT/SonoffLAN", "version": "3.8.1", "requirements": [ "pycryptodome>=3.6.6" ] }, "hacs": { "documentation": "https://hacs.xyz/docs/configuration/start", "version": "2.0.1", "requirements": [ "aiogithubapi>=22.10.1" ] } }, "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": "/api/sonoff/9a78d4ae-b2ac-4837-ae30-0f3fd36e7eb1", "requirements": [ "pycryptodome>=3.6.6" ], "version": "3.8.1", "is_built_in": false }, "setup_times": { "null": { "setup": 0.0004988170112483203 }, "01J99AC1AGTZ1X0QN5R71PA0YB": { "wait_import_platforms": -0.0004610199830494821, "wait_base_component": -0.0019812340033240616, "config_entry_setup": 0.8044339780462906 } }, "data": { "version": "ffa7e22", "cloud_auth": true, "config": null, "options": { "mode": "auto", "debug": true }, "errors": [], "devices": { "abd8003431": { "uiid": 174, "params": { "bindInfos": "", "subDevId": "7023121f", "parentid": "10020af019", "bleAddr": "7023121f", "outlet": 1, "key": 2, "count": 366, "actionTime": "2024-10-02T16:47:31.637Z" }, "model": "NON-OTA-GL(174)", "online": true, "local": null, "localtype": null, "host": null }, "10020af019": { "uiid": 165, "params": { "bindInfos": "", "version": 8, "timeZone": 2, "ssid": "", "bssid": "", "fwVersion": "1.5.2", "workMode": 2, "motorSwMode": 3, "motorSwReverse": 0, "outputReverse": 1, "motorTurn": 0, "calibState": 0, "currLocation": 100, "location": 100, "sledBright": 100, "staMac": "", "rssi": -44, "overload_00": { "minActPow": { "enabled": 0, "value": 10 }, "maxVoltage": { "enabled": 0, "value": 24000 }, "minVoltage": { "enabled": 0, "value": 10 }, "maxCurrent": { "enabled": 0, "value": 1500 }, "maxActPow": { "enabled": 0, "value": 360000 } }, "overload_01": { "minActPow": { "enabled": 0, "value": 10 }, "maxVoltage": { "enabled": 0, "value": 24000 }, "minVoltage": { "enabled": 0, "value": 10 }, "maxCurrent": { "enabled": 0, "value": 1500 }, "maxActPow": { "enabled": 0, "value": 360000 } }, "oneKwhState_00": 0, "startTime_00": "", "endTime_00": "", "oneKwhState_01": 0, "startTime_01": "", "endTime_01": "", "oneKwhData_00": 0, "oneKwhData_01": 0, "current_00": 0, "voltage_00": 0, "actPow_00": 0, "reactPow_00": 0, "apparentPow_00": 0, "current_01": 0, "voltage_01": 0, "actPow_01": 0, "reactPow_01": 0, "apparentPow_01": 0, "zyx_clear_timers": true, "initSetting": 1, "timers": "", "calibration": 2, "addSubDevState": "off", "addTimeOut": 10, "subDevices": [ { "subDevId": "7023121f", "deviceid": "abd8003431", "online": true, "uiid": "174", "index": 0 } ] }, "model": "DUALR3 Lite", "online": true, "local": true, "localtype": "multifun_switch", "host": "192.168.1.23:8081" }, "1001fddb47": { "uiid": 204, "params": { "rooted": false, "version": 8, "fwVersion": "1.8.0", "staMac": "***", "otaState": "ready", "ip": "192.168.1.131", "volume": 50, "sledOnline": "on", "maskrom": false }, "model": "AIBridge", "online": false, "local": null, "localtype": null, "host": null } } } }

Also the errors field seems to be empty.

I'd appreciate any help.