thirug010 / Virtual-Tasmota-for-Tuya-api-devices

New Tuya firmware (1.0.7, 2.0, 3.3..) updates disable the OTA Flashing options at the moment, This feature allows you to use the non flashed Tuya devices as tasmota device along with tasmota flashed devices, most of the tasmota features is virtually available and it can be expanded.
MIT License
16 stars 0 forks source link

Complete Noob, need help! #5

Open christianzappa opened 4 years ago

christianzappa commented 4 years ago

Hi, trying to do this on a Ubuntu box, very limited experience.

I clone the git to my top level directory and followed the steps, I'm just unable to start the script. The usual response is node can't find it. Any chance for an in-depth walk-thru?

Thanks!

thirug010 commented 4 years ago

sure I will Video walk through for the installation / initial setup

christianzappa commented 4 years ago

@thirug010 any chance you have that video? I guess the bit I'm stuck on is running the nodemon script. I follow your steps but all I get is "- bash: nodemon: command not found"

christianzappa commented 4 years ago

worked out how to run it, now I just get this

Error: Cannot find module 'tuyapi' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/pi/Virtual-Tasmota-for-Tuya-api-devices/tuya_api_mqtt.js:162:14) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) [nodemon] app crashed - waiting for file changes before starting...

thirug010 commented 4 years ago

try npm install on the code folder should install all dependency including tuya-api