Skip to content

Instantly share code, notes, and snippets.

@FennelOne
FennelOne / echo.php
Created October 3, 2015 21:37 — forked from ghostbitmeta/echo.php
Amazon Echo PHP file to control Honeywell Thermostat through a python script
<?php
//https://www.ourace.com/145-amazon-echo-alexa-with-php-hello-world
$EchoJArray = json_decode(file_get_contents('php://input'));
$RequestType = $EchoJArray->request->type;
$JsonOut = GetJsonMessageResponse($RequestType,$EchoJArray);
$size = strlen($JsonOut);
header('Content-Type: application/json');
@FennelOne
FennelOne / therm.py
Created October 3, 2015 21:32 — forked from ghostbitmeta/therm.py
Python script to control Honeywell Thermostat's through My Total Connect
#!/usr/bin/python
# By Brad Goodman
# http://www.bradgoodman.com/
# brad@bradgoodman.com
####################### Fill in settings below #######################
USERNAME="your@emailaddress.com"
PASSWORD="your_total_comfort_password"