delid4ve / openhab-sonoff-compiled

10 stars 0 forks source link

Unsupported device and invalid appid #10

Open Elgin1 opened 6 months ago

Elgin1 commented 6 months ago

First of all a big thanks to you for providing this binding!

I encountered two issues, one of which I could solve myself:

1) The appid in the compiled binding for OH 3.4 has become invalid:

2023-12-18 11:12:54.625 [DEBUG] [ernal.connection.SonoffApiConnection] - Api Login Response:{"error":407,"msg":"appid is unauthorized! KOBxGJna5qkk3JLXw3LHLX3wSNiPjAVi","data":null}

After replacing it with the second appid from here: https://github.com/AlexxIT/SonoffLAN/blob/c317407a09e5c5e9aaf2a95e044e5afb5a367dec/custom_components/sonoff/core/ewelink/cloud.py#L107 things started to work.

2) My device is not supported at the moment. The discovery file is below:

1001e4c0ba.txt

It is a 4x relay switch with no further sensing/measuring functions. If you need any further information to include the device, please let me know.

Many thanks in advance!

MasterSandro commented 1 month ago

Hello, I have an unsupported device. Here is an excerpt from the cache: {"name":"MiniGarten2_Dosierpumpe", "deviceid":"10022427e9",

"extra":{" model":"CK-BL602-4SW-HS"," uiid":141,"ui":"四通道插座_支持2.4G轻智能"," modelInfo":"61289f66468ef65e1a4b29e0"," brandId":"59e0dbc25c1af3a660cc1ac0"," brandName":"coolkit"," brandLogo":""," showBrand":false," productModel":"CK-BL602-4SW-HS(141)"," tags":{"m_f1e9_shae":"on"},"devConfig":{}," settings":{"opsNotify":0," opsHistory":1,"alarmNotify":1," wxAlarmNotify":0,"wxOpsNotify":0," wxDoorbellNotify":0," appDoorbellNotify":1}," devGroups":[],"family":{" familyid":"6631686baa4c5500086b7ef7"," index":-1,"members":[]," guests":[]},"shareTo":[]," devicekey":"8ca0e9ef-197a-4ab8-9563-6cc40d7a0281"," online":true,"params":{" bindInfos":{"alexa":["62414b3e-a6ae-4c70-86ce-86884854f1e9_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}," version":8," rssi":-48," fwVersion":"1.4.1"," switches":[{" switch":"off","outlet":0},{" switch":"off","outlet":1},{" switch":"off","outlet":2},{" switch":"off","outlet":3}],"configure":[{" startup":"off","outlet":0},{" startup":"off","outlet":1},{" startup":"off","outlet":2},{" startup":"off","outlet":3}]," pulses":[{"pulse":"on"," switch":"off","outlet":0," width":500},{"pulse":"on"," switch":"off","outlet":1," width":500},{"pulse":"on"," switch":"off","outlet":2," width":500},{"pulse":"on"," switch":"off","outlet":3," width":1000}]," remoteCtrlList":[{" outlet":0,"addr":[]},{" outlet":1,"addr":[]},{" outlet":2,"addr":[]},{" outlet":3,"addr":[]}]," lightScenes_0":[]," lightScenes_1":[]," lightScenes_2":[]," lightScenes_3":[]," sledOnline":"on"," ssid":"WLANIOT2"," bssid":"e2:b3:70:fb:ec:87"," addr":"06b8f493"," remoteCtrl":"93f4b80600"}," denyFeatures":["backlightIndicator"]," isSupportGroup":true," isSupportedOnMP":false," isSupportChannelSplit":true," deviceFeature":{}}

If I could help you with more information, let me know, unfortunately I don't know much about it.