TuyaAPI / cli

🔧 A CLI for Tuya devices
MIT License
261 stars 44 forks source link

wizard does not show cid #163

Closed caco3 closed 1 year ago

caco3 commented 1 year ago

I have a Water Irrigation Timer (SOP18) from here: https://www.amazon.de/dp/B09P3VRVVB/ref=pe_27091401_487027711_TE_SCE_dp_2

the wizard shows following:

> tuya-cli wizard
? Do you want to use these saved API credentials? *** Yes
? Provide a 'virtual ID' of a device currently registered in the app: bf641c545b9e1920da14vi
[
  {
    name: 'Wi-Fi hub',
    id: 'bf641c545b9e1920da14vi',
    key: 'V+IuH~QWR`)v6A{r'
  },
  {
    name: 'Bewässerungscomputer',
    id: 'bf166cmaafamcows',
    key: 'U=bYOieeUKH6-O5x'
  }
]

So it seems not to be able to show the cid, how ever this seems to be an essential information to be able to use the device, see https://github.com/leeyuentuen/localtuya/issues/70#issuecomment-1609996010

caco3 commented 1 year ago

ok, I found the issue: I missed to add the Water Irrigation Timer to the Gateway. Odly it still got found by the wizard. but now as I added it (using the smart phone and the Smart Life app) I now also get the cid.