Comments (4)
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.
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.
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.
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)
- tuya-mqtt correctly publishes state, but fails on command messages HOT 5
- Empty Data Returned After Publishing get-states HOT 3
- TypeError: Cannot set property 'updated' of undefined HOT 9
- Problem installing on Synology RS914 HOT 32
- Home Assistant integration how? HOT 2
- tuya-mqtt publishes states only when app is opened. HOT 22
- What mqtt broker HOT 3
- Disconnected from device and never connects again ... HOT 6
- Samples for nodejs script HOT 9
- New Maintainer Needed HOT 4
- Not sure when you went into Maintenance mode HOT 3
- Command Syntax for friendly topics HOT 3
- Setting switch state of a smart switch (custom template) HOT 11
- zombe state reconnecting issue? HOT 1
- Switch w/ Energy: DPS values reported only once at tuya-mqtt startup HOT 3
- Sudenly wrong responses from tuya device HOT 1
- tuya-mqtt not working (OpenHab) HOT 7
- Tuya bulb stopped working from tuya-cli, tuja-mqtt HOT 9
- Devices behind zigbee gateway available with tuya-cli but not tuya-mqtt HOT 1
- Different names after service restart HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-mqtt.