VoxCommando

Help and Support (Using VoxCommando) => Python Scripting => Topic started by: Haddood on August 18, 2014, 04:45:22 PM

Title: Nest Protect (and thermostate)
Post by: Haddood on August 18, 2014, 04:45:22 PM
I am looking into integrating Nest protect and eventually the thermostat when I install it this winter with VC.

I found a very good PHP script that do the job perfectly (https://github.com/gboudreau/nest-api/blob/master/nest.class.php) however I have no idea how to communicate with PHP from VC

as well I found a nice Python, sadly it does not include the Protect part (https://github.com/smbaker/pynest/blob/master/nest.py) ...

facing a cross road wither modify the python to work with Protect (which is a big challenge for my python knowledge that is close to 0) or find a way to handle PHP from VC ...

Any insights, comments or suggestions?
Title: Re: Nest Protect (and thermostate)
Post by: jitterjames on August 18, 2014, 05:07:01 PM
I don't think there is any way to run PHP in VC.  You might be able to run a webserver that supports PHP and then communicate with that.

It would probably make more sense to look at the code and see if you can figure out how it is communicating with the nest.  Maybe you only need to do scrape actions.