beele / HomebridgeLgSmartThinqAirco

Homebridge plugin for controlling a split unit LG SmartThinq Airco unit
GNU General Public License v3.0
30 stars 7 forks source link

Not working on Windows 10 #5

Closed LAKY911 closed 5 years ago

LAKY911 commented 5 years ago

Hi, I get this error message on Win 10. Any way how to fix this? Thank you.

Error: spawn python3 ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:834:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

beele commented 5 years ago

Do you have python3 installed and on the path?

spalacioh commented 4 years ago

same thing happened to me, I just fixed updating the code in wideq.js

//const pythonProcess = spawn('python', pythonArgs);

        const cp = require('child_process');
        const pythonProcess = cp.spwan('python', pythonArgs);