codetheweb / tuyapi

🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi.
MIT License
2.1k stars 343 forks source link

I dont know where to find "command line" from the last step #512

Closed Markobu98 closed 3 years ago

Markobu98 commented 3 years ago

So I have gotten so far that all my devices are shown up and now I need to enter "tuya-cli wizard" in some command line. However I dont know which command line I should paste this in

codetheweb commented 3 years ago

Did you run npm i @tuyapi/cli -g yet? If so, just run tuya-cli wizard in the same place. If not, it depends on your OS. Terminal for macOS / Linux, Command Prompt for Windows.

Markobu98 commented 3 years ago

So I got to type "tuya-cli wizard" in to the command line of my OS (I have HASS.OS installed on a rpi39 I have tried typing it into the command line of my pi in home assistant, using ssh&web terminal

codetheweb commented 3 years ago

I'm not entirely sure what you're saying. I believe the web terminal you're talking about should work for it.

Markobu98 commented 3 years ago

I have tried typing it in the command line you can access via the add-on in home assistant. However it said command not found

codetheweb commented 3 years ago

Did you run npm i @tuyapi/cli -g?

Markobu98 commented 3 years ago

I did but it said command not found