-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Cannot control device and instance is yellow #221
Comments
Same Problem here with an half year old LSC RGB Bulp. But i think this issue is the same like #218 |
Thank very much you for this hint it also works in my case! Version and IP was empty. Maybe somebody can fix it in the code. |
Then it seems like that the UDP packages are not send or invalid or such ... then yes this is a good woorkaround. @necotec am I allowed to reuse the image above for the README? |
The code works when the UDP packages are correctly coming and are correctly encoded and this seems to be the issue here. To fix the code I would need such a device here with me ad much time to find out why it can not be found as expected ... andf if the device sends invalid packages then I have no chance at all ... |
If it helps you to fix it I can do a Wireshark trace. If you don‘t want to change something you can close the issue. |
@Apollon77 yes, no problem. You can use the image for your README. hmz.... UDP is allowed inside my Network :) |
@Apollon77 i can send you my Bulb per "Deutsche Post" ;P |
It kind of works the following way: With the Proxy sync the "localKey" is grabbed out from the cloud data on tuyya for the devices.This localKey is then used to decrypt the locally sent UDP packages ... you see that in the log ... there comes a UDP package and the adapter tries sll encryption keys if he can decrypt the package ... if not then he do not know what do do with the UDP package. If it cn be decrypted then the version is read from that and the IP is so also known ... then this is persisted in the object so that it can be used directly on next start. Sending would be an idea, but honestly I do not know when I will find time for it ... could take a while because js.controller 3.2 will come soon and so my prios will be more there. Sorry. So up to you :-) If you want send me an email please to iobroker@fischer-ka.de for adress. |
Uuuh... If you want, do that remotely on my PC ;). |
Sooooooooo.... The Tuya adaptor runs. I do some tests at the moment. I can set Brightness and temperature and also the color on my LSC Bulb from Action market :) (with a little Node red script) Only one Problem.... After some hours, the Bulb is offline (no connection to my WiFi). Do anybody knows why? |
I installed today your adapter, synchronized devices with Smartlife App 3.12.6, all devices are loaded in iobroker but all are offline. In log file I have "None of the discovered devices matches :-(" next to every device. Tuya inastance has yellow light next to it saying : connected to tuya: false. |
So I need to fill in IP of every device manually? I have 22 devices on DHCP. |
Maybe as a first solution. I can't find the issue in the code of the adaptor. |
Any idea how can I ifind local IP of exact device? In app I only see same external address for every device. |
You can use a IP scanner or the overview in your router. |
OK, I can see MAC address in app so I will pair with IP scanner and will try for some devices... |
Now I have green light in tuya adapter and in log I have: Init with IP=192.168.1.157, Key=xxxxxxxxxxxxxx, Version=undefined. |
Version 3.3 ist the right one |
Looks like it deleted version number, so I put 3.3 again but still not working. |
Is it possible, that you remove all devices and connect then every device step by step? What I mean, connect in App, take changes in the raw.... Connect next device, take changes.... That for all 22 devices :) |
I tried minute later and I can control the bulb 👍 I will test more later tonight. thanks for now :) |
One more question, do you know if those IPs will be deleted when I will add new device and synchronize again from app? |
Puuuuh... That's possible. But, DHCP servers have lease times. I don't know 🤷😅 |
I meant if IPs which I put in objects settings in iobroker will be deleted after synchro? I will set static IPs in router so DHCP will not affect devices IP. |
Ah ok. I don't know. You can test it easy ;) Delete one device and add it again :) |
Habe es heute auch endlich hinbekommen mit dem Nox Android Emulator auf meinem Mac mit der Smart Life App (3.12.x) und anschließendem ergänzen der Version und IP-Geräte-Adresse in den Objekteinstellungen. Besten Dank @Apollon77 |
Hey, es wäre cool wenn jemand bei so einem (am besten echt nur eins) Gerät mal die IP und version wieder aus der Konfig rauswirft und den Adapter vom Github installiert (versionsnummer ist gleich). Dann bitte debug log posten. Ich hab das Logging mal geändert das ist die verschlüsselte nachricht korrekt bekomme und dann mal schauen kann |
Bzw noch besser, hab nochwas geändert ... vllt tuts jetzt auch wieder :-) Also bitte mal testen! |
Ich habe jetzt über https://github.com/Apollon77/ioBroker.tuya.git den Adapter geupdatet und bin nun auf Version 3.4.0 |
Am besten Adapter stoppen, das Objekt wieder so ändern wie es vorher war - also ip und version auf undefined setzen oder so... Dann adapter starten. Dann sollte er ggf beim ersten UDP Paket alles korrekt setzen |
Okay, habe den Adapter gestoppt, Version und IP rausgenommen und Adapter wieder gestartet:
|
Dann Loglevel auf Debug bitte (Instanzen - Expertenmodus - SPalte Logstufe) und dann Log vom Start ... aber nicht aus Admin kopieren sondern aus dem Logfile auf der Platte |
@Apollon77 können wir noch irgendwie helfen? |
@Apollon77: habe dir meinen Log als Mail geschickt. Von meinen Geräten habe ich jedoch nur 1/6 die Version und IP gelöscht: "Steckdose". Wenn du noch was brauchst, melde dich. |
funzt wieder alles über github. thx |
@Plenium-ui thank you ... can ypu please checl GitHub version again ... |
Tuya deinstalliert. Über Katze installiert. Alle Geräte funzen. Die Vorher nicht funktionierten, haben jetzt die IP und Version 3.3 |
@elzershark Nochmal hier: Geht es OHNE manuelles editieren von Objekten? Wenn ja super wenn nein dann muss das nochmal geprüft werden und brauche Debug Log |
Versuche jemanden zu finden der ein Bew. Melder hat.. ich finde meinen nicht mehr.. Alle anderen Geräte funzen.. Abe es sind ja auch "offline" Geräte.. Bei mir.. Alle Lampen, Steckdosen, Fernbedienung(Funzt ja nicht, aber IP u. Version sind vorhanden), Wasserkocher, u.s.w.) funzen alle. Was ich nicht testen kann, sind offline Geräte |
Ja, alles "ohne" Editieren.. |
offline Gerät. Bewegungsmelder. mit Version 3.3 geht es nicht. Muss 3.1 sein. Debug-LOG
|
Wo kommt das 3.1 vs 3.3her? Das system erkennt das an sich. Verschlüsselte Kommunikation ist 3.3 (by definition) :-) ... es sei denn irgendein device ist mal wieder ganz anders implementiert |
Die genaue Funktion kenne ich ja nicht, wie der Adapter die Daten bekommt. Ich gehe davon aus, spekuliere,. das die Bewegungsmelder Geräte sind, die "eigendlich" ganz normal funktionieren. Da sie aber nicht "online" sind, beim integrieren in den Adapter, wenn man die Sachen macht mit dem QR-Code, das dann einfach die IP nicht übermittelt wird. Somit auch nicht die Version. Alle Geräte die funktionieren, sind alles Version 3.1. Die nicht funktionieren sind 3.3. Der Bewegungsmelder funktioniert nicht, wenn man auf 3.3 stellt. Installiert man jetzt den Adapter über Github, gehen alle Geräte. 3.3 halt, die vorher nicht gingen. Die vorher gingen sind alle 3.1.. wie die Bewegungsmelder.. halt aber ohne IP und Version. Hoffe man versteht das 😁 |
Grad mal so getestet. Reagiert genau so wie beim Bewegungsmelder. Ich habe eine Steckdose Stromlos gemacht. Diese Steckdose funktionierte "vorher" schon immer über Tuya Adapter. Tuya Adapter gelöscht. QR-Code gemacht. Alle Geräte funktionieren. alle mit 3.1 und die "neuen" mit 3.3 funktionieren. Das offline Gerät, also die Steckdose die 3.1 ist, wird ohne IP und Version integriert. |
Ok. Also offline Geräte, Batteriebetriebene, funzen nur mit nachträglichem eintragen der IP + Version 3.1 |
@elzershark funktioniert das nun bei dir mit den Versionen? |
@necotec Also bis jetzt funktioniert alles besten. Hab noch keine Geräte "neuerdings" gehabt, die Probleme machten. Ich richte die Geräte mit Android smartlife version 3.12.6. Tuya Adapter 3.6.2. Sollte aber auch mit der stable 3.5.9 ohne Probleme laufen. |
@elzershark danke für die Info. Ich versuche dann morgen nochmal mein Glück. Allerdings habe ich tatsächlich die Vermutung, dass die Subnetzmaske da ein Wörtchen mitredet. Notfalls muss ich mir dann doch mal anschauen, wie die Adapter programmiert werden. Habe davon noch nicht wirklich Ahnung... Eventuell finde ich ja dann noch etwas 😅 Edit: Der Adapter ist im Übrigen grün... |
So, nach ein paar Tagen hin und her funktioniert es nun. Warum? Ehrlich gesagt, keine Ahnung. Hatte nun zum Schluss die Tuya App in Version 3.12.6........ die konnte keine Geräte hinzufügen (Netzwerkfehler) aber das Gerät war dennoch online. Nun kann ich auch schalten und walten wie ich will 😎 Das nur als Info |
Describe the bug
When I add my Device, I cannot controle it and the IP value is empty.
https://www.amazon.de/gp/product/B08962GMNT/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
Status: 1 Geräte im Netzwerk gefunden, 0 Geräte verbunden, 1 mit bekanntem Schema, 1 initialisiert für Echtzeit-Updates und zur Steuerung
Can you help me? Or is this Device ot supported?
Expected behavior
Adding Device with availability to control it.
Screenshots
Versions:
Version 3.3.14 in /opt/iobroker/node_modules/iobroker.tuya, node: v12.18.2, js-controller: 3.1.6
Operatingsystem:
Logfile
tuya.0 2020-09-30 22:27:49.765 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:27:49.765 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":265,"ack":false,"time":1601497669763},"_id":69005910} tuya.0 2020-09-30 22:27:06.780 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:27:06.779 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":264,"ack":false,"time":1601497626772},"_id":69005909} tuya.0 2020-09-30 22:26:49.764 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:26:49.764 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":263,"ack":false,"time":1601497609762},"_id":69005908} tuya.0 2020-09-30 22:26:05.899 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:26:05.899 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":262,"ack":false,"time":1601497565897},"_id":69005907} tuya.0 2020-09-30 22:25:48.837 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:25:48.836 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":261,"ack":false,"time":1601497548834},"_id":69005906} tuya.0 2020-09-30 22:25:05.816 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:25:05.816 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":260,"ack":false,"time":1601497505765},"_id":69005905} tuya.0 2020-09-30 22:24:48.762 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:24:48.761 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":259,"ack":false,"time":1601497488760},"_id":69005904} tuya.0 2020-09-30 22:24:04.785 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:24:04.783 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":258,"ack":false,"time":1601497444766},"_id":69005903} tuya.0 2020-09-30 22:23:47.980 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:23:47.979 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":257,"ack":false,"time":1601497427977},"_id":69005902} tuya.0 2020-09-30 22:23:04.763 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:23:04.763 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":256,"ack":false,"time":1601497384761},"_id":69005901} tuya.0 2020-09-30 22:22:47.760 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:22:47.760 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":255,"ack":false,"time":1601497367758},"_id":69005900} tuya.0 2020-09-30 22:22:04.760 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:22:04.760 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":254,"ack":false,"time":1601497324758},"_id":69005899} tuya.0 2020-09-30 22:21:46.808 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:21:46.807 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":253,"ack":false,"time":1601497306806},"_id":69005898} tuya.0 2020-09-30 22:21:04.759 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:21:04.759 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":252,"ack":false,"time":1601497264757},"_id":69005897} tuya.0 2020-09-30 22:20:46.759 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:20:46.758 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":251,"ack":false,"time":1601497246756},"_id":69005896} tuya.0 2020-09-30 22:20:03.764 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:20:03.763 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":250,"ack":false,"time":1601497203761},"_id":69005895} tuya.0 2020-09-30 22:19:45.780 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:19:45.780 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":249,"ack":false,"time":1601497185778},"_id":69005894} tuya.0 2020-09-30 22:19:03.026 debug (18572) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:19:03.025 debug (18572) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":248,"ack":false,"time":1601497143023},"_id":69005893} tuya.0 2020-09-30 22:18:56.708 debug (18572) Discovered encrypted device and store for later usage: 192.168.10.171:49153 - U���Зfgo3i�����2��*�+�¸ @��f�N��=�2��X�G�X�#R�=�#k7ŝ*'�U�;m���� Y�Y��&Օ������7�@���m��Eo?~(�ԓ+�5a' tuya.0 2020-09-30 22:18:53.213 info (18572) Listen for encrypted local Tuya devices on port 6667 tuya.0 2020-09-30 22:18:53.212 info (18572) Listen for local Tuya devices on port 6666 tuya.0 2020-09-30 22:18:53.209 info (18572) Existing devices initialized tuya.0 2020-09-30 22:18:53.209 info (18572) bf81dc320ccb0f71f9kqny: None of the discovered devices matches :-( tuya.0 2020-09-30 22:18:53.207 debug (18572) bf81dc320ccb0f71f9kqny: Try to initialize encrypted device with received UDP messages (#IPs: 0): version=undefined, key=b57c0bb19314405f tuya.0 2020-09-30 22:18:52.819 debug (18572) connected set to false tuya.0 2020-09-30 22:18:52.801 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 32 tuya.0 2020-09-30 22:18:52.801 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 31 tuya.0 2020-09-30 22:18:52.800 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 28 tuya.0 2020-09-30 22:18:52.800 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 27 tuya.0 2020-09-30 22:18:52.799 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 26 tuya.0 2020-09-30 22:18:52.798 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 25 tuya.0 2020-09-30 22:18:52.798 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 24 tuya.0 2020-09-30 22:18:52.797 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 23 tuya.0 2020-09-30 22:18:52.797 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 22 tuya.0 2020-09-30 22:18:52.795 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 21 tuya.0 2020-09-30 22:18:52.795 debug (18572) bf81dc320ccb0f71f9kqny Register onChange for 20 tuya.0 2020-09-30 22:18:52.793 debug (18572) bf81dc320ccb0f71f9kqny: Objects [{"type":"boolean","read":true,"write":true,"name":"switch_led","id":20,"role":"switch"},{"type":"number","states":{"0":"white","1":"colour","2":"scene","3":"mu tuya.0 2020-09-30 22:18:52.791 debug (18572) bf81dc320ccb0f71f9kqny: Create device objects if not exist tuya.0 2020-09-30 22:18:52.788 debug (18572) init 1 known devices tuya.0 2020-09-30 22:18:52.744 info (18572) starting. Version 3.3.14 in /opt/iobroker/node_modules/iobroker.tuya, node: v12.18.2, js-controller: 3.1.6 tuya.0 2020-09-30 22:18:52.609 debug (18572) Plugin sentry Initialize Plugin (enabled=true) tuya.0 2020-09-30 22:18:46.901 info (21134) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason tuya.0 2020-09-30 22:18:46.901 debug (21134) Plugin sentry destroyed tuya.0 2020-09-30 22:18:46.899 info (21134) terminating tuya.0 2020-09-30 22:18:45.757 debug (21134) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:18:45.756 debug (21134) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":246,"ack":false,"time":1601497125754},"_id":69005891} tuya.0 2020-09-30 22:18:43.889 info (21134) Got terminate signal TERMINATE_YOURSELF tuya.0 2020-09-30 22:18:39.407 debug (21134) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:18:39.406 debug (21134) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":245,"ack":false,"time":1601497119404},"_id":69005890} tuya.0 2020-09-30 22:17:45.330 debug (21134) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:17:45.330 debug (21134) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":244,"ack":false,"time":1601497065328},"_id":69005889} tuya.0 2020-09-30 22:17:39.799 debug (21134) sendTo "stopProxy" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:17:39.796 debug (21134) Message: {"command":"stopProxy","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":242,"ack":false,"time":1601497059794},"_id":69005887} tuya.0 2020-09-30 22:17:25.450 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.32 {"val":"AAA=","ack":true,"ts":1601497045444,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223835} tuya.0 2020-09-30 22:17:25.448 info (21134) bf81dc320ccb0f71f9kqny: None of the discovered devices matches :-( tuya.0 2020-09-30 22:17:25.448 debug (21134) bf81dc320ccb0f71f9kqny: No relevant Data for decrypt try: {"payload":"Зfgo3i�\u0010���2��*�+\u0002¸ @��f�N��=�2��X�G�X�#R�=�#k7ŝ*'�U�;m���\u001b Y�Y�\u001c&Օ������7�@�\u0005�m��Eo?~(�ԓ+�5a'\u tuya.0 2020-09-30 22:17:25.447 debug (21134) bf81dc320ccb0f71f9kqny: Try to initialize encrypted device with received UDP messages (#IPs: 1): version=undefined, key=b57c0bb19314405f tuya.0 2020-09-30 22:17:25.364 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.31 {"val":"AAA=","ack":true,"ts":1601497045352,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223798} tuya.0 2020-09-30 22:17:25.361 info (21134) bf81dc320ccb0f71f9kqny: None of the discovered devices matches :-( tuya.0 2020-09-30 22:17:25.361 debug (21134) bf81dc320ccb0f71f9kqny: No relevant Data for decrypt try: {"payload":"Зfgo3i�\u0010���2��*�+\u0002¸ @��f�N��=�2��X�G�X�#R�=�#k7ŝ*'�U�;m���\u001b Y�Y�\u001c&Օ������7�@�\u0005�m��Eo?~(�ԓ+�5a'\u tuya.0 2020-09-30 22:17:25.357 debug (21134) bf81dc320ccb0f71f9kqny: Try to initialize encrypted device with received UDP messages (#IPs: 1): version=undefined, key=b57c0bb19314405f tuya.0 2020-09-30 22:17:25.354 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.28 {"val":"","ack":true,"ts":1601497045351,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223764} tuya.0 2020-09-30 22:17:25.337 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.27 {"val":"","ack":true,"ts":1601497045332,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223708} tuya.0 2020-09-30 22:17:25.334 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.26 {"val":0,"ack":true,"ts":1601497045331,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223629} tuya.0 2020-09-30 22:17:25.324 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.25 {"val":"000e0d0000000000000000c80000","ack":true,"ts":1601497045318,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":160149622 tuya.0 2020-09-30 22:17:25.321 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.24 {"val":"000003e803e8","ack":true,"ts":1601497045317,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223532} tuya.0 2020-09-30 22:17:25.303 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.23 {"val":1000,"ack":true,"ts":1601497045298,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223367} tuya.0 2020-09-30 22:17:25.296 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.22 {"val":1000,"ack":true,"ts":1601497045287,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223292} tuya.0 2020-09-30 22:17:25.232 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.21 {"val":"0","ack":true,"ts":1601497045228,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223269} tuya.0 2020-09-30 22:17:25.226 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.20 {"val":true,"ack":true,"ts":1601497045220,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223210} tuya.0 2020-09-30 22:17:25.209 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.32 {"val":"AAA=","ack":true,"ts":1601497045204,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223835} tuya.0 2020-09-30 22:17:25.143 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.31 {"val":"AAA=","ack":true,"ts":1601497045134,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223798} tuya.0 2020-09-30 22:17:25.137 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.28 {"val":"","ack":true,"ts":1601497045134,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223764} tuya.0 2020-09-30 22:17:25.117 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.27 {"val":"","ack":true,"ts":1601497045108,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223708} tuya.0 2020-09-30 22:17:25.112 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.26 {"val":0,"ack":true,"ts":1601497045106,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223629} tuya.0 2020-09-30 22:17:25.090 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.25 {"val":"000e0d0000000000000000c80000","ack":true,"ts":1601497045079,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":160149622 tuya.0 2020-09-30 22:17:25.084 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.24 {"val":"000003e803e8","ack":true,"ts":1601497045078,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223532} tuya.0 2020-09-30 22:17:25.023 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.23 {"val":1000,"ack":true,"ts":1601497045018,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223367} tuya.0 2020-09-30 22:17:25.013 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.22 {"val":1000,"ack":true,"ts":1601497045008,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223292} tuya.0 2020-09-30 22:17:24.950 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.online {"val":false,"ack":true,"ts":1601497044909,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223141} tuya.0 2020-09-30 22:17:24.946 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.21 {"val":"0","ack":true,"ts":1601497044909,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223269} tuya.0 2020-09-30 22:17:24.904 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 32 tuya.0 2020-09-30 22:17:24.903 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 31 tuya.0 2020-09-30 22:17:24.900 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 28 tuya.0 2020-09-30 22:17:24.900 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 27 tuya.0 2020-09-30 22:17:24.899 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 26 tuya.0 2020-09-30 22:17:24.898 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 25 tuya.0 2020-09-30 22:17:24.898 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 24 tuya.0 2020-09-30 22:17:24.897 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 23 tuya.0 2020-09-30 22:17:24.897 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 22 tuya.0 2020-09-30 22:17:24.896 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 21 tuya.0 2020-09-30 22:17:24.895 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 20 tuya.0 2020-09-30 22:17:24.895 debug (21134) bf81dc320ccb0f71f9kqny: Objects [{"type":"boolean","read":true,"write":true,"name":"switch_led","id":20,"role":"switch"},{"type":"number","states":{"0":"white","1":"colour","2":"scene","3":"m tuya.0 2020-09-30 22:17:24.894 debug (21134) bf81dc320ccb0f71f9kqny: Create device objects if not exist tuya.0 2020-09-30 22:17:24.893 debug (21134) bf81dc320ccb0f71f9kqny: Schema found for w8mijl9lbbuh8li4: {"schema":[{"mode":"rw","code":"switch_led","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":20,"type":"obj"}, tuya.0 2020-09-30 22:17:24.892 debug (21134) Found 1 devices tuya.0 2020-09-30 22:17:24.892 debug (21134) Found 1 device schema information tuya.0 2020-09-30 22:17:24.865 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.20 {"val":true,"ack":true,"ts":1601497044861,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223210} tuya.0 2020-09-30 22:17:24.826 debug (21134) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:17:24.825 debug (21134) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":241,"ack":false,"time":1601497044804},"_id":69005886} tuya.0 2020-09-30 22:17:24.822 debug (21134) stateChange tuya.0.bf81dc320ccb0f71f9kqny.online {"val":false,"ack":true,"ts":1601497044784,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1601496223141} tuya.0 2020-09-30 22:17:24.768 debug (21134) sendTo "getProxyResult" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:17:24.765 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 32 tuya.0 2020-09-30 22:17:24.764 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 31 tuya.0 2020-09-30 22:17:24.764 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 28 tuya.0 2020-09-30 22:17:24.764 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 27 tuya.0 2020-09-30 22:17:24.763 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 26 tuya.0 2020-09-30 22:17:24.763 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 25 tuya.0 2020-09-30 22:17:24.762 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 24 tuya.0 2020-09-30 22:17:24.762 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 23 tuya.0 2020-09-30 22:17:24.761 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 22 tuya.0 2020-09-30 22:17:24.761 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 21 tuya.0 2020-09-30 22:17:24.760 debug (21134) bf81dc320ccb0f71f9kqny Register onChange for 20 tuya.0 2020-09-30 22:17:24.759 debug (21134) bf81dc320ccb0f71f9kqny: Objects [{"type":"boolean","read":true,"write":true,"name":"switch_led","id":20,"role":"switch"},{"type":"number","states":{"0":"white","1":"colour","2":"scene","3":"m tuya.0 2020-09-30 22:17:24.756 debug (21134) bf81dc320ccb0f71f9kqny: Create device objects if not exist tuya.0 2020-09-30 22:17:24.754 debug (21134) bf81dc320ccb0f71f9kqny: Schema found for w8mijl9lbbuh8li4: {"schema":[{"mode":"rw","code":"switch_led","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":20,"type":"obj"}, tuya.0 2020-09-30 22:17:24.752 debug (21134) Found 1 devices tuya.0 2020-09-30 22:17:24.737 info (21134) {"schemaExt":"[]","schema":"[{\"mode\":\"rw\",\"code\":\"switch_led\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power\",\"id\":20,\"type\":\"obj\"},{\"mode\":\"r tuya.0 2020-09-30 22:17:24.736 info (21134) new Schema added for product type w8mijl9lbbuh8li4. Please send next line from logfile on disk to developer! tuya.0 2020-09-30 22:17:24.731 debug (21134) Found 1 device schema information tuya.0 2020-09-30 22:16:49.215 debug (21134) Message: {"command":"getProxyResult","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":240,"ack":false,"time":1601497009213},"_id":69005885} tuya.0 2020-09-30 22:16:49.201 debug (21134) sendTo "startProxy" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:16:49.078 info (21134) SSL-Proxy ready to receive requests tuya.0 2020-09-30 22:16:49.052 debug (21134) Use first network interface (192.168.10.101) tuya.0 2020-09-30 22:16:49.051 debug (21134) Message: {"command":"startProxy","message":{"proxyPort":"8888","proxyWebPort":"8889"},"from":"system.adapter.admin.0","callback":{"message":{"proxyPort":"8888","proxyWebPort":"8889"},"id":239 tuya.0 2020-09-30 22:16:47.727 debug (21134) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:16:47.727 debug (21134) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":238,"ack":false,"time":1601497007726},"_id":69005883} tuya.0 2020-09-30 22:15:45.756 debug (21134) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2020-09-30 22:15:45.755 debug (21134) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":237,"ack":false,"time":1601496945754},"_id":69005882}
The text was updated successfully, but these errors were encountered: