[Question] Do requests manually (http)
Aaroneisele55 opened this issue · 1 comments
Aaroneisele55 commented
Hello,
I want to integrate my tuya plugs that all work with the tuyapi module into some device that needs urls for http requests.
How can i do this (urls should be like "http://IP:Port/?on=true" so the device can activate them using GET requests)
Is there kind of a template that i can modify to suit my Devices?
Thanks
Aaron
Apollon77 commented
You need to write a JavaScript program which actually does that ... The library will only help to get status und control the tuya devices. it do not offer an HTTP interface