tinytuya
tinytuya copied to clipboard
Aubess WiFi IR Controller S16 - cannot control SONY TV set
Hi, I wonder if you could help me out. The device model S16 is based on Tuya CBU BK7231.
What I did so far but the SONY TV cannot be controlled.
-
I retrieved the Device Log from Tuya cloud while using Tuya Smart App and pressing PWR button on it: IR send{"control":"send_ir","head":"010fbb00000000000f001900320064032c0313044c041a03450433046502fa0401035e02e1047e", "key1":"002$000CA900)","type":0,"delay":300}
-
also tested other buttons like VOL+/VOL-
-
I tested different DP ID from 1 to 255 range.
-
I use the following piece of code: import tinytuya import json d = tinytuya.OutletDevice( dev_id='bf778fxxxxx', address='192.168.1.61', local_key='x;Df9Fxxxx', version=3.3)
sony_pwr = { "control": "send_ir", "head": "", "key1": "002$000CA900)", "type": 0, "delay": 300, }
payload = d.generate_payload(tinytuya.CONTROL, {"201": json.dumps(sony_pwr)})
d.send(payload)
I would be grateful for any hint what else I could try.