Open k1llerk3ks opened 1 year ago
Maybe you should try 3.4?
I also tried that, i can add the log for it, too. TinyTuya got me Version 3.3 tho
Unknown v3.3 Device Product ID = keym4vvjhx4sd9kk [Valid payload]:
Address = 192.168.111.64, Device ID = bf3ee99f807947f31duzf4, Local Key = , Version = 3.3, MAC =
No Stats for 192.168.111.64: DEVICE KEY required to poll for status
Is it even possible to use a RF/IR Gateway with Localtuya? I'd actually prefer to have it a custom Firmware which enables MQTT access, but i think, that's not available either currently.
I really don't know mate, never tried these devices. If you can provide a working situation (such as with tinytuya) maybe I can check if we can make it work with localtuya but currently it does not support RF/IR gateways, sorry.
If i find any suitable Solution, i am happy to provide it here! Thanks for your immediate help! (And thanks for localtuya, it's amazing \o/ )
Hi @k1llerk3ks, it looks like your device might be running tuya protocol 3.5, install/update tinytuya to version 1.10.1, run the wizard and then a scan and check if it retrieves the DPs.
Hey @Oglaf , thanks for your comment! I've updated my tinytuya, and ran the wizard before a scan, and received this:
python -m tinytuya -h
TinyTuya [1.10.1]
Wizard:
Polling local devices...
[Infrarot-HF-Fernbedienung] 192.168.111.64 - No Response
(it showed DPS for my power switch, which already works nice, but No Response
for my problem-device.)
i ran a scan after the wizard, and got again only the DPS for my already working device.
Scanning on UDP ports 6666 and 6667 and 7000 for devices for 18 seconds...
Smart Plug 2 Product ID = <productid> [Valid Broadcast]:
Address = 192.168.111.61 Device ID =<deviceid> (len:20) Local Key = <localkey> Version = 3.3 Type = default, MAC = <mac>
Status: {'1': True, '9': 0, '18': 225, '19': 112, '20': 2378, '21': 1, '22': 1694, '23': 23744, '24': 116000, '25': 180}
Infrarot-HF-Fernbedienung Product ID = <productid> [Valid Broadcast]:
Address = 192.168.111.64 Device ID = <id> (len:22) Local Key = <localkey> Version = 3.3 Type = default, MAC = <mac>
Polling 192.168.111.64 Failed: No response
Scan completed in 18.0866 seconds
Scan Complete! Found 2 devices.
Broadcasted: 2
Versions: 3.3: 2
seems, like it doesn't work, - regarding protocol 3.5, can it still be possible to be 3.5 or is it v3.3, after tinytuya told me, it's 3.3?
No, the latest version shows correctly when it 3.5 protocol. If it doesn't work tinytuya it will not work with localtuya
On Smart Life app, if you run Check device network on your device, does it work? After running tinytuya wizard, it generates a file called devices.json, your Avatto S11 appears on the list?
You could also try increasing the number of scans to increase timeout, but I have never seen it work:
python -m tinytuya scan 120
The problem
I am trying to add a AVATTO WiFi RF IR Sender/Receiver. It's the Avatto S11. Receiving/Sending 433Mhz and Infrared. https://de.aliexpress.com/item/1005003402214245.html
LocalKey and DeviceKey are easily extracted, but i can't seem to do anything working with it. Happy to help with any Debugging!
Environment
Steps to reproduce
/data/data/com.tuya.smartlife/shared_prefs
Configuration
configuration.yaml
orconfig_flow
Nothing added for this device, just imported from localtuya HA menu
DP dump
I found this from
/data/data/com.tuya.smartlife/shared_prefs
{"1":true,"17":5,"18":291,"19":98,"20":2373,"21":1,"22":1694,"23":23744,"24":116000,"25":180,"26":0,"9":0}
Provide Home Assistant taceback/logs
Try for v3.3:
Try for v3.2:
Additional information