Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Buttons auswertbar machen, sofern überhaupt möglich #606

Open
Gelbwichtel opened this issue Nov 5, 2024 · 2 comments
Open

Smart Buttons auswertbar machen, sofern überhaupt möglich #606

Gelbwichtel opened this issue Nov 5, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Gelbwichtel
Copy link

Hi, nachdem es im Forum keine zufriedenstellende Resonanz gab, versuche ich die Thematik mal hier zu adressieren.
In den Objekten des Tuya Adapters liegt ein Zigbee Gateway GW018-DM. Gekoppelt mit diesem Gateway gibt es einen Smart Button. Dieser Button kennt die Zustände 0 (singleClick) und 1 (doubleClick). Mein Problem ist, dass ich nun ein x-beliebiges Gerät jeweils mit einem singleClick umschalten will, also toggeln. 1x gedrückt an, nochmal gedrückt aus, nochmal gedrückt an, usw. Aber genau das lässt sich in einem Skript nicht umsetzen. Grund: ein mehrmaliges Drücken (also so, dass kein Doppelklick ausgelöst wird) führt zu keiner Zustandsänderung und somit auch zu keiner Änderung bei LastChange. Lediglich der Timestamp wird aktualisiert. Aber auch das ist nicht auswertbar, da der Adapter alle 60Sekunden von sich aus, ohne dass eine Taste gedrückt wurde den Zeitstempel aktualisiert.

Gesucht ist also eine Möglichkeit, dass bei dieser Art von Smartbuttons wiederholende Tastendrücke erkennbar werden.

Lösungsansätze, sofern der Entwickler nicht gleich selbst schon Ideen hat:

  1. Das Intervall für "Datenabfrageintervall (für bisher nicht synchronisierte Geräte)" auf Maximum setzen, dann würde zumindest in dieser Zeitperiode eine Abfrage über den Timestamp funktionieren. Könnte aber bei Erreichen des Zeitpunktes zu unangenehmen Nebeneffekten führen.
  2. Einen Art Togglezustand unter Zuhilfenahme eines MaxVal z.B. 99. Der erste SingleClick wechselt die 0 auf 99-0. Das nächste wieder auf 0. Ein Doppelklick würde dann zwischen 1 und 99-1 wechseln. Damit wären die Tastendrücken im Skript auswertbar.
  3. Beim Polling nicht nur den Timestamp aktualisieren, sondern vielleicht beim Qualityflag der ID einen Wert einstellen, der dann auch im Skript zur Unterscheidung benutzt werden kann.

Vielleicht liege ich ja komplett falsch und aus mir noch unbekannten Gründen ist es ggf. gar nicht Möglich so was im Adapter umzusetzen.

Ansonsten, wenn gewünscht kann ich gerne noch weitere Informationen nachliefern.

Vorab Danke für ein Feedback, egal wie es ausfallen mag.

@Apollon77
Copy link
Owner

Am besten bitte als basis mal debug log aktivieren und ein Debug log posten von genau einem solchen multipress ... und ggf bissl länger um das "alle 60s" zu sehen.

@Apollon77 Apollon77 added the question Further information is requested label Nov 5, 2024
@Gelbwichtel
Copy link
Author

Gelbwichtel commented Nov 5, 2024

So, ich hätte hiermal ein Log.
xxxx8uw = Gateway
xxxxat3z = Button
Poll ist auf 120sek eingestellt
Tastendrücke (singleClick) waren jeweils um 23:22:01, 23:22:09, 23:22:18 und 23:22:27
Log musste ich leider per CopyPast machen, denn das Herunterladen vom current Log war immer leer.
Log geht von 23:18 (Start Adapter) bis 23:25
Die Polls sind dann nach Adapterstart um 23:19 und 23:21

tuya.0
2024-11-05 23:25:50.298 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.32 {"val":0,"ack":true,"ts":1730845539354,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212395}

tuya.0
2024-11-05 23:25:50.291 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.4 {"val":false,"ack":true,"ts":1730845539354,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212384}

tuya.0
2024-11-05 23:25:08.351 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"4":false,"32":"normal"}}

tuya.0
2024-11-05 23:25:08.337 debug bf9ca8e93ec161ff35x8uw request data via get ...

tuya.0
2024-11-05 23:24:27.659 debug stateChange tuya.0.bf098005726774e579at3z.10 {"val":100,"ack":true,"ts":1730845467652,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844781712}

tuya.0
2024-11-05 23:24:27.651 debug stateChange tuya.0.bf098005726774e579at3z.1 {"val":0,"ack":true,"ts":1730845467643,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844878071}

tuya.0
2024-11-05 23:24:27.596 debug bf9ca8e93ec161ff35x8uw: Set values on bf098005726774e579at3z for cid a4c13846e6c5a3ce

tuya.0
2024-11-05 23:24:27.595 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"1":"single_click","10":100},"cid":"a4c13846e6c5a3ce"}

tuya.0
2024-11-05 23:24:27.573 debug bf098005726774e579at3z request data via get ...

tuya.0
2024-11-05 23:23:08.395 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.32 {"val":0,"ack":true,"ts":1730845388384,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212395}

tuya.0
2024-11-05 23:23:08.389 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.4 {"val":false,"ack":true,"ts":1730845388383,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212384}

tuya.0
2024-11-05 23:23:08.336 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"4":false,"32":"normal"}}

tuya.0
2024-11-05 23:23:08.325 debug bf9ca8e93ec161ff35x8uw request data via get ...

tuya.0
2024-11-05 23:22:27.583 debug stateChange tuya.0.bf098005726774e579at3z.1 {"val":0,"ack":true,"ts":1730845347578,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844878071}

tuya.0
2024-11-05 23:22:27.572 debug bf9ca8e93ec161ff35x8uw: Set values on bf098005726774e579at3z for cid a4c13846e6c5a3ce

tuya.0
2024-11-05 23:22:27.572 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"1":"single_click"},"cid":"a4c13846e6c5a3ce","t":1730845346}

tuya.0
2024-11-05 23:22:18.469 debug stateChange tuya.0.bf098005726774e579at3z.1 {"val":0,"ack":true,"ts":1730845338463,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844878071}

tuya.0
2024-11-05 23:22:18.458 debug bf9ca8e93ec161ff35x8uw: Set values on bf098005726774e579at3z for cid a4c13846e6c5a3ce

tuya.0
2024-11-05 23:22:18.458 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"1":"single_click"},"cid":"a4c13846e6c5a3ce","t":1730845337}

tuya.0
2024-11-05 23:22:09.628 debug stateChange tuya.0.bf098005726774e579at3z.1 {"val":0,"ack":true,"ts":1730845329620,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844878071}

tuya.0
2024-11-05 23:22:09.571 debug bf9ca8e93ec161ff35x8uw: Set values on bf098005726774e579at3z for cid a4c13846e6c5a3ce

tuya.0
2024-11-05 23:22:09.570 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"1":"single_click"},"cid":"a4c13846e6c5a3ce","t":1730845328}

tuya.0
2024-11-05 23:22:01.168 debug stateChange tuya.0.bf098005726774e579at3z.1 {"val":0,"ack":true,"ts":1730845321159,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844878071}

tuya.0
2024-11-05 23:22:01.153 debug bf9ca8e93ec161ff35x8uw: Set values on bf098005726774e579at3z for cid a4c13846e6c5a3ce

tuya.0
2024-11-05 23:22:01.152 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"1":"single_click"},"cid":"a4c13846e6c5a3ce","t":1730845320}

tuya.0
2024-11-05 23:21:08.439 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.32 {"val":0,"ack":true,"ts":1730845268431,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212395}

tuya.0
2024-11-05 23:21:08.359 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.4 {"val":false,"ack":true,"ts":1730845268349,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212384}

tuya.0
2024-11-05 23:21:08.323 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"4":false,"32":"normal"}}

tuya.0
2024-11-05 23:21:08.209 debug bf9ca8e93ec161ff35x8uw request data via get ...

tuya.0
2024-11-05 23:19:08.308 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.32 {"val":0,"ack":true,"ts":1730845148303,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212395}

tuya.0
2024-11-05 23:19:08.225 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.4 {"val":false,"ack":true,"ts":1730845148214,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212384}

tuya.0
2024-11-05 23:19:08.207 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"4":false,"32":"normal"}}

tuya.0
2024-11-05 23:19:08.108 debug connected set to true

tuya.0
2024-11-05 23:19:08.107 debug stateChange tuya.0.info.connection {"val":true,"ack":true,"ts":1730845148103,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730845148103}

tuya.0
2024-11-05 23:19:08.022 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.online {"val":true,"ack":true,"ts":1730845148017,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730845148017}

tuya.0
2024-11-05 23:19:08.009 debug bf9ca8e93ec161ff35x8uw: Connected to device

tuya.0
2024-11-05 23:19:07.906 info bf9ca8e93ec161ff35x8uw Init with IP=192.168.178.195, Key=3w<z}.RIv[Si?!|U, Version=3.4

tuya.0
2024-11-05 23:19:07.905 info bf9ca8e93ec161ff35x8uw: Connect locally to device

tuya.0
2024-11-05 23:19:07.857 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.45 {"val":"","ack":true,"ts":1730845147851,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212445}

tuya.0
2024-11-05 23:19:07.775 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.34 {"val":false,"ack":true,"ts":1730845147768,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212395}

tuya.0
2024-11-05 23:19:07.683 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.32 {"val":0,"ack":true,"ts":1730845147675,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212395}

tuya.0
2024-11-05 23:19:07.589 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.4 {"val":false,"ack":true,"ts":1730845147581,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212384}

tuya.0
2024-11-05 23:19:07.456 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.ip {"val":"192.168.178.195","ack":true,"ts":1730845147443,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632211905}

tuya.0
2024-11-05 23:19:07.451 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.online {"val":false,"ack":true,"ts":1730845147442,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730845146430}

tuya.0
2024-11-05 23:19:07.429 debug bf9ca8e93ec161ff35x8uw Register onChange for 45

tuya.0
2024-11-05 23:19:07.429 debug bf9ca8e93ec161ff35x8uw Register onChange for 34

tuya.0
2024-11-05 23:19:07.428 debug bf9ca8e93ec161ff35x8uw Register onChange for 32

tuya.0
2024-11-05 23:19:07.428 debug bf9ca8e93ec161ff35x8uw Register onChange for 4

tuya.0
2024-11-05 23:19:07.427 debug bf9ca8e93ec161ff35x8uw: Objects [{"type":"boolean","read":true,"write":true,"name":"switch_alarm_sound","id":4,"role":"switch","native":{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false}},{"type":"number","states":{"0":"normal","1":"alarm"},"read":true,"write":true,"name":"master_state","id":32,"role":"level","native":{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false}},{"type":"boolean","read":true,"write":true,"name":"factory_reset","id":34,"role":"switch","native":{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false}},{"type":"string","read":true,"write":true,"name":"alarm_active","id":45,"role":"text","native":{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}}]

tuya.0
2024-11-05 23:19:07.424 debug bf9ca8e93ec161ff35x8uw: Create device objects if not exist

tuya.0
2024-11-05 23:19:07.423 debug bf9ca8e93ec161ff35x8uw: IP changed from undefined to 192.168.178.195

tuya.0
2024-11-05 23:19:07.415 debug bf9ca8e93ec161ff35x8uw: Init device with data (after merge): {"data":{"accessType":0,"activeTime":1730631810,"baseAttribute":1024,"cloudOnline":true,"communication":{"communicationModes":[{"pv":"","type":0},{"pv":"2.2","type":1},{"pv":"","type":3}],"communicationNode":"bf9ca8e93ec161ff35x8uw","connectionStatus":1,"dataModel":1,"mqttTopicAttr":1},"dataPointInfo":{"dpMaxTime":1730835929236,"dpName":{},"dps":{"4":false,"32":"normal","34":false,"45":""},"dpsTime":{"4":1730835929236,"32":1730835929236,"34":1730629288835,"45":1730629288835}},"devAttribute":4295,"devId":"bf9ca8e93ec161ff35x8uw","devKey":"","deviceTopo":{"meshId":"mebfff7d9979dd772f57yb","nodeId":"0020"},"gatewayVerCAD":"1.0.4","iconUrl":"https://images.tuyaeu.com/smart/icon/bay1617774091208h6cA/c727fa3233f2ad49e4d73a37c0032904.png","lat":"49.48","localKey":"3w<z}.RIv[Si?!|U","lon":"7.18","mac":"fc3cd72a743d","meta":{"gwScyChannel":"{"enable":1,"version":"1.0"}","supportAssistActive":true,"zigBleSubEnable":true},"name":"GW018-DM","otaInfo":{"otaModuleMap":{"wifi":{"bv":"40.00","cdv":"1.0.0","upgradeStatus":0,"verSw":"1.7.2"},"zigbee":{"cdv":"","upgradeStatus":0,"verSw":"2.4.1"}},"otaUpgradeModes":[0],"supportAuto":true},"ownerId":"208860509","productId":"dmmv7eacvbyyg9gl","protocolAttribute":203,"runtimeEnv":"prod","timezoneId":"Europe/Berlin","uuid":"b020b3aea7789ae9","virtual":false,"virtualExperience":false,"dpName":{},"groudId":208860509,"schema":[{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false},{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false},{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false},{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}],"productKey":"dmmv7eacvbyyg9gl","schemaExt":[],"version":"3.4","dpCodes":{"switch_alarm_sound":{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false},"master_state":{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false},"factory_reset":{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false},"alarm_active":{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}},"ip":"192.168.178.195","gwId":"bf9ca8e93ec161ff35x8uw","active":2,"ablilty":0,"encrypt":true,"lan_cap":500,"lan_seq":7,"lan_ablilty":1,"token":true,"wf_cfg":true,"clientLink":3},"errorcount":0,"localKey":"3w<z}.RIv[Si?!|U","version":"3.4","ip":"192.168.178.195","name":"GW018-DM","dpIdList":[4,32,34,45],"objectsInitialized":true,"noLocalConnection":false,"stop":true,"device":null,"connected":false,"pollingTimeout":null,"waitForDisconnect":false}

tuya.0
2024-11-05 23:19:07.413 debug bf9ca8e93ec161ff35x8uw: Use following Schema for dmmv7eacvbyyg9gl: {"schema":[{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false},{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false},{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false},{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}],"schemaExt":[]}

tuya.0
2024-11-05 23:19:06.667 info bf098005726774e579at3z: Connect locally to device

tuya.0
2024-11-05 23:19:06.619 debug stateChange tuya.0.scenes.IJ7o4CUh547xPi1l {"val":false,"ack":true,"ts":1730845146608,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844781712}

tuya.0
2024-11-05 23:19:06.612 debug stateChange tuya.0.bf098005726774e579at3z.10 {"val":100,"ack":true,"ts":1730845146605,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844781712}

tuya.0
2024-11-05 23:19:06.527 debug stateChange tuya.0.bf098005726774e579at3z.1 {"val":0,"ack":true,"ts":1730845146522,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844878071}

tuya.0
2024-11-05 23:19:06.459 debug connected set to false

tuya.0
2024-11-05 23:19:06.449 debug stateChange tuya.0.info.connection {"val":false,"ack":true,"ts":1730845146441,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730845146441}

tuya.0
2024-11-05 23:19:06.442 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.online {"val":false,"ack":true,"ts":1730845146430,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730845146430}

tuya.0
2024-11-05 23:19:06.434 debug stateChange tuya.0.bf098005726774e579at3z.meshParent {"val":"bf9ca8e93ec161ff35x8uw","ack":true,"ts":1730845146427,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730844781623}

tuya.0
2024-11-05 23:19:06.411 debug bf9ca8e93ec161ff35x8uw: Disconnected from device

tuya.0
2024-11-05 23:19:06.409 debug bf098005726774e579at3z: Objects [{"type":"number","states":{"0":"single_click","1":"double_click","2":"long_press"},"read":true,"write":false,"name":"switch_type_1","id":1,"role":"value","native":{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{"trigger":"direct","id":1}"}},{"type":"number","unit":"%","min":0,"max":100,"read":true,"write":false,"name":"battery_percentage","id":10,"role":"value","native":{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{"trigger":"direct","id":10}"}}]

tuya.0
2024-11-05 23:19:06.407 debug bf098005726774e579at3z: Create device objects if not exist

tuya.0
2024-11-05 23:19:06.407 debug bf098005726774e579at3z: Initialize cid "a4c13846e6c5a3ce" for Sub-Zigbee device via parent bf9ca8e93ec161ff35x8uw

tuya.0
2024-11-05 23:19:06.339 info IOT Cloud ID/Secret not configured, disabling real time State updates from Cloud MQTT

tuya.0
2024-11-05 23:19:06.338 debug Initial cloud device sync done

tuya.0
2024-11-05 23:19:06.337 debug bf098005726774e579at3z: Init device with data (after merge): {"data":{"accessType":0,"activeTime":1730844679,"baseAttribute":0,"cloudOnline":true,"communication":{"communicationModes":[{"pv":"","type":0},{"pv":"2.2","type":1}],"communicationNode":"bf9ca8e93ec161ff35x8uw","connectionStatus":1,"dataModel":1,"mqttTopicAttr":1},"dataPointInfo":{"dpMaxTime":1730845040119,"dpName":{},"dps":{"1":"single_click","10":100},"dpsTime":{"1":1730845040119,"10":1730844685260}},"devAttribute":2048,"devId":"bf098005726774e579at3z","devKey":"","deviceTopo":{"nodeId":"a4c13846e6c5a3ce","parentDevId":"bf9ca8e93ec161ff35x8uw"},"iconUrl":"https://images.tuyaeu.com/smart/icon/ay1547266640143rRUIA/c650ddbaa7e6d30b51ea677869266fcf.png","lat":"49.48","localKey":"","lon":"7.18","mac":"a4c13846e6c5a3ce","name":"Wireless scene switch","otaInfo":{"otaModuleMap":{"zigbee":{"cdv":"","upgradeStatus":0,"verSw":"1.0.4"}},"otaUpgradeModes":[0],"supportAuto":true},"ownerId":"208860509","productId":"mrpevh8p","runtimeEnv":"prod","secKey":"","timezoneId":"Europe/Berlin","uuid":"a4c13846e6c5a3ce","virtual":false,"virtualExperience":false,"dpName":{},"meshId":"bf9ca8e93ec161ff35x8uw","groudId":208860509,"schema":[{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{"trigger":"direct","id":1}"},{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{"trigger":"direct","id":10}"}],"productKey":"mrpevh8p","schemaExt":[],"version":"","cid":"a4c13846e6c5a3ce","dpCodes":{"switch_type_1":{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{"trigger":"direct","id":1}"},"battery_percentage":{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{"trigger":"direct","id":10}"}}},"errorcount":0,"name":"Wireless scene switch","meshId":"bf9ca8e93ec161ff35x8uw","cid":"a4c13846e6c5a3ce","dpIdList":[1,10],"objectsInitialized":true,"noLocalConnection":null}

tuya.0
2024-11-05 23:19:06.336 debug bf098005726774e579at3z: Use following Schema for mrpevh8p: {"schema":[{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{"trigger":"direct","id":1}"},{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{"trigger":"direct","id":10}"}],"schemaExt":[]}

tuya.0
2024-11-05 23:19:06.335 debug Found 2 devices

tuya.0
2024-11-05 23:19:06.334 debug Found 2 device schema information

tuya.0
2024-11-05 23:19:06.333 debug Process found devices: [{"a":"tuya.m.my.group.device.list","success":true,"v":"1.0","status":"ok","result":[{"accessType":0,"activeTime":1730844679,"baseAttribute":0,"cloudOnline":true,"communication":{"communicationModes":[{"pv":"","type":0},{"pv":"2.2","type":1}],"communicationNode":"bf9ca8e93ec161ff35x8uw","connectionStatus":1,"dataModel":1,"mqttTopicAttr":1},"dataPointInfo":{"dpMaxTime":1730845040119,"dpName":{},"dps":{"1":"single_click","10":100},"dpsTime":{"1":1730845040119,"10":1730844685260}},"devAttribute":2048,"devId":"bf098005726774e579at3z","devKey":"","deviceTopo":{"nodeId":"a4c13846e6c5a3ce","parentDevId":"bf9ca8e93ec161ff35x8uw"},"iconUrl":"https://images.tuyaeu.com/smart/icon/ay1547266640143rRUIA/c650ddbaa7e6d30b51ea677869266fcf.png","ip":"","lat":"49.48","localKey":"","lon":"7.18","mac":"a4c13846e6c5a3ce","name":"Wireless scene switch","otaInfo":{"otaModuleMap":{"zigbee":{"cdv":"","upgradeStatus":0,"verSw":"1.0.4"}},"otaUpgradeModes":[0],"supportAuto":true},"ownerId":"208860509","productId":"mrpevh8p","runtimeEnv":"prod","secKey":"","timezoneId":"Europe/Berlin","uuid":"a4c13846e6c5a3ce","virtual":false,"virtualExperience":false,"dps":{"1":"single_click","10":100},"dpName":{},"meshId":"bf9ca8e93ec161ff35x8uw","groudId":208860509},{"accessType":0,"activeTime":1730631810,"baseAttribute":1024,"cloudOnline":true,"communication":{"communicationModes":[{"pv":"","type":0},{"pv":"2.2","type":1},{"pv":"","type":3}],"communicationNode":"bf9ca8e93ec161ff35x8uw","connectionStatus":1,"dataModel":1,"mqttTopicAttr":1},"dataPointInfo":{"dpMaxTime":1730835929236,"dpName":{},"dps":{"4":false,"32":"normal","34":false,"45":""},"dpsTime":{"4":1730835929236,"32":1730835929236,"34":1730629288835,"45":1730629288835}},"devAttribute":4295,"devId":"bf9ca8e93ec161ff35x8uw","devKey":"","deviceTopo":{"meshId":"mebfff7d9979dd772f57yb","nodeId":"0020"},"gatewayVerCAD":"1.0.4","iconUrl":"https://images.tuyaeu.com/smart/icon/bay1617774091208h6cA/c727fa3233f2ad49e4d73a37c0032904.png","ip":"185.166.189.121","lat":"49.48","localKey":"3w<z}.RIv[Si?!|U","lon":"7.18","mac":"fc3cd72a743d","meta":{"gwScyChannel":"{"enable":1,"version":"1.0"}","supportAssistActive":true,"zigBleSubEnable":true},"name":"GW018-DM","otaInfo":{"otaModuleMap":{"wifi":{"bv":"40.00","cdv":"1.0.0","upgradeStatus":0,"verSw":"1.7.2"},"zigbee":{"cdv":"","upgradeStatus":0,"verSw":"2.4.1"}},"otaUpgradeModes":[0],"supportAuto":true},"ownerId":"208860509","productId":"dmmv7eacvbyyg9gl","protocolAttribute":203,"runtimeEnv":"prod","timezoneId":"Europe/Berlin","uuid":"b020b3aea7789ae9","virtual":false,"virtualExperience":false,"dps":{"4":false,"32":"normal","34":false,"45":""},"dpName":{},"groudId":208860509}]},{"a":"tuya.m.device.ref.info.my.list","success":true,"v":"2.0","status":"ok","result":[{"attribute":0,"capability":37889,"category":"wg2","categoryCode":"wg2_2b10s1w4z_56","i18nTime":0,"id":"dmmv7eacvbyyg9gl","meshCategory":"","panelConfig":{"bic":[{"code":"timer","selected":false},{"code":"jump_url","selected":false}]},"schemaInfo":{"schema":"[{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false},{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false},{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false},{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}]","schemaExt":"[]"},"shortcut":{"displayDps":[],"displayMsgs":{},"faultDps":[],"quickOpDps":[]},"supportGroup":false,"supportSGroup":false,"uiInfo":{"appRnVersion":"5.1","id":2876346,"phase":"release","rnFind":true,"type":"RN","ui":"000000dqim_0.0.4"}},{"attribute":1074270592,"capability":4096,"category":"wxkg","categoryCode":"zig_wxkg","i18nTime":0,"id":"mrpevh8p","meshCategory":"6120","panelConfig":{"bic":[{"code":"timer","selected":false},{"code":"jump_url","selected":false}]},"schemaInfo":{"schema":"[{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{\"trigger\":\"direct\",\"id\":1}"},{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{\"trigger\":\"direct\",\"id\":10}"}]","schemaExt":"[]"},"shortcut":{"displayDps":[],"displayMsgs":{},"faultDps":[],"quickOpDps":[]},"supportGroup":false,"supportSGroup":false,"uiInfo":{"appRnVersion":"5.1","id":3342364,"phase":"release","rnFind":true,"type":"RN","ui":"000000nzcc_0.0.24"}}]}]

tuya.0
2024-11-05 23:19:06.044 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.32 {"val":0,"ack":true,"ts":1730845146032,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212395}

tuya.0
2024-11-05 23:19:06.038 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.4 {"val":false,"ack":true,"ts":1730845146031,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730632212384}

tuya.0
2024-11-05 23:19:05.987 debug connected set to true

tuya.0
2024-11-05 23:19:05.984 debug stateChange tuya.0.info.connection {"val":true,"ack":true,"ts":1730845145976,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730845145976}

tuya.0
2024-11-05 23:19:05.974 debug bf9ca8e93ec161ff35x8uw: Received data: {"dps":{"4":false,"32":"normal"}}

tuya.0
2024-11-05 23:19:05.955 debug Session id is still valid

tuya.0
2024-11-05 23:19:05.892 debug stateChange tuya.0.bf9ca8e93ec161ff35x8uw.online {"val":true,"ack":true,"ts":1730845145883,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1730845145883}

tuya.0
2024-11-05 23:19:05.825 debug bf9ca8e93ec161ff35x8uw: Connected to device

tuya.0
2024-11-05 23:19:05.797 info Listen for encrypted local Tuya devices on port 6667

tuya.0
2024-11-05 23:19:05.796 info Listen for local Tuya devices on port 6666

tuya.0
2024-11-05 23:19:05.626 debug Try to reuse existing session id: eu172936q7311514nP35z4T3b93b13b7a99b3de52428e172f96f62ed

tuya.0
2024-11-05 23:19:05.370 info Try to sync devices from Cloud using stored cloud credentials

tuya.0
2024-11-05 23:19:05.365 info Existing devices initialized

tuya.0
2024-11-05 23:19:05.364 info bf098005726774e579at3z: Connect locally to device

tuya.0
2024-11-05 23:19:05.282 info bf9ca8e93ec161ff35x8uw Init with IP=192.168.178.195, Key=3w<z}.RIv[Si?!|U, Version=3.4

tuya.0
2024-11-05 23:19:05.281 info bf9ca8e93ec161ff35x8uw: Connect locally to device

tuya.0
2024-11-05 23:19:04.833 debug bf098005726774e579at3z: Objects [{"type":"number","states":{"0":"single_click","1":"double_click","2":"long_press"},"read":true,"write":false,"name":"switch_type_1","id":1,"role":"value","native":{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{"trigger":"direct","id":1}"}},{"type":"number","unit":"%","min":0,"max":100,"read":true,"write":false,"name":"battery_percentage","id":10,"role":"value","native":{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{"trigger":"direct","id":10}"}}]

tuya.0
2024-11-05 23:19:04.832 debug bf098005726774e579at3z: Create device objects if not exist

tuya.0
2024-11-05 23:19:04.770 debug bf098005726774e579at3z: Init device with data (after merge): {"data":{"accessType":0,"activeTime":1730844679,"baseAttribute":0,"cloudOnline":true,"communication":{"communicationModes":[{"pv":"","type":0},{"pv":"2.2","type":1}],"communicationNode":"bf9ca8e93ec161ff35x8uw","connectionStatus":1,"dataModel":1,"mqttTopicAttr":1},"dataPointInfo":{"dpMaxTime":1730844700959,"dpName":{},"dps":{"1":2,"10":100},"dpsTime":{"1":1730844700959,"10":1730844685260}},"devAttribute":2048,"devId":"bf098005726774e579at3z","devKey":"","deviceTopo":{"nodeId":"a4c13846e6c5a3ce","parentDevId":"bf9ca8e93ec161ff35x8uw"},"iconUrl":"https://images.tuyaeu.com/smart/icon/ay1547266640143rRUIA/c650ddbaa7e6d30b51ea677869266fcf.png","lat":"49.48","localKey":"","lon":"7.18","mac":"a4c13846e6c5a3ce","name":"Wireless scene switch","otaInfo":{"otaModuleMap":{"zigbee":{"cdv":"","upgradeStatus":0,"verSw":"1.0.4"}},"otaUpgradeModes":[0],"supportAuto":true},"ownerId":"208860509","productId":"mrpevh8p","runtimeEnv":"prod","secKey":"","timezoneId":"Europe/Berlin","uuid":"a4c13846e6c5a3ce","virtual":false,"virtualExperience":false,"dpName":{},"meshId":"bf9ca8e93ec161ff35x8uw","groudId":208860509,"schema":[{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{"trigger":"direct","id":1}"},{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{"trigger":"direct","id":10}"}],"productKey":"mrpevh8p","schemaExt":[],"version":"","cid":"a4c13846e6c5a3ce","dpCodes":{"switch_type_1":{"code":"switch_type_1","defaultValue":"","canTrigger":true,"trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":true,"name":"按键1","property":{"range":["single_click","double_click","long_press"],"type":"enum"},"subType":"enum","id":1,"editPermission":false,"extContent":"{"trigger":"direct","id":1}"},"battery_percentage":{"code":"battery_percentage","defaultValue":"","canTrigger":false,"iconname":"icon-dp_battery","trigger":"direct","type":"obj","executable":false,"mode":"ro","defaultRecommend":false,"name":"电池电量","property":{"unit":"%","min":0,"max":100,"scale":0,"step":1,"type":"value"},"subType":"value","id":10,"editPermission":false,"extContent":"{"trigger":"direct","id":10}"}}},"errorcount":0}

tuya.0
2024-11-05 23:19:04.767 debug bf9ca8e93ec161ff35x8uw Register onChange for 45

tuya.0
2024-11-05 23:19:04.766 debug bf9ca8e93ec161ff35x8uw Register onChange for 34

tuya.0
2024-11-05 23:19:04.765 debug bf9ca8e93ec161ff35x8uw Register onChange for 32

tuya.0
2024-11-05 23:19:04.763 debug bf9ca8e93ec161ff35x8uw Register onChange for 4

tuya.0
2024-11-05 23:19:04.760 debug bf9ca8e93ec161ff35x8uw: Objects [{"type":"boolean","read":true,"write":true,"name":"switch_alarm_sound","id":4,"role":"switch","native":{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false}},{"type":"number","states":{"0":"normal","1":"alarm"},"read":true,"write":true,"name":"master_state","id":32,"role":"level","native":{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false}},{"type":"boolean","read":true,"write":true,"name":"factory_reset","id":34,"role":"switch","native":{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false}},{"type":"string","read":true,"write":true,"name":"alarm_active","id":45,"role":"text","native":{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}}]

tuya.0
2024-11-05 23:19:04.756 debug bf9ca8e93ec161ff35x8uw: Create device objects if not exist

tuya.0
2024-11-05 23:19:04.684 debug connected set to false

tuya.0
2024-11-05 23:19:04.682 debug bf9ca8e93ec161ff35x8uw: Init device with data (after merge): {"data":{"accessType":0,"activeTime":1730631810,"baseAttribute":1024,"cloudOnline":true,"communication":{"communicationModes":[{"pv":"","type":0},{"pv":"2.2","type":1},{"pv":"","type":3}],"communicationNode":"bf9ca8e93ec161ff35x8uw","connectionStatus":1,"dataModel":1,"mqttTopicAttr":1},"dataPointInfo":{"dpMaxTime":1730835929236,"dpName":{},"dps":{"4":false,"32":0,"34":false,"45":""},"dpsTime":{"4":1730835929236,"32":1730835929236,"34":1730629288835,"45":1730629288835}},"devAttribute":4295,"devId":"bf9ca8e93ec161ff35x8uw","devKey":"","deviceTopo":{"meshId":"mebfff7d9979dd772f57yb","nodeId":"0020"},"gatewayVerCAD":"1.0.4","iconUrl":"https://images.tuyaeu.com/smart/icon/bay1617774091208h6cA/c727fa3233f2ad49e4d73a37c0032904.png","lat":"49.48","localKey":"3w<z}.RIv[Si?!|U","lon":"7.18","mac":"fc3cd72a743d","meta":{"gwScyChannel":"{"enable":1,"version":"1.0"}","supportAssistActive":true,"zigBleSubEnable":true},"name":"GW018-DM","otaInfo":{"otaModuleMap":{"wifi":{"bv":"40.00","cdv":"1.0.0","upgradeStatus":0,"verSw":"1.7.2"},"zigbee":{"cdv":"","upgradeStatus":0,"verSw":"2.4.1"}},"otaUpgradeModes":[0],"supportAuto":true},"ownerId":"208860509","productId":"dmmv7eacvbyyg9gl","protocolAttribute":203,"runtimeEnv":"prod","timezoneId":"Europe/Berlin","uuid":"b020b3aea7789ae9","virtual":false,"virtualExperience":false,"dpName":{},"groudId":208860509,"schema":[{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false},{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false},{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false},{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}],"productKey":"dmmv7eacvbyyg9gl","schemaExt":[],"version":"3.4","dpCodes":{"switch_alarm_sound":{"code":"switch_alarm_sound","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"报警声开关","property":{"type":"bool"},"subType":"bool","id":4,"editPermission":false},"master_state":{"code":"master_state","defaultValue":"","canTrigger":true,"iconname":"icon-zhuangtai","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主机状态","property":{"range":["normal","alarm"],"type":"enum"},"subType":"enum","id":32,"editPermission":false},"factory_reset":{"code":"factory_reset","defaultValue":"","canTrigger":true,"iconname":"icon-dp_anti-clockwise","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"恢复出厂","property":{"type":"bool"},"subType":"bool","id":34,"editPermission":false},"alarm_active":{"code":"alarm_active","defaultValue":"","canTrigger":true,"iconname":"icon-baojing","type":"obj","executable":true,"mode":"rw","defaultRecommend":true,"name":"主动报警","property":{"type":"string","maxlen":255},"subType":"string","id":45,"editPermission":false}},"ip":"192.168.178.195","gwId":"bf9ca8e93ec161ff35x8uw","active":2,"ablilty":0,"encrypt":true,"lan_cap":500,"lan_seq":7,"lan_ablilty":1,"token":true,"wf_cfg":true,"clientLink":3},"errorcount":0}

tuya.0
2024-11-05 23:19:04.676 debug init 2 known devices

tuya.0
2024-11-05 23:19:04.237 debug http-mitm-proxy/lib/ca.js already patched to only generate 1 year long certificates

tuya.0
2024-11-05 23:19:04.203 info starting. Version 3.16.0 in /opt/iobroker/node_modules/iobroker.tuya, node: v18.19.1, js-controller: 6.0.11

tuya.0
2024-11-05 23:19:03.062 debug Plugin sentry Initialize Plugin (enabled=true)

tuya.0
2024-11-05 23:18:49.985 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason

tuya.0
2024-11-05 23:18:49.984 debug Plugin sentry destroyed

tuya.0
2024-11-05 23:18:49.983 info terminating

tuya.0
2024-11-05 23:18:48.395 debug connected set to false

tuya.0
2024-11-05 23:18:46.981 debug bf9ca8e93ec161ff35x8uw: Disconnected from device

tuya.0
2024-11-05 23:18:46.978 info Got terminate signal TERMINATE_YOURSELF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants