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

SmartIR not showing up in list of devices #432

Open
dark-vex opened this issue Sep 1, 2021 · 0 comments
Open

SmartIR not showing up in list of devices #432

dark-vex opened this issue Sep 1, 2021 · 0 comments
Labels
new driver wanted Request new device driver

Comments

@dark-vex
Copy link

dark-vex commented Sep 1, 2021

Expected behavior
Shows up in the list of devices and entities and working

Home Assistant Version
2021.8.8

Device normal info

  • Brand: Panamalar
  • Model: Wi-Fi Infrared Remote Control, Model: S06

Device info (please complete the following information, which can be found in log):
like this:
2021-08-30 21:34:09 DEBUG (SyncWorker_3) [tuya iot] Response: {
"result": [
{
"active_time": 1563995066,
"biz_type": 18,
"category": "qt",
"create_time": 1563993825,
"icon": "smart/icon/1544662389asm6ig9za3_0.jpg",
"id": "80305015bcddc240036f",
"ip": "",
"lat": "
",
"local_key": "",
"lon": "
",
"model": "S06-OC",
"name": "comando",
"online": true,
"owner_id": "5174605",
"product_id": "JvihcnJiXk1grl60",
"product_name": "Smart IR",
"status": [],
"sub": false,
"time_zone": "+01:00",
"uid": "",
"update_time": 1630351551,
"uuid": "80305015bcddc240036f"
},
{
"active_time": 1563995066,
"biz_type": 18,
"category": "infrared_tv",
"create_time": 1563994088,
"icon": "smart/icon/1538041570h4qms2354ni_0.png",
"id": "bf4e58bfe55ea70278zgia",
"ip": "
",
"lat": "",
"local_key": "
",
"lon": "",
"model": "",
"name": "TV",
"node_id": "662f041dab8b4246",
"online": true,
"owner_id": "5174605",
"product_id": "ZAx1jolkKaiu8JtM",
"product_name": "TV",
"status": [],
"sub": true,
"time_zone": "+08:00",
"uid": "
",
"update_time": 1563995066,
"uuid": "bf4e58bfe55ea70278zgia"
},
{
"active_time": 1563995066,
"biz_type": 18,
"category": "infrared_ac",
"create_time": 1563993912,
"icon": "smart/icon/1538039048p03rjhzm8as_0.png",
"id": "bf026f90c40566509ebure",
"ip": "",
"lat": "
",
"local_key": "",
"lon": "
",
"model": "",
"name": "Air Conditioning",
"node_id": "e922f00ac014e46b",
"online": true,
"owner_id": "5174605",
"product_id": "jllh2kdbGM0QTdf1",
"product_name": "Air Conditioning",
"status": [],
"sub": true,
"time_zone": "+08:00",
"uid": "***",
"update_time": 1563995066,
"uuid": "bf026f90c40566509ebure"
}
],
"success": true,
"t": 1630352049948
}

Device specifications (please complete the following information, which can be found in log):
Same device's id, like this:
2021-08-30 21:34:10 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/bf4e58bfe55ea70278zgia/specifications, params = None, body = None, t = 1630352050107
2021-08-30 21:34:10 DEBUG (SyncWorker_3) [tuya iot] Response: {
"result": {
"category": "infrared_tv",
"functions": [
{
"code": "-/--",
"type": "STRING",
"values": "-/--"
},
{
"code": "0",
"type": "STRING",
"values": "0"
},
{
"code": "1",
"type": "STRING",
"values": "1"
},
{
"code": "2",
"type": "STRING",
"values": "2"
},
{
"code": "3",
"type": "STRING",
"values": "3"
},
{
"code": "4",
"type": "STRING",
"values": "4"
},
{
"code": "5",
"type": "STRING",
"values": "5"
},
{
"code": "6",
"type": "STRING",
"values": "6"
},
{
"code": "7",
"type": "STRING",
"values": "7"
},
{
"code": "8",
"type": "STRING",
"values": "8"
},
{
"code": "9",
"type": "STRING",
"values": "9"
},
{
"code": "Back",
"type": "STRING",
"values": "Back"
},
{
"code": "C",
"type": "ENUM",
"values": "{"min":1,"max":999,"scale":0,"step":1,"type":"Integer"}"
},
{
"code": "Channel+",
"type": "STRING",
"values": "Channel+"
},
{
"code": "Channel-",
"type": "STRING",
"values": "Channel-"
},
{
"code": "Down",
"type": "STRING",
"values": "Down"
},
{
"code": "Home",
"type": "STRING",
"values": "Home"
},
{
"code": "Left",
"type": "STRING",
"values": "Left"
},
{
"code": "Menu",
"type": "STRING",
"values": "Menu"
},
{
"code": "OK",
"type": "STRING",
"values": "OK"
},
{
"code": "Power",
"type": "STRING",
"values": "Power"
},
{
"code": "Right",
"type": "STRING",
"values": "Right"
},
{
"code": "Up",
"type": "STRING",
"values": "Up"
},
{
"code": "Volume+",
"type": "STRING",
"values": "Volume+"
},
{
"code": "Volume-",
"type": "STRING",
"values": "Volume-"
}
],
"status": []
},
"success": true,
"t": 1630352050139
}
2021-08-30 21:34:10 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/bf026f90c40566509ebure/specifications, params = None, body = None, t = 1630352050183
2021-08-30 21:34:10 DEBUG (SyncWorker_3) [tuya iot] Response: {
"result": {
"category": "infrared_ac",
"functions": [
{
"code": "F",
"type": "ENUM",
"values": "{"min":0,"max":3,"scale":0,"step":1,"type":"Integer"}"
},
{
"code": "M",
"type": "ENUM",
"values": "{"min":0,"max":4,"scale":0,"step":1,"type":"Integer"}"
},
{
"code": "PowerOff",
"type": "STRING",
"values": "PowerOff"
},
{
"code": "PowerOn",
"type": "STRING",
"values": "PowerOn"
},
{
"code": "T",
"type": "ENUM",
"values": "{"min":16,"max":30,"scale":0,"step":1,"type":"Integer"}"
}
],
"status": [
{
"code": "wind",
"type": "ENUM",
"values": "{"min":0,"max":3,"scale":0,"step":1,"type":"Integer"}"
},
{
"code": "mode",
"type": "ENUM",
"values": "{"min":0,"max":4,"scale":0,"step":1,"type":"Integer"}"
},
{
"code": "power",
"type": "BOOLEAN",
"values": "{}"
},
{
"code": "temp",
"type": "ENUM",
"values": "{"min":16,"max":30,"scale":0,"step":1,"type":"Integer"}"
}
]
},
"success": true,
"t": 1630352050218
}

@dark-vex dark-vex added enhancement Request new features help wanted Extra attention is needed labels Sep 1, 2021
@tsutsuku tsutsuku added new driver wanted Request new device driver and removed enhancement Request new features help wanted Extra attention is needed labels Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new driver wanted Request new device driver
Projects
None yet
Development

No branches or pull requests

2 participants