Comments (3)
The best answer I can give you is that you need to use the same MQTT broker that your home automation platform is using. In general you should follow your home automation platform's instructions for setting up/using MQTT and then, once you have that working, you just connect this script to the same broker.
The Smartlife app and iot.tuya are not really related. Although Smartlife may use iot.tuya on the back side, every OEM app for Tuya has it's own authentication system. For example, you can use Smartlife, Tuya App, or Jinvoo (or any of a few dozen others), each having their own separate authentication. Behind the scenes all of these use Tuya Cloud, but are OEM versions of the same app with completely separate users. Once you sign up for iot.tuya you can even create your own personal version of the app if you are skilled enough.
from tuya-mqtt.
from tuya-mqtt.
Then what's the point of using tuya-mqtt, you can just use tuya-cli to control the devices, no MQTT required. Otherwise, just install an MQTT broker and use any MQTT client tool. There's already tons of information available online for setting up an MQTT broker, it's just a Google (or whatever your preferred search engine is) away.
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
- 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.