Replies: 1 comment 1 reply
-
Same for me...following. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Nedis SmartLife IR Remote Control and programed a TV and an Airco device in Smartlife.
Everything is working well in Google Home.
In Tinytuya i see 3 devices
I can ask the functions in the cloud for 2) the airco :
for i in range(0,len(p['result']['functions'])):
print(p['result']['functions'][i]['code'])
print(p['result']['functions'][i]['desc'])
print(p['result']['functions'][i]['name'])
print(p['result']['functions'][i]['type'])
print(p['result']['functions'][i]['values'])
gives:
infrared_ac
F
{"min":0,"max":3,"scale":0,"step":1,"type":"Integer"}
fan speed
ENUM
{"min":0,"max":3,"scale":0,"step":1,"type":"Integer"}
M
{"min":0,"max":4,"scale":0,"step":1,"type":"Integer"}
mode
ENUM
{"min":0,"max":4,"scale":0,"step":1,"type":"Integer"}
PowerOff
PowerOff
PowerOff
STRING
PowerOff
PowerOn
PowerOn
PowerOn
STRING
PowerOn
T
{"min":16,"max":30,"scale":0,"step":1,"type":"Integer"}
temperature
ENUM
{"min":16,"max":30,"scale":0,"step":1,"type":"Integer"}
but now I want to use then and tinytuya returns succes but it does not work on the airco .
"{'commands': [{'code': 'PowerOn', 'value': 'PowerOn'}]}", "{'result': True, 'success': True, 't': 1643617412829}", 'end', ''
whats going worng?
Beta Was this translation helpful? Give feedback.
All reactions