AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
198 stars 51 forks source link

Can't discover Teckin bulbs or light strips on Homebridge startup? #184

Open BrennonTWilliams opened 4 years ago

BrennonTWilliams commented 4 years ago

I'm using these Teckin RGB bulbs from Amazon and these Teckin RGB lightstrips. I pulled the IDs and tokens for each of 8 devices total. Here's a sample from the config of one bulb and one lightstrip:

 {
            "name": "Smart Bulb 2",
            "type": "RGBTWLight",
            "manufacturer": "Teckin",
            "id": "7457261068c63aecb27c",
            "key": "12d617b96b1062e4"
        },
        {
            "name": "Smart light strip-318a",
            "type": "RGBTWLight",
            "manufacturer": "Teckin",
            "id": "001153782cf43232318c",
            "key": "abb0c06240ef5cc4"
        }

When I start my homebridge server I get this output 8 times, one for each device: [TuyaLan] Failed to discover Smart Bulb 2 (7457261068c63aecb27c) in time but will keep looking. The wi-fi and MCU Module version firmware is 1.0.5 on the bulbs, and 1.0.4 on the lightstrips.

Based on a previous issue that was very similar but closed due to inactivity, I suspect its the new Teckin firmware that using different communication. Is there any way to flash older versions of the firmware to the bulbs and lightstrips to test? Since apps can administer updates wirelessly there might be a way to do the same.

I could be wrong about the firmware of course, I'm happy to try anything else I can do to get these devices working.

Thanks for the help!

BrennonTWilliams commented 4 years ago

@AMoo-Miki I'm running out of time for the return window for my Tuya/Teckin bulbs and lightstrips. If you can help me get these working in HomeKit with color control and everything, I'd be happy to donate 40 bucks for your efforts. Thanks!

TheHomekitWayFinder commented 4 years ago

Try homebridge-tuya-platform which is actively being updated by @irayankhan so you should be able to get the help you need there as there is a chance it will need some code added potentially but I’m not sure.

Sent with GitHawk

iRayanKhan commented 4 years ago

Just got github notifications all at once oof. Platform has moved to just homebridge-tuya now. I’m reviewing the feature requests currently.

BrennonTWilliams commented 4 years ago

@TheHomekitWayFinder @iRayanKhan tried homebridge-tuya. Its name is homebridge-tuya-platform in the ReadMe, and TuyaLan in the config. The naming definitely confused me, but I set it up and put in my device list. Didn't see RGB lightstrips in the supported device list, but I also have bulbs so I tried those. Got them to connect and show up in homekit. Was able to do on/off functionality but they didn't respond to any color change. After adding all 8 of my devices (4 rgb bulbs, 4 rgb lightstrips) they all stopped working. They show up in homekit, but activating them on/off didn't actually effect the devices.

I've spent so much time trying to get these devices working, at this point I'm ready to give up. It just doesn't seem possible to get them working.

iRayanKhan commented 4 years ago

Im polishing up the readme and docs and config to all be consist with one another. An update will roll out by Saturday night. If you can get the schema for your device, it can help control them.

Currently looking at TuyaAPI to add to this plugin, but am running into some issues on my end. Will keep you informed.

A temporary workaround is trying to use BlueStacks to get an older version of the Tuya apps.

BrennonTWilliams commented 4 years ago

@iRayanKhan I appreciate your hard work. I'm just sick of trying to get these working. I'll give it a few days before returning.

LeonCloud commented 3 years ago

Hi, I'm trying with Teckin SB50 without result.. Have you suggestion how to make this bulb works?