Closed vespino closed 2 years ago
I don't know of any PHP ports of TuyAPI so you'd have to write it from scratch yourself. It's probably much easier to learn a little JS or Python. :)
Is it possible to provide me with the required payload for switches and lights so I can look into building an alternative?
This is a little outdated but might help you get started.
The best way to figure out the protocol is to look at existing source code.
Thanks, I will look into that.
I have been able to connect to the Cloud API using PHP which works, but I would like to see if it's possible to control my Tuya devices using PHP locally since I'm not familiar with node or python.