This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

integrated with Tuya IOT Products
#1
hello 
How could we connect IoT Products which compatible with the Tuya app with OUR LM, SL, HL?
is it possible and How.

regards.
Reply
#2
Hello.
If Tuya devices are based on ESP8266 or ESP8285, you can install Tasmota firmware (https://tasmota.github.io/docs/) to use mqtt. You also need:
    A mqtt broker, for example mosquitto, running on a PC or a raspberry or similar.
    If you want to use the logic machine itself as a broker, here is an example https://forum.logicmachine.net/showthread.php?tid=2505.
An mqtt client, in this case Logic machine with a Lua script, here is an example of when I asked in the forum how to do it https://forum.logicmachine.net/showthread.php?tid=2649.

I hope you find it useful.
P.S. Be careful that some Tuya devices lately come with realtek wifi and not ESP.
Reply
#3
(17.03.2021, 10:17)JRP Wrote: Hello.
If Tuya devices are based on ESP8266 or ESP8285, you can install Tasmota firmware (https://tasmota.github.io/docs/) to use mqtt. You also need:
    A mqtt broker, for example mosquitto, running on a PC or a raspberry or similar.
    If you want to use the logic machine itself as a broker, here is an example https://forum.logicmachine.net/showthread.php?tid=2505.
An mqtt client, in this case Logic machine with a Lua script, here is an example of when I asked in the forum how to do it https://forum.logicmachine.net/showthread.php?tid=2649.

I hope you find it useful.
P.S. Be careful that some Tuya devices lately come with realtek wifi and not ESP.

Thank You JRP 
Appreciate your reply.
Reply
#4
they are support API but I don't know if it's compatible with LM
Could admin verify if it's possible or not to integrate Tuya via API in LM

Please see these links: 
https://github.com/codetheweb/tuyapi
https://developer.tuya.com/en/docs/iot/p...1dldk26u64
Reply
#5
MQTT integration is the easiest solution by far
Reply


Forum Jump: