0

I am trying to setup a smart energy meter and i plan to store and analyse that data.

In the market ewelink provides options to access my devices through API.

Due to government restrictions, i cannot import a ewelink compatible device. However, devices available in my country are mostly Tuya platform compatible.

I did not find sufficient documentation to see if Tuya compatible devices can be accessed via API or local intranet.

Can i access a Tuya platform device without Tuya App and directly via SDKs or APIs

Alternatively, can i connect a Tuya device to ewelink app

Sahil Ali
  • 172
  • 3
  • 15

1 Answers1

1

You asked:

Can i access a Tuya platform device without Tuya App and directly via SDKs or APIs

Yes - if your devices have already been registered in the cloud, and you have the credentials for the account they are registered to, then you can go to https://iot.tuya.com/ and access the devices or get keys which can be used locally with something like https://pypi.org/project/tinytuya/

This may not help you though as the only way I'm aware of to register devices to the tuya cloud is via the app. Registration is a one time process for each device, after which you can use APIs (without the app) to access the devices. Note that there are numerous versions of the tuya app which have been re-branded by the company selling the hardware. Underneath they appear to register devices to the same Tuya cloud.

Note: my experience is with Tuya lightglobes. Smart meters may or may not behave the same way.

Kim
  • 409
  • 3
  • 9
  • Thanks for the info. However, would this work as an end user? Example: I buy a smart device from companyA . Now i can register in the native app of companyA or use the generic app of Tuya. In that case will i be able to access my device at iot.tuya.com? – Sahil Ali May 16 '22 at 08:21
  • Yes. A year ago I purchased some standard retail re-branded Tuya light globes, registered them with app, and using free Tuya accounts I was able to access them via the tuya API. – Kim May 17 '22 at 11:32