Closed SemoTech closed 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.
Thank you for the API steps @milo526, here is the redacted python script output:
{
"header":{
"code":"SUCCESS",
"payloadVersion":1
},
"payload":{
"devices":[
{
"data":{
"online":true,
"state":false
},
"dev_type":"switch",
"ha_type":"switch",
"icon":"https://images.tuyaus.com/smart/icon/ay1497774171616QiQ8R/159048417984bf5d8fff9.png",
"id":"68376520472",
"name":"R Garage Dual Outlet w USB - B"
},
{
"data":{
"online":true,
"state":false
},
"dev_type":"switch",
"ha_type":"switch",
"icon":"https://images.tuyaus.com/smart/icon/ay1497774171616QiQ8R/159048417984bf5d8fff9.png",
"id":"302746194y1",
"name":"R Garage Dual Outlet w USB - A"
}
],
"scenes":[
]
}
}
Is there any other App I could use for this device type to yield more info (dual vs sIngle outlet)? Smart Life does see these devices correctly:
Thank you.
You might be better of using the first-party homebridge integration from Tuya
Brilliant @milo526 it works perfectly now! My sincere thanks!
I installed and setup a child bridge using the Tuya 1st party integration and their Tuya IoT cloud account, then registered the Smart Life App in the cloud account to gain access to the devices configured via Smart Life.
Now all 3 options are accessible in HomeKit as "Power Strips" for both plugs & USB on each of the BN-Link Outlets!
Describe the bug After two BN-LINK Dual-Outlet + USB devices were each registered in the Smart Life App, and once the TuyaWebPlatform bridge was scanned and added to HomeKit, each dual-outlet device was presented as a single outlet, and the USB ports are missing.
Steps To Reproduce
Plugin needs discrete dual individual outlet controls per device, for example as presented by Meross since HomeKit does support showing 2 switches together (see Meross Smart Plug example screenshot below), as well as USB on/off support if possible.
Plugin Version homebridge-tuya-web v1.1.2
Homebridge Config REDACTED CONFIG:
Device Config
Additional Context
Both BN-LINK dual-outlet devices & their respective USB ports are individually presented, can be controlled and function perfectly while using the Smart Life App.