Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Martz martzcodes

View GitHub Profile
View gist:0903e3e55a5a90764724
COMMAND: Dusty Version
OUTPUT:
0.2.1
COMMAND: Dusty Binary
OUTPUT:
True
COMMAND: Daemon Warnings
OUTPUT:
View thanks.js
/* data=
[
{
"name":"asdf",
"values":[{"date":1398206589000,"temperature":94.9},{"date":1398206592000,"temperature":63.9},{"date":1398206595000,"temperature":77.6},{"date":1398206598000,"temperature":46.8}]
},{
"name":"sensor 2",
"values":[{"date":1398206589000,"temperature":82.8},{"date":1398206592000,"temperature":99.5},{"date":1398206595000,"temperature":5.6},{"date":1398206598000,"temperature":65.3},{"date":1398206601000,"temperature":35.5},{"date":1398206604000,"temperature":65.6},{"date":1398206607000,"temperature":24.1},{"date":1398206610000,"temperature":72.4},{"date":1398206613000,"temperature":35.5},{"date":1398206616000,"temperature":21.2},{"date":1398206619000,"temperature":46.6},{"date":1398206622000,"temperature":13.5},{"date":1398206625000,"temperature":99.7},{"date":1398206628000,"temperature":2.5},{"date":1398206631000,"temperature":73.3},{"date":1398206634000,"temperature":3.8},{"date":1398206637000,"temperature":3},{"date":1398206640000,"temperature":75.4},{"date":1398206643000,"
@martzcodes
martzcodes / smartthings_lan_discovery.groovy
Created Feb 5, 2014
smartthings_lan_discovery.groovy
View smartthings_lan_discovery.groovy
/**
* LANtest App
*
* Author: m@mattmartz.com
* Date: 2014-02-02
*/
preferences {
section("Local IP address...") {
input "ip", "text"
}
@martzcodes
martzcodes / MEAN-BRWRY Todo.md
Last active May 1, 2019
MEAN-BRWRY Todo List
View MEAN-BRWRY Todo.md
  • Complete re-write using new info/api endpoints
  • Get Rid of MongoDB, switch to JSON or SQLite (simpler installation)
  • At some point I’ll need to cross-link temp sensors and gpio pins (for PID control of things)
  • Install MEAN on Raspberry Pi
  • Read DS18B20 Temperatures on Raspberry Pi using Node.js
  • Read/Write Raspberry Pi GPIO ports using Node
  • Host MEAN Based Site
  • Display Temperatures on MEAN site (single page)
  • GPIO Port Interface on MEAN site (single page)
  • Display Status (updated 12/23/2013, been done for a while though)