Tuya and OpenWrt

Hi,

Is there some way to send commands to a Tuya device from OpenWrt ?

Use case is a Tuya din rail wifi power switch, I need to switch on/off some lights

Thank you

How would we know the Tuya commands/protocol/etc.?

(Support links from their site)

1 Like

WHat do you mean ?

What do you mean by "commands" - be as explicit as possible

2 Likes

Tuya is an API for IoT. IT takes commands and returns results. Is there already something integrated with OpenWrt or the only way is bash+curl ?

if the search in top right corner didn't return anything useful

1 Like

Can this be ported to OpenWrt ?

Link doesn't work for me, but are you going to port an OS over an OS ?

2 Likes

... a cloud api...

1 Like

Home assistant has a tuya integration.

Plus quick google says home assistant on openwrt is at least possible.

But it sounds like you may be on your own here....

3 Likes