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

homebridge-lg-airco Error: spawn python3 ENOENT #10

Closed spalacioh closed 4 years ago

spalacioh commented 4 years ago

Hi beele,

I connected this plugin to Homebridge on Windows 10 and it connected ok but and soon as it stars running I am getting the following error. could you help figuring out the solution, please?

Error

spalacioh commented 4 years ago

I found the line causing the error in wideq.js file, I commented it out and added the code below.

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

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