Comments (3)
Looks like your device doesn't have a boolean property at index 1, which is what the get
command retrieves by default. Try adding a -a
or --all
flag to the get
command to retrieve all device properties.
from cli.
$ tuya-cli get --id 572757322cf432269a18 -a
{ devId: '572757322cf432269a18',
dps:
{ '20': true,
'21': 'white',
'22': 150,
'23': 44,
'24': '00180389003c',
'25': '04464602007803e803e800000000464602007803e8000a00000000' } }
OK, so that means I need to use --dps 20?
$ tuya-cli get --id 572757322cf432269a18 --dps 20
true
from cli.
Yeah, that looks right.
from cli.
Related Issues (20)
- Dependency Dashboard
- Some errors are happening HOT 10
- Device-fetching problem HOT 2
- Weird characters on get operation HOT 8
- Possibility to change wifi password on tuya device? HOT 1
- tuya-cli get --id xxxxxx keeps showing the -help content HOT 1
- Tuya-cli not working HOT 2
- Device registered and failed to be registered HOT 1
- scrolling testing text HOT 11
- Feature Request: tuya-cli wizard to show ip and mac address HOT 1
- after connected the smart app no devices show up
- "tuya-cli get" produces a json string that does not conform to standard HOT 1
- Virtual device timed out
- Wizard returns a strange key (encoded ?) HOT 8
- Set true to a Bluetooth subdevice only working sporadically, set off always works HOT 1
- wizard does not show cid HOT 1
- Empty response from tuya-cli get HOT 1
- IGNORE, wrong repo
- Protocol 3.4 - not working
- There was an issue fetching that device. Make sure your account is linked and the ID is correct. HOT 1
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 cli.