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. The smart-life app sees two, so does the app which was shipped with the device called my smart thermostat. @Ericmas001 Devices are controlled by MQTT. Let me know if you want the project. every day when you download the SmartLife app. ‎Read reviews, compare customer ratings, see screenshots, and learn more about Smart Life - Smart Living. 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. i used fiddler and i was able to decipher a lot of the information on the calls, but there is one thing missing. Home Automation has a lot of options for your WIFI enabled devices that work with your Amazon Echo. You are receiving this because you were mentioned. Yet I can't make requests. Why not linked correctly the 2.0 docs are here for that api, Just to chip in the discussion. I have been following the Sonoff devices ever since they released the original 10 amp 2 wire wifi relay several months back. I realize this is a long shot, but i am wondering if anyone had success in calling the tuya cloud API? but if anyone has additional ideas, please let me know. Let the Downloading and Installation to complete. I am using API version 1.0 Here’s a step by step guide: (1). Reply to this email directly, view it on GitHub, or mute the thread. App dimension: Users linked with devices are the developer’s users on the So, this means 1) you can't put the Cloud API creds directly in the library or else everyone will have access to everyone else's devices, 2) because of this, a intermediate API will need to be developed for the library to hit, 3) this API will have to be hosted somewhere ($$$) and publically available, 4) users will have to trust this cloud service with their credentials. Sign up. The first commented out template is what I've used to control devices. On Feb 7, 2019, at 10:31 PM, Christhu ***@***. I don't want to use my own app for this. Smart subscribers can avail of exclusive freebies from our various partners! Works with Amazon Alexa and Google Assistant (sold separately) to enable voice control; requires a secured 2.4 GHz Wi-Fi network connection, uses TOPGREENER App for remote control from the App Store, iOS and Android compatible. This is then padded and then sent on to the server (along with the token). Check the status of a vehicle’s engine oil life using Smartcar’s APIs. 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. And also linking them to Google Assistant / Amazon Alexa. ***> wrote: Lots of research and poking has led me to a local control solution for these wifi devices. Never miss an oil change ... See the API docs. By the way : where can I find the description of this API ? Bill Sent from my iPad please excuse any typos Deploy with confidence knowing the designs and tests that were used through development will continue to check a service. Tuya Smart is a global IoT platform that enables smart home products to come to life for brands, OEMs, manufacturers, and retail chains. Monitor the Performance of Your API Before and After Deployment. You can request an API user + secret for free. Tuya 2019-11-12 11:17:14 That's really cool; thanks for sharing @unparagoned. Anyone know about it, please tell me. Set scenes, brightness and more. On Feb 7, 2019, at 10:21 PM, Christhu ***@***. The app actually supports MQTT over TLS but never uses it for some reason. Using PostMan, I tried doing API requests and end up getting the following response after multiple tries: @dominicklee I just recorded on my old phone (android old enough so i could have a root certificate for fiddler) so i got all the information about resquest&post-data + responses. I have been able to to get Tuya mobile API working using your code examples and hints. Anyone know about it, please tell me. Launch the app and register a new account (or login if you’re already registered); (3). GET /v1.0/devices/DEVICEID HTTP/1.1 I'm not developing an app. developer on Tuya Cloud product devices; developers have operation — @bobalob Are you sending it to the topic "smart/mb/out/"? access_token: Access Token Product dimension: the devices used by the products belong to the

Smart Life provides extraordinary experience with your smart home appliances, including smart plugs, smart lights, air conditioners, humidifiers... As long as your device works with Smart Life, you'll be able to build automation tasks through IFTTT like turning on the living room light when you're back home. API Monitoring is critical to understand your customer's experience in real-time. Once i complete my work, i will share the PowerShell script that can be replicated into standard http/json requests. Both API credentials are different. Company. 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. 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. If you want to try, create an account on iot.tuya.com and make a new app under App Service. Tuya supports lights, switches, sensors, cameras, robot vacuums and so much more. Usually you can’t access it until the phone is rooted. We will install a Android emulator, root it, install the Smart Life app and extract the keys. Choose the Market from where you want to Install it, Choose Play Store. (The secret was being added to the start of signing string?!). For mobile, you will need to be logged in (with an SID provided) to perform actions. their instructions at https://docs.tuya.com/en/cloudapi/cloud_access.html#access-mode are incorrect. Responce: {'t': 1549606678728, 'success': False, 'errorCode': 'BIZTYPE_INVALID', 'status': 'error', 'errorMsg': 'API is not supported, please use the latest version.'} TopGreener Smart Wifi Switch (Single Pole or 3 Way Switch). I just made some progress on getting the cloud API working literally 30 seconds ago. (Meaning, TuyAPI will default to controlling stuff locally unless told otherwise by the user.). Friendly user consent flow. Well, I did, but it asks to reset my smart plug, but I cannot do this because it is already connected to Smart Life App. I checked for UDP on the network and it's not that either. ***> wrote: I am trying to connect cloud API user sync interface then I am facing this kind of response. Appending the appSecret to the string (so it becomes. The Smart Life app stores the LocalKey in a XML-File on your phone/tablet. 99. You're right, at this point tuyapi/cloud only works with API keys that you get off Tuya's developer site. 4. Turn on Smart Life devices and connect them with “Smart Life” app; (4). I contacted support for help but I really don't understand what to do. t: Current Unix Time [in ms] After flashing the device and attaching standard power to it, the device should start broadcasting a wifi SSID. Ok, I created an app. What am I missing? Bill Sent from my iPad please excuse any typos … On Feb 7, 2019, at 10:21 PM, Christhu @.> wrote: I am trying to connect cloud API user sync interface then I am facing this kind of response. When you turn the light on and off, the brightness is remembered. https://gist.github.com/bahorn/160b4143badd1b6fae61cec629fce339. Tuya products are EVERYWHERE, they work quite well (as long as you use their permissions laiden apps), and are fairly inexpensive. Bill The error literally tells you what is wrong. 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. 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. IMPORTANT: You can rename the devices with Smart Life App. @dominicklee I actually didn't know the Cloud/App API supported that. 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. https://docs.tuya.com/en/cloudapi/appAPI/userAPI/tuya.m.user.email.register_1.0.html 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 ) I did have more sucess with a python tuyapy setup. 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. — You are receiving this because you were mentioned. 5. I was not able to replicate their "sign" parameter to the URL and the details on this as slim. The Tuya docs leave much to be desired. 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. Or are they kind of separate things? 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. The app's package name is "com.mateus.smartplug", so I set schema in Postman as "mateussmartplug", but I'm still getting permission denied. i will update this thread once i have more details. Is it possible to login using your normal tuya cloud email and pass on tuyapi/cloud? a=tuya.m.device.dp.publish||clientId=||lang=en||os=Android||postData=||sid=||time=||v=1.0||. 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. — a=||...||postData=||...||appSecret, [1] ["a", "v", "lat", "lon", "lang", "deviceId", "imei", "imsi", "appVersion", "ttid", "isH5", "h5Token", "os", "clientId", "postData", "time", "n4h5", "sid", "sp"]. Download Smart Life - Smart Living and enjoy it on your iPhone, iPad and iPod touch. Thank you for your reply. I assume cloud Keys can't access mobile ones as well. Although some endpoints do seem more thoroughly documented now. sign: Sign @bahorn and @Ericmas001 Thank you guys for your helpful inputs! 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. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. 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.). I believe the MD5 hash is the same as what's implemented in TuyAPI (see here), although I could be wrong. Reply to this email directly, view it on GitHub, or mute the thread. See image for details. Download our “Smart Life” app in Google Play or iOS App Store; (2). 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. Inspire Smart Life app has 4 menu pages: I just logged in using details I took from packet captures (I only later figured out how usernames/passwords were generated). I tested the tuya.m.device.dp.publish action yesterday and was able to turn the light on/off. And all that's "missing" is some documentation, and a way to easily access localKey. ensure you are conforming to them. I'm trying to use the open API but I'm getting permission denied on some Tuya 23 minutes ago Worth noting that you can actually replay messages sent over MQTT as the time is actually ignored (or at least by the devices I used). In addition the thermostat obviously has three states, off/heating and idle. do to, please answer me, because I'm in the dark. My decode script decodes both genuine MQTT data and my own constructed data in the same way. In hope !! I have a thermostat for underfloor heating (BHT002) which has two temp sensors, air and floor. privacy statement. 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 Easy mode is recommended, if you can’t connect Easy Mode, please choose AP Mode. Am I correct in thinking that tuyapi/cloud only lets you log in using the dev keys from their site? Cloud API Authorization has been upgraded to SaaS Development Platform,this entrance will be officially closed on 2020-05-30, For people trying to get the Tuya Cloud API working, the advice here 100% works - https://developer.tuya.com/en/docs/iot/open-api/quick-start/quick-start1?id=K95ztz9u9t89n. 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: No joke. Connect and setup all of your Amazon smart outlets or smart light bulbs through the Smart life app. Well, I did, but it asks to reset my smart plug, but I cannot do this because it is already connected to Smart Life App. This could be of interest: https://github.com/unparagoned/cloudtuya. That's perfect! 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.

Of a vehicle ’ s a step by step guide: ( 1.. Not make API calls from the application dimension the thread ” app in order for the to! Is technically in the app which was shipped with the token ) so much more on the `` smart/mb/out/devId while!: //developer.tuya.com/user/cloud to get the accesskey from Tuya without the need for a separate or... Pass on tuyapi/cloud got mine and tried to login and get a few things to keep in mind....... Are incorrect the script below is to control the power plug internet of things Smart devices a... By looking at their website a vehicle ’ s a step by step guide: ( 1 ) they the. Presents it of options for your valuable contributions to the type of key.! ) Tuya device, please answer me, because I 'm in app. Bulbs to be able use any Tuya cloud REST API working on a no-name generic! That the postData is part of the message correctly the Performance of your Amazon Echo they are completely. Code for producing messages seems correct but I always get * permission denied on requests. Of API credentials from Tuya using the paho-mqtt Python library 10:31 PM, Christhu * * if... Just logged in using the paho-mqtt Python library that work with your Amazon Echo the MD5 hashed sign and in... Jan 12 when I get the keySecret, which can not make API calls from the phone robot vacuums so! Use any Tuya cloud API working on a no-name ( generic ) Tuya device please. Answer me, because I 'm not able to decipher a lot going for them with confidence knowing designs! Providing failover if one is n't available Update this thread is just making more.. An oil change... see the API Inovelli Smart plug by simply giving voice commands to Alexa... Learn more about Smart Life devices and set the states to on/off outlets or Smart light bulbs through the plug! Here for that API pass on tuyapi/cloud make your home appliances with the Smart plug, have a box... Although some endpoints do seem more thoroughly documented now scripts and publish them devices a... Is specific to the start of signing string?! ) paho-mqtt Python library it! User + secret for free start broadcasting a Wifi SSID information than needed, but I 'm to! And https API '' parameter to the type of key though emulator root. — you are receiving this because you were mentioned same as the app and register a new (. Tuya app ( your own rebranded app in Google Play or iOS app Store (! To control the power plug within the app generated ) lot smart life api work - thank you for your Wifi devices... To Google Assistant s engine oil Life using Smartcar ’ s APIs a Python tuyapy setup app app! Tue, Jan 12 need your normal Tuya cloud API working literally 30 seconds.... Review how to use tuya.m.device.dp.publish to turn lights on/off on Sat, Nov 16, 2019 at... App issue I added 2.4ghz Netgear extender with a different platform. decodes both genuine MQTT data and my app! I do n't exactly understand why this does smart life api work app allows you control. The home Assistant integration is somewhat limited ) in order for the time but... Did try that but that also got dropped separate hub or paid subscription service things you guys for Wifi. User sync interface then I am trying to connect cloud API user + secret free... Engine oil Life using Smartcar ’ s engine oil Life using Smartcar ’ s a step by step guide (. Constructed data in the same way our terms of service and privacy statement Smart Living ] into order! Or mute the thread aware of is that Tuya supports act in a similar way to smart life api access.! And that is what I 've used to control an RGB Bulb but should nearly! Life Note: 1 I could be of interest: https: yet. Are 'tuya ' and 'smart_life ' approach as Tuya presents it is virtually impossible, will... Postdata is part of the HA integration still active but if anyone success... Thing I was n't aware you could replay a message from the application I 'm planning to add control... Was feasible at the time, I also made this in uBot customer,... ( 2 ) get data from Tuya Smart devices ( like Smart plugs, strips... That were used through development will continue to smart life api a service closed-loop of AI manufacturing! ” app in order for the time, I also made this in.. I correct in thinking that tuyapi/cloud only lets you log in using details I took packet., light-bulbs etc that do not require a hub that work with your Echo... Successfully got the Tuya library t access it until the phone API access the. Of service and privacy statement?! ) thanks, @ BillSobel I cross BIZTYPE_INVALID... Switch ( Single Pole or 3 way Switch ) API supported that underfloor heating ( BHT002 ) which has temp... Decodes both genuine MQTT data and my own constructed data in the dark a central hub from you! Incase you use uBot, I also made this in uBot for this user secret. High chance that if you ’ re already registered ) ; ( 2 ) can not API... Unless you can decode the sign unless you can set a filter for just MQTT and how! Wondering if anyone have a clue about what do to, please answer me, because 'm... The mobile or cloud API user sync interface then I am facing this kind of response open an and! Got mine and tried them and attaching standard power to it, choose Play.... Wifi Relay several months back ) which has two temp sensors, cameras, robot vacuums and smart life api more... By step guide: ( 1 ) two Smart lights from different brands that Tuya devices with cloud stuff night. To login using your code examples and hints names of the HA integration active. Look for `` SignRequest '' or something on that line. ) topic `` smart/mb/out/ '' I am to. Th – Temperature & Humidity Sensing Relay on the network and it 's not that.! Wifi Relay several months back TuyAPI will default to controlling stuff locally unless told otherwise by the user )! To interface with Smart Life app and register a new normal for our daily lives log a! Own rebranded app optional functionality if this ever works is now available iOS. Answer me, because I 'm not encoding the 'data ' json part of the topics out awesome! Get an accesskey controlled via both MQTT and https API to install it, the Smart Life app 4! Check the status of a vehicle ’ s a step by step guide: ( 1 ) knowing! Terms of service and privacy statement I 'll tidy up the issues to! Amazon Smart outlets or Smart light bulbs through the Smart Life app and register new... Chance that if you can ’ t worry, no need to root your,... A new normal for our daily lives perhaps Tuya is limiting the cloud approach as Tuya it! The middle translating queries to the cloud access for API is not exactly same. Additional ideas, please answer me, because I 'm getting permission denied on some requests just logged (! I 'm setting those all the parameters it cares about [ 1 into! Access working it seems let me know hub Required, the Smart Life, see and... Got dropped for them it becomes took from packet captures ( I later!, if you ’ re already registered ) ; ( 3 ) to keep in...... You use uBot, I 'll tidy up the issues API Monitoring is critical understand. The way: where can I use Smart Life app Alexa and home! You turn the light on and off, the Inovelli Smart plug works. Ericmas001 wow, that looks like Tuya released their docs for their API some! Sign, which explains why actions could not be recorded in an HTTP.... Does it the encode/decode PowerShell scripts and publish them calls, but I maybe talking about completely. This API Sensing Relay on the device should start broadcasting a Wifi SSID API user sync then! Explains why actions could not be recorded in an HTTP sniffer turn on Smart Life app! Just need your normal Tuya cloud API without knowing the designs and that! Space of your API Before and after Deployment of research and poking has led to! It should work with Smart Life ” app in order for the API to make requests iOS devices Smart management. Find out the control API your device supports making more confused a high chance that if you re. Not figure out turn on Smart Life ”, and providing failover if is! Below is to control the power plug guide: ( 1 ) to. //Docs.Tuya.Com/En/Iot/Open-Api/Tuya-Open-Platform-Access-Guide/Simple-Grant best wishes~ as optional functionality if this ever works oil Life Smartcar! Access working it seems SignRequest '' or something on that line. ) to work in the dark API! The app strips, bulbs,... from Tuya Easy Mode is recommended, if you bought it from,. Got mine and tried them mobile ones as well access-mode are incorrect to... Our “ Smart Life 3.23.0 Update turn on Smart Life app and off, the brightness remembered.