Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/php
<?php
date_default_timezone_set('MST');
$debug = 0;
# $item[0] Item_name - OpenHAB item name
# $item[1] master_id - master_id, as listed by aprontest -l
# $item[2] aprontest attribute - attribute to monitor