EspEasy sensor data to Tuya Platform

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
borre
Normal user
Posts: 15
Joined: 27 Feb 2020, 14:53

EspEasy sensor data to Tuya Platform

#1 Post by borre » 28 Jan 2023, 13:14

I have a espeasy device with a temp/humanity sensor.
It works fine.

But I was wondering can I send this data to Tuya platform so I can use it to controll my tuya controlled heating and airconditioning?

I already have a tuya temp/hum sensor but it updates to slow ( one time per hour)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EspEasy sensor data to Tuya Platform

#2 Post by TD-er » 28 Jan 2023, 14:16

I have no idea what this platform requires.
Does it have some API documentation?

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: EspEasy sensor data to Tuya Platform

#3 Post by iron » 28 Jan 2023, 16:22

TD-er wrote: 28 Jan 2023, 14:16 I have no idea what this platform requires.
Does it have some API documentation?
https://github.com/codetheweb/tuyapi
-D

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EspEasy sensor data to Tuya Platform

#4 Post by TD-er » 28 Jan 2023, 18:32

That does look like a JavaScript implementation of the protocol. but I didn't see a full description of the low level protocol.
So still no idea whether an existing controller or command may already be used from the rules to interact with this platform.

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: EspEasy sensor data to Tuya Platform

#5 Post by Ath » 28 Jan 2023, 18:55

There is this Tuya developer docs, but I see 2 major blockers before we can implement this:
- Using these services requires HTTPS a connection
- Time versus gain for implementing a controller for this

This is the first ever request for connecting to Tuya devices that I have seen, maybe the requester can work out a preliminary Controller, and possibly a plugin to accompany that if needed, but as said, the HTTPS requirement will delay that for some time, and impose a couple of restrictions/limitations, f.e. only being available for ESP32.

This can be added to the longer-term TODO list though, sometime in the future this will be possible, after some of the limitations have been removed.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EspEasy sensor data to Tuya Platform

#6 Post by TD-er » 28 Jan 2023, 20:17

In the link given, was also a link to some MQTT tuya interface. So perhaps this can be run on some host to allow regular MQTT stuff to be used?

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: EspEasy sensor data to Tuya Platform

#7 Post by Ath » 28 Jan 2023, 20:53

But, unfortunately, that tuya-MQTT project has been stopped/abandoned over 2 years ago :?
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EspEasy sensor data to Tuya Platform

#8 Post by TD-er » 28 Jan 2023, 23:27

Ah, that's not very promising...

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests