nalajcie / tuya-cloud-to-influxdb Goto Github PK
View Code? Open in Web Editor NEWUse Tuya cloud API to push data from devices to influxdb
Use Tuya cloud API to push data from devices to influxdb
Hi,
I created an account in TuyaSmart app.
cli.js auth
fails (error returned by Tuya cloud API: { code: 'TIME_VALIDATE_FAILED', message: 'time validate failed' }
).
Are API key/secrets up to date? Is there another explanation for this issue?
/home/user/tuya-cloud-to-influxdb/lib/common.js:31
if (def.property.type === 'value') {
^
TypeError: Cannot read properties of undefined (reading 'type')
at /home/user/tuya-cloud-to-influxdb/lib/common.js:31:22
at Array.forEach (<anonymous>)
at Object.getDeviceMeasurement (/home/user/tuya-cloud-to-influxdb/lib/common.js:26:24)
at /home/user/tuya-cloud-to-influxdb/cli.js:75:34
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.12.1
hi :)
I get this error with ./cli.js or anything :/
`/home/me/tuya-cloud-to-influxdb/lib/common.js:88
const {uri} = config.get('influx');
^
TypeError: Cannot destructure property 'uri' of 'config.get(...)' as it is undefined.
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.