milo526 / homebridge-tuya-web

Hoobs and Homebridge plugin for Tuya devices using Home Assistant Tuya Web Api
MIT License
217 stars 93 forks source link

Temperature detector #471

Closed jsvasta closed 1 year ago

jsvasta commented 1 year ago

Hi I bought new device Thermometer / temperature detector

I added device into smart life app (tuya app) but is not possible to use it in the home bridge and in the HomeKit

thanks for your help Jiri

Device type

Device information

jsvasta commented 1 year ago

image

wifi temperature&humidity Alarm

jsvasta commented 1 year ago

I tried to add it into plugin as a thermometer senzor but without success

milo526 commented 1 year ago

Please post the result of the steps under "How to check whether the api this library uses can control your device".

Without this it is hard for me to help you with regards to this specific issue.

jsvasta commented 1 year ago

the result is without this device :-(

Got devices

{
   "header":{
      "code":"SUCCESS",
      "payloadVersion":1
   },
   "payload":{
      "devices":[
         {
            "data":{
               "online":true,
               "state":true
            },
            "dev_type":"switch",
            "ha_type":"switch",
            "icon":"https://images.tuyaeu.com/smart/icon/ay1531739836474naEnL/15971272246d598076d13.png",
            "id":"03016338dc4f22eafd98",
            "name":"Raspberry"
         },
         {
            "data":{
               "online":true,
               "state":false
            },
            "dev_type":"switch",
            "ha_type":"switch",
            "icon":"https://images.tuyaeu.com/smart/icon/ay1531739836474naEnL/15971272246d598076d13.png",
            "id":"03016338dc4f22f1126b",
            "name":"Router patro"
         },
         {
            "data":{
               "online":true,
               "state":true
            },
            "dev_type":"switch",
            "ha_type":"switch",
            "icon":"https://images.tuyaeu.com/smart/icon/1547622003btfen97bbnp_0.jpg",
            "id":"07033406483fda55a9bc",
            "name":"Mereni spotreby"
         },
         {
            "data":{
               "online":true,
               "state":false
            },
            "dev_type":"switch",
            "ha_type":"switch",
            "icon":"https://images.tuyaeu.com/smart/icon/ay1531122507771gALCb/1652666052356fa71002b.png",
            "id":"bf6346f971f88eee32fssf",
            "name":"Smart Swith"
         },
         {
            "data":{
               "online":false,
               "state":true
            },
            "dev_type":"switch",
            "ha_type":"switch",
            "icon":"https://images.tuyaeu.com/smart/icon/ay1531739836474naEnL/158825108502d9ff5345d.png",
            "id":"27035466c44f33cbfc5b",
            "name":"3D printer"
         }
      ],
      "scenes":[

      ]
   }
}
jsvasta commented 1 year ago

IMG_0059

milo526 commented 1 year ago

Sadly, this plugin cannot help you if the device is not exposed.