Author Topic: Nest Protect (and thermostate)  (Read 1892 times)

0 Members and 2 Guests are viewing this topic.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Nest Protect (and thermostate)
« 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?
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Nest Protect (and thermostate)
« Reply #1 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.