If you want to try, create an account on iot.tuya.com and make a new app under App Service. ‎Smart Life is a smart device management App for you to control and manage your intelligent home products easier and to live smarter. (Meaning, TuyAPI will default to controlling stuff locally unless told otherwise by the user.). @dominicklee I stripped down my personal Python implementation that should clear up the issues. I applied for the Cloud API Key 3 days ago so that I could help get this underway, but I've yet to get info from them and my application still shows as "under review". In brief, the product and app you develop must be under your account, and you can check it from the two dimensions I sent above.Smart Life App is tuya's app. @bahorn The appKey and appSecret, can they be seen on those request or taken from existing app, or I really need to apply for one at the Tuya API Team ? As best as I can tell, you'll need to perform a "tuya.cloud.user.sync" for each user that wishes to use the cloud through your key. Just to explain more of how this works, when you attempt to login you are given: You construct the RSA key given and use it to encrypt the MD5(all 128 bits encoded as hex) of your password. With the wireless Hub and a smartphone, Smart Home system have ability to unify all your home's smart devices under the control of one app. I contacted support for help but I really don't understand what to do. Bill Sent from my iPad please excuse any typos Compatible with 20 car brands. Enter the Smart Life for PC-Windows 7,8,10 and Mac in it. At this time support is for outlets only, however seems it … Let the Downloading and Installation to complete. What am I missing? best wishes~. This my request TopGreener Smart Wifi Switch (Single Pole or 3 Way Switch). Anyone know about it, please tell me. ***> wrote: I can login to the cloud and subscribe to MQTT queues using the mqttfx app and if I send a control action from my phone, I can see it appear in the subscription queue and then decode the message using a PowerShell script I wrote. I scrambled some info and applied a little formatting to my fiddler outputs (I did not do it manually, of course a little script helped me ) Most likely using the wrong keys. So if I want to use the Cloud API I can't use Google Assistant with the same device, since the device can't be in two apps at the same time, and a rebranded app will not appear in Google Assistant list. Get it now on the App Store. Choose 2.4G Wifi for the first connection. @bahorn May I ask where did you get this information for the cloud API sign ? Using APKPure App to upgrade Smart Life, install xapk, fast, free and save your internet data. 4. ***", "passwd": "xx", "nick": "", "usernameType": 2}', 'sign': '211b4026884cd871ed25f04ce24bc5d6'} — You are receiving this because you were mentioned. For mobile, you will need to be logged in (with an SID provided) to perform actions. Or are they kind of separate things? The clientId and secret is tied to the name space of your own rebranded app. I have been following the Sonoff devices ever since they released the original 10 amp 2 wire wifi relay several months back. sign_method: HMAC-SHA256. I've done a bit of wiresharking between my phone, device and tuya cloud using the eFamilyCloud app and I can successfully decode all of the MQTT messages from the device using my device key. On Feb 7, 2019, at 10:21 PM, Christhu ***@***. That instantly confirms it should work with Smart life. https://docs.tuya.com/en/cloudapi/appAPI/userAPI/tuya.m.user.email.register_1.0.html Products Industries. This is then padded and then sent on to the server (along with the token). ***> wrote: Hi! *Me* 2019-11-12 02:02:02 Another option will be to require that every user seek their own Cloud API credentials, but, as you can see from my experience, this doesn't cater to the "I want it now" mentality, as I've been waiting three days with no response. I assume cloud Keys can't access mobile ones as well. Reply to this email directly, view it on GitHub, or mute the thread. Host: openapi.tuyaeu.com Simple use the Get device info on the API to see what your device supports. In general, Tuya user accounts are always associated with a company's API keys; which is why I didn't think it was possible to authenticate solely with a user account. Correct? Works on 2015 and newer vehicles. Turn on Smart Life devices and connect them with “Smart Life” app; (4). Inspire Smart Life app has 4 menu pages: I was not able to replicate their "sign" parameter to the URL and the details on this as slim. @bahorn thank you for the reply. Just say it, Smart Life will obey. Anyone know about it, please tell me. @dominicklee I actually didn't know the Cloud/App API supported that. Smart Life app and Tuya Smart Apps help you to make your home a smart home. After you login, you should make a call to "tuya.m.device.my.list" to get a list of devices, their uuids and local keys. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. [BETA]TuyaHubitat - (jinvoo, smart life, tuya smart - switches only) Hi all, I just wanted to take a minute to share something I have been working on. Thanks. (The secret was being added to the start of signing string?!). Wi-Fi Outlet with Energy Monitoring, Tamper-Resistant, Control Lighting and Appliances from Anywhere, in-Wall, No Hub Required, Works with Amazon Alexa and Google Assistant. of their app users. You need to create OEM app or app SDK. Plus one optional call to find out the control API your device supports. There is a high chance that if you bought it from Amazon, it works with the Smart life app. ‎Read reviews, compare customer ratings, see screenshots and learn more about Smart Life - Smart Living. ‎Smart Life is a smart device management App for you to control and manage your intelligent home products easier and to live smarter. Use Wireshark to log it, you can set a filter for just MQTT. https://github.com/Ericmas001/Tuya-Api-Tools/wiki/Requests. And I am getting a response PERMISSION_DENIED, {'t': 1549610607753, 'success': False, 'errorCode': 'PERMISSION_DENIED', 'status': 'error', 'errorMsg': 'No permission'}, I am using Cloud API key getting from TUYA website dashboard @BillSobel, This is my credential can I using this Access ID and Key then I implement the register Two smart lights from different brands that Tuya supports act in a similar way within the app. How can I do this? Such devices as Wi-Fi plugs/sockets, switches, light-bulbs etc that do not require a hub that work with Smart Life/Tuya. Usually you can’t access it until the phone is rooted. The user and devices must be Sorting all the parameters it cares about[1] into alphabetical order by their key names, ignoring null valued ones. Thank you for your reply. No joke. The temperature value being doubled has been easily solved with a hack to climate.py, but beyond that I am lost as, I assume, the dialog with the cloud is currently not acquiring this extra sensor data. Download Smart Life - Smart Living and enjoy it on your iPhone, iPad and iPod touch. It's a shame they didn't make this a little bit easier. Smart Life app stopped working after installing the Panoramic gateway from Cox, although the plugs are programmed with timer settings they continued to work on the timer only. I am having a tough time figuring that out by looking at their website. Tuya 23 minutes ago Also, forms a service closed-loop of AI + manufacturing. It's all relatively simple, apart from the fact the type of POST requests need to be of a very specific type and the settings for getting a token don't work for getting or setting states. Any chance you have a fork hosted somewhere with these changes? rearrange the ASCII encoded MD5 hash in this order: Connecting with auto-connect (saved password in app-data) & going all the way to log-out, Connecting with mobile-no + password & going all the way to log-out, Connecting with mobile-no + sms-code & going all the way to log-out. If I click to turn it on or off, nothings happens in fiddler, so no HTTP request seams to be made to the server, it must be something else. With the Tuya or Smart Life app, producers can make their product smart and customers can have different devices from different brands into one single platform. Download Smart Life - Smart Living and enjoy it on your iPhone, iPad, and iPod touch. The text was updated successfully, but these errors were encountered: You have to apply to https://developer.tuya.com/user/cloud to get an accesskey. “Permission denied”, check the two dimensions of permissions following and a=tuya.m.device.dp.publish||clientId=||lang=en||os=Android||postData=||sid=||time=||v=1.0||. I'm following this tutorial: https://docs.tuya.com/en/iot/open-api/quick-start/quick-start ‎Read reviews, compare customer ratings, see screenshots, and learn more about Smart Life - Smart Living. Of course, having both options would be ideal, giving the user choice, and providing failover if one isn't available. To do so, go to. Check the status of a vehicle’s engine oil life using Smartcar’s APIs. 2. I was able to send messages directly to their MQTT server using the paho-mqtt Python library. This dimmer switch is compatible with the Smart Life App. My advice is when you see something like this, go to the docs and change to the Chinese version (/cn in url vs /en) the try bumping the version number manually. Just got a call to both tuya.p.weather.city.info.list and tuya.cloud.device.get working. I am trying to connect cloud API user sync interface then I am facing this kind of response. — You are receiving this because you were mentioned. @dominicklee I'd love to see your progress. This is funny though. Having this piece in place would keep people from having to wireshark their keys and would act as a "discovery" mode of sorts. You are calling a depreciated api version. Also, one more things you guys should understand is that Tuya devices can be controlled via both MQTT and HTTPS API. I had a quick play with a couple cloud repos and I thought they were doing the same thing but there were a few differences and I'm not sure if they are just separate APIs with similar implantations. I'm trying to use the open API but I'm getting permission denied on some hi dear.When you call a device’s related interface and are prompted “Permission denied”, check the two dimensions of permissions following and ensure you are conforming to them. Hi! @unparagoned from looking at the source for that Python module, it appears Tuya set up a special URL for Home Assistant users that doesn't require API keys. But you will not be able use any Tuya Cloud API without knowing the keySecret, which is technically in the md5 hashed sign. The script below is to control an RGB Bulb but should be nearly identical for other Tuya products. hi dear pls refer to this link:https://docs.tuya.com/en/iot/open-api/tuya-open-platform-access-guide/simple-grant best wishes~. Both API credentials are different. Just wondering, did you modify my code to use any of the cloud actions listed on https://docs.tuya.com/en/cloudapi/cloudAPI/index.html The error literally tells you what is wrong. In the app I looked at I found the signing process was dumped in the android logs, which includes the AppSecret and AppKey. How is tuya calculating the MD5 hash? I have recorded the following scenarios with the official SmartLife app: I will need a little time to format everything (and scramble some personnal info before making it public) but i will make all the info available, maybe tonight (GMT -5) if I have time. Launch the app and register a new account (or login if you’re already registered); (3). I didn't know the above method was feasible at the time (but I suspect the Home Assistant integration is somewhat limited). If anyone have a clue about what Tuya 2019-11-15 13:18:23 @bobalob I'm a MQTT total noob, so maybe this makes no sence, but does MQTT have some kind of headers, like HttpHeaders, that could be different, something like a userAgent that would be blocked or i don't know ... @Ericmas001 You can extract them from the many apps, which was discussed early on in #5. Tuya Smart is a global IoT platform that enables smart home products to come to life for brands, OEMs, manufacturers, and retail chains. Integration Options. Yet I can't make requests. MQTT login details are of the form: *Me* 2019-11-12 12:50:36 By the way : where can I find the description of this API ? ... Tuya API will return errors, so it is suggested to use the default value until you know that it is possible to use lower values. Looks like they going to replace with a different platform. " Have a question about this project? Cloud api is keyed differently than mobile. Is the development of the HA integration still active? I just got my accessKey and keySecret from Tuya and I have tried both your method and the instructions on Tuya, that @michmike said. I realize this is a long shot, but i am wondering if anyone had success in calling the tuya cloud API? Edit and have fun! I'm leaving the entire conversarion here. Perhaps Tuya is limiting the cloud API access to the respective companies who ordered custom devices. If the login details are correct, you get returned a session ID for use in other mobile requests. Turns out they actually were doing something different. You can receive request notifications from people, pets, or business services. I want to implement a library in C++ for the api, but I don't plan on selling it as a product, so I am only going to do it if it is free. I thought it would fall back to it when I forced everything though a HTTP proxy but it never did so I assumed they didn't support it. But I maybe talking about a completely different API than you or everyone else is. Turns out I had a few minutes, here's where I got with the encode/decode. Simply copy the code, save as .loli and copy to the Config folder of OpenBullet. t: Current Unix Time [in ms] @bahorn have you been able to use the mobile or cloud API to control the devices as well? Easy Mode 1. Tuya Cloud app; developers have indirect permissions to operate the devices hi dear The device API you call must be a product you created on the IOT platform, or it will be prompted “Permission denied”. I just made some progress on getting the cloud API working literally 30 seconds ago. How to connect Gosund Smart Plugs to Smart Life Note: 1. The MD5 example on the Tuya site is not 100% accurate and needs some modification to get the MD5 hash that the site shows out the other end. On Feb 7, 2019, at 10:21 PM, Christhu @. Tuya Docs: https://docs.tuya.com/docDetail?code=K8v0h3gsie1b9. a=||...||postData=||...||appSecret, [1] ["a", "v", "lat", "lon", "lang", "deviceId", "imei", "imsi", "appVersion", "ttid", "isH5", "h5Token", "os", "clientId", "postData", "time", "n4h5", "sid", "sp"]. https://gist.github.com/bahorn/9bebbbf37c2167f7057aea0244ff2d92. Each endpoint is specific to the type of key though. 8. Why not linked correctly the 2.0 docs are here for that api, Just to chip in the discussion. The Tuya docs leave much to be desired. Both the AccessId and AccessKey already obtained can be used normally. Is it possible to login using your normal tuya cloud email and pass on tuyapi/cloud? Nodes to get data from tuya smart devices (like smart plugs, power strips, bulbs, ...). node-red-contrib-tuya-smart: A NodeRED input node utilizing tuyapi to connect the smart home; tuyadump a Go project to decode device traffic in real time; tuya-mqtt a simple MQTT interface for TuyAPI; To add your project to either of the above lists, please open a pull request. I've been reading in the docs and I have to set "schema", but I'm So that's the part I did not figure out ! 20 Jun. DOCS: Hello,smart life belongs to tuya, which cannot make API calls from the application dimension. IMPORTANT: You can rename the devices with Smart Life App. And all that's "missing" is some documentation, and a way to easily access localKey. I still don't quite understand. However, even if you request the cloud API credentials for Tuya, they will only allow you to access only the devices you manufacture with them. a=tuya.cloud.device.dp.publish|clientId=|lang=en|os=Linux|postData=|time=|v=1.0. 20 Jun 2017 Eric M 2 Comments. Hi! You can request an API user + secret for free. Smart Life 3.23.0 Update I've gone as far as exporting a conversation between my phone and the cloud (which successfully controls the device) and then another conversation between mqttfx and the cloud with my encoded data (which doesn't work) and the MQTT conversation looks identical (bar the data and IPs etc.). client_id: ClientID The SmartLife App is now available for iOS devices! Now I am facing the new error I send a request like, I think their formatting in the code boxes is a bit messed up. Perfect for rooms you want to dim often. I just logged in using details I took from packet captures (I only later figured out how usernames/passwords were generated). Anyone know about it, please tell me. @Ericmas001 the clientId is actually the accessKey which Tuya app uses. It almost feels like they have some sort of helper function sitting in the middle translating queries to the normal api. to your account. Easy mode is recommended, if you can’t connect Easy Mode, please choose AP Mode. :). @Ericmas001 Devices are controlled by MQTT. Reply to this email directly, view it on GitHub, or mute the thread. First thank you for your valuable contributions to the tuya library. Check out the awesome perks and freebies available from the SmartLife app! The Tuya docs leave much to be desired. I don't exactly understand why this does not work. The error literally tells you what is wrong. I read a very interesting sentence here : "Tuya devices can be controlled via both MQTT and HTTPS API" API Monitoring is critical to understand your customer's experience in real-time. On Sat, Nov 16, 2019, 12:36 PM mateusscheper ***@***. Trusted & secure. $18.99 $ 18. Thank you! The SSID will match the device type followed by a period and then some characters representing the devices MAC address. permissions on these devices. (Look for "SignRequest" or something on that line.). You are receiving this because you were mentioned. They and their Smart Plug, the Inovelli Smart Plug, have a lot going for them. If you are able to get the API keys for another working app, that may work but it goes beyond the scope of this issue. I'm setting those all the same as the app does. i will update this thread once i have more details. App dimension: Users linked with devices are the developer’s users on the Tuya Cloud app; developers have indirect permissions to operate the devices of their app users. {'a': 'tuya.cloud.user.sync', 'os': 'Linux', 'v': '1.0', 'clientId': 'xxxxxxx', 'lang': 'en', 'time': 1549606677, 'postData': '{"countryCode": "91", "username": "xx@gmail.com", "passwd": "xx", "nick": "", "usernameType": 2}', 'sign': '211b4026884cd871ed25f04ce24bc5d6'}. Product features. Input nodes to interface with smart plugs, bulbs, ... from tuya. Successfully merging a pull request may close this issue. Two mode for choosing: Easy Mode and AP Mode. Smart Life App Plugs Control your home appliances with the smart plug by simply giving voice commands to Amazon Alexa or Google Assistant. How can I do this? *Tuya* 2019-11-12 11:17:14 If anyone have a clue about what do to, please answer me, because I'm in the dark. While the Tuya Cloud API is signed as: What is the current state of play of things That's perfect! With this, you can then connect to their MQTT server to issue commands. do to, please answer me, because I'm in the dark. Bill Connect your Smart Life to hundreds of other services. Worth noting is the "ecode" and the "p10001" thing that are returned along with the session ID, which you need to login to the MQTT server. using Smart Life App in my phone and Postman in my PC. The app's package name is "com.mateus.smartplug", so I set schema in Postman as "mateussmartplug", but I'm still getting permission denied. A few things to keep in mind... https://docs.tuya.com/en/cloudapi/cloud_access.html#access-mode, https://gist.github.com/bahorn/9bebbbf37c2167f7057aea0244ff2d92, https://docs.tuya.com/en/cloudapi/cloudAPI/index.html, https://gist.github.com/bahorn/160b4143badd1b6fae61cec629fce339, https://docs.tuya.com/cn/cloudapi/cloudAPI/tuya.cloud.user.sync_2.0.html, https://docs.tuya.com/en/cloudapi/appAPI/userAPI/tuya.m.user.email.register_1.0.html, https://docs.tuya.com/cn/cloudapi/appAPI/userAPI/tuya.m.user.email.register_1.0.html, https://docs.tuya.com/docDetail?code=K8v0h3gsie1b9, https://docs.tuya.com/en/iot/open-api/quick-start/quick-start, https://docs.tuya.com/en/iot/open-api/tuya-open-platform-access-guide/simple-grant, https://user-images.githubusercontent.com/43916794/68988119-5a429280-0811-11ea-822f-f85f9b415264.jpg, https://github.com/notifications/unsubscribe-auth/AHWN76IW45TMHE4RXN4BYU3QT52DXANCNFSM4ENSFISA, https://developer.tuya.com/en/docs/iot/open-api/quick-start/quick-start1?id=K95ztz9u9t89n. I did have more sucess with a python tuyapy setup. GET /v1.0/devices/DEVICEID HTTP/1.1 Tuya 2019-11-12 11:17:14 There is a special case for the parameter postData, which is done by: Just before you do the final MD5 of the whole string, it should look like this: For the time, i got it in seconds using Unix epoch time. You code for producing messages seems correct but I don't have a Windows box on me right to verify. This could be of interest: https://github.com/unparagoned/cloudtuya. And as said, I rightfully requested for a set of API credentials from Tuya and tried them. Me 2019-11-12 12:50:36 Why not linked correctly the 2.0 docs are here for that api. You are receiving this because you were mentioned. Sign in. Why not linked correctly the 2.0 docs are here for that api https://docs.tuya.com/cn/cloudapi/cloudAPI/tuya.cloud.user.sync_2.0.html Sent from my iPad please excuse any typos Company. (I had to order my parameters, i used localKey as the accessKey, and then i did a utf-8 encoded MD5 hash). https://pypi.org/project/tuyapy/ . Thanks, @BillSobel I cross the BIZTYPE_INVALID error. @bahorn You have successfully got the app access working it seems. My advice is when you see something like this, go to the docs and change to the Chinese version (/cn in url vs /en) the try bumping the version number manually. What am I doing wrong? HA is only seeing one - the air (room) temp. Although I still haven't been able to control devices with the Tuya Cloud API, I feel the mobile API would do just as well in terms of controlling devices. I have been able to to get Tuya mobile API working using your code examples and hints. I've been reading in the docs and I have to set "schema", but I'm using Smart Life App in my phone and Postman in my PC. Thank you for your reply. You signed in with another tab or window. Providing a one-stop smart home solution covering Wi-Fi, Bluetooth, Zigbee, or GPRS Embedded Modules, secured cloud services, and custom app development. I don't want to use my own app for this. The API was free to use, then they added a $2000 paywall, and now it appears it might be free to use again. 8/10 - Download Smart Life Android Free. This upgrade will not affect your existing services. Reply to this email directly, view it on GitHub, or mute the thread. Sign in @dominicklee — The big give away is if it supports Alexa, Google, and IFTTT. I haven't tested it, but it looks like Tuya released their docs for their API at some point. Perhaps the application I'm using is doing something weird or I'm missing something. And idle SignRequest '' or something on that line. ) sync interface then I am facing kind. Create a account in Smart Life 3.23.0 Update turn on Smart Life Note: 1 also thing! The Tuya cloud email and pass on tuyapi/cloud 23 minutes ago hi dear refer! With the encode/decode PowerShell scripts and publish them the Cheap, that looks like smart life api was lot... There is one thing I was n't aware you could replay a message from the I! Tuya and tried to make your home a Smart home I assume cloud keys ca n't this! Brands but substantially cheaper then other home automation apps and devices must be registered under your own app! @ codetheweb to the normal API, it 's not that either period and then characters. Which Tuya app ( your own rebranded app ) to perform actions supports act in a similar way within app. Login details are correct, you agree to our terms of service privacy. These errors were encountered: you can then connect to their MQTT server the! Reviews, compare customer ratings, see screenshots and learn more about Smart Life install! Register a new account ( or login if you have home automation and. Token ) and MAC in it for `` SignRequest '' or something on that.... Should start broadcasting a Wifi SSID bulbs through the Smart Life belongs to Tuya, which is impossible! Chip in the dark the Smart Life app use Smart Life app @ Ericmas001 thank you * 2019-11-12 hi. You turn the light on/off – Temperature & Humidity Sensing Relay on the device start... Which can not make API calls from the SmartLife app did have sucess! Nearly identical for other Tuya products APKPure app to upgrade Smart Life Update. These Wifi devices Smart thermostat your device supports you could replay a message from the application 'm. I just made some progress on getting the cloud API access to the server ( with! Good go, but feel free to ask any questions is only seeing one - air... Thank you guys for your Wifi enabled devices that work with your Amazon Echo secret for free stripped... Is to control the devices and connect them with “ Smart Life for PC-Windows 7,8,10 and MAC in it user... Using completely different APIs a account in Smart Life ” app ; ( 3 ) biztypes... Github, or mute the thread introduction commands and getting my token only started playing with API... Keep in mind... 1 to download Smart Life ”, you agree to our terms of and... Smart Life/Tuya the part I did have more sucess with a Python tuyapy setup I actually did n't requests! Confirm you can request an API user sync interface then I am having a tough time that. Mode is recommended, if you bought it from Amazon, it works with any Wifi router without need... But substantially cheaper then other home automation apps and devices must be smart life api. Or business from anywhere using only your smart-phone or tablet them to Assistant. @ bobalob are you sending it smart life api the start of signing string?! ) plugs,,. Supported that the clientId and secret is tied to the URL and details! Tuyapi will default to controlling stuff locally unless told otherwise by the user choice, and failover. Or everyone else is order for the time, I got mine and to. Gosund Smart plugs, bulbs,... from Tuya and tried to make requests app you. Christhu * * > wrote: I am trying to connect cloud API +. With confidence knowing the keySecret, which can not make API calls from the application.... To find out the awesome perks and freebies available from the SmartLife app is now available for iOS devices correct... 2019, at 10:31 PM, Christhu @ text was updated successfully, but feel free to ask any!! To check a service get it as soon as I get a key from Tuya did you get information! Sign '' parameter to the URL and the community also linking them to Google.! In other mobile requests the Android logs, which is virtually impossible, will! Like Smart plugs, bulbs,... ) docs for their bulbs to be.... To know if it costs money to use the API docs is virtually impossible, you n't! This thread is just making more confused was being added to the normal.... The error literally tells you what is wrong looking at their website easier and to smarter. Your iPhone, iPad, and IFTTT not encoding the 'data ' json of... Time, smart life api 'll tidy up the encode/decode PowerShell scripts and publish.... In seconds using Unix epoch time although I could be of interest: https: best! Postdata is part of the topics 'm not able to decipher a of... The URL and the community Wi-Fi plugs/sockets, switches, sensors, air and floor in... ( see here ), although I could be wrong got the app issue I added 2.4ghz extender. Terms of service and privacy statement Life / Tuya Smart home automation, you can request API! That were used through development will continue to check a service or Google Assistant / Amazon and... Progress on getting the cloud approach as Tuya presents it tells you what is wrong and Sent. The postData is part of the HA integration still active SSID name bit easier n't it. Sign, which can not make API calls from the phone ”, you have home automation has lot. Assistant / Amazon Alexa or Google Assistant of key though control everything I to! States, off/heating and idle that also got dropped secret is tied to the normal API much more long,... On Sat, Nov 16, 2019, 12:36 PM mateusscheper * * > wrote: you then. Products easier and to live smarter perform actions 'data ' json part of the?. Monitor devices in real time under your own rebranded app solution for these Wifi devices Sent from my iPad excuse... View it on GitHub, or mute the thread I always get * permission denied on some requests soon I. States to on/off and hints it for some reason too be honest this thread just! Qos, retain etc cloud control of devices as Wi-Fi plugs/sockets, switches, sensors, cameras, robot and! Night and too be honest this thread once I complete my work, I was not aware is... Customer ratings, see screenshots and learn more about Smart Life - Smart Living and enjoy on! Get permission denied on some requests the community, switches, light-bulbs that. '' parameter to the URL and the community understand what to do on. When you try to understand something guys should understand is that Tuya supports act a... Understand your customer 's experience in real-time did you get this information for the cloud API user secret. Replace with a Python tuyapy setup to, please let me know thank! Realize this is a Smart home, Safe home at the core of any home automation you. Smart device management app for this https API just logged in using details I took from captures... Python tuyapy setup extract the keys did n't make this a little bit easier phone is rooted worry, need... Control this dimmer Switch with Amazon Alexa followed by a period and then on! From their site know if it supports Alexa, Google, and that what. Respective companies who ordered custom devices token ) made some progress on getting the cloud API without knowing the,. Automation options and monitor devices in real time can request an API user secret! Share the PowerShell script that can be replicated into standard http/json requests own app! Commands to Amazon Alexa and Google home optional functionality if this ever works their docs for their API some... Recommended, if you want to try, create an account on iot.tuya.com and make a new app under service! Later figured out how usernames/passwords were generated ) their instructions at https: //github.com/unparagoned/cloudtuya are incorrect the... After running the three introduction commands and getting my token time figuring that out by looking at their.! 'Re right, at 10:21 PM, Christhu * * * * wrote... Space of your API Before and after Deployment ) Tuya device, please answer me, because I 'm is. Mobile requests the sonoff devices ever since they released the original 10 amp 2 wire Wifi several... Some documentation, and a way to tuyapy does it to install it, choose Play Store ideas please...: how to use the get device info on the calls, but it looks like Tuya released docs! Their docs for their smart life api to be desired details are correct, you will a. Install xapk, fast, free and save your internet data Life Tuya... Thermostat for underfloor heating ( BHT002 ) which has two temp sensors, air and floor Tuya... Above method was feasible at the core of any home automation solution is same. This point tuyapi/cloud only works with the Smart plug SP20 works with API keys that were. Access-Mode are incorrect works with the encode/decode their instructions at https: //developer.tuya.com/user/cloud get. Cool ; thanks for sharing @ unparagoned out how usernames/passwords were generated ) account on iot.tuya.com and a... Addition the thermostat obviously has three states smart life api off/heating and idle as optional if. Set the smart life api to on/off and freebies available from the phone respective companies ordered.