Giter VIP home page Giter VIP logo

Comments (4)

tsightler avatar tsightler commented on June 7, 2024

Are you able to control it with tuya-cli? If so, can you post the command used to do so?

Unfortunately I would consider this project mostly unmaintained at this point. I had hoped to maintain it when TheAgentK stopped, but, honestly, as Tuya has continued to make it more and more difficult to get the key for each device, especially for newer, encrypted devices, I just gave up and flashed all of my Tuya devices with Tasmota. As far as I know, it should still work, as long as you have to correct key, but I haven't used the script myself of >6 months.

from tuya-mqtt.

MTXgames avatar MTXgames commented on June 7, 2024

Yeah, I was trying to avoid jumping the firmware unless it was absolutely necessary, and unfortunately it might be getting to that point.
I got a wifi adapter to see if that would do anything, and re-setup the one lightbulb with tuya-cli link. everything was fine there, i successfully got the updated localkey and everything.
tuya-cli is acting weird for me though; no matter what parameters i try to pass with tuya-cli get, it send me the help options (unless i'm missing something if i type, for example, tuya-cli get --all or tuya-cli get --key XXXX), and when i do tuya-cli list it returns absolutely nothing. and this was immediately after a successful tuya-cli link.
I still get the same error as posted. I really appreciate your help, especially if this api is consdired unmaintained. If I can't get the problem resolved htough, i might just try out Tasmota.

from tuya-mqtt.

tsightler avatar tsightler commented on June 7, 2024

You should run tuya-cli get --id XXXX optionally with --all. Or you can try a specifying all options with debug:

DEBUG=* tuya-cli get --ip 192.168.8.109 --id xxxxxxxxxxxxxxxxxx --key xxxxxxxxxxx --all

If you can get the device to work with tuya-cli, then it should work with this script. I wouldn't say it's totally, 100% unmaintained, I'm trying to at least keep it working with the devices it's known to support, but as I've converted almost all of my devices, save one I keep around for testing, it's not likely to get any new enhancement unless somebody comes along starts contributing.

Honestly, with tuya-convert it's become so easy to flash Tasmota OTA on most of these devices, and Tasmota is so much easier to deal with, that the use of this project has simply fallen to nearly non-existent levels from what I can tell.

from tuya-mqtt.

tsightler avatar tsightler commented on June 7, 2024

BTW, you should definitely make sure you are using the latest version of this script which is at https://github.com/tsightler/tuya-mqtt. That branch was modified to work with at least the 5.1.2 tuyapi code and also supports newer 3.3 protocol devices that use encryption. I'll try to at least update the API to the latest 5.3 version and merge the code here.

from tuya-mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.