Skip to content

Instantly share code, notes, and snippets.

View ledor473's full-sized avatar

Louis-Etienne ledor473

View GitHub Profile
@ddkaiser
ddkaiser / gist:7ca1763f862190218a8fb006a6d325b5
Last active April 13, 2018 20:18
Just some research into an open-source home-automation solution using the Linear HUSBZB-1 device on Linux
GOAL: an open-source stack (OS, Drivers, Applications, Integrations) for home automation.
GOAL: self-hosted, and not allow private data to be exploited by Google, Amazon, Microsoft, or other (vendor-provided)
cloud-computing systems that offer services for integration and automation, but leach private data into corporate servers
GOAL: host on a Raspberry Pi, or similar Linux server host
GOAL: use radio device(s) that speaks directly to the Raspberry Pi (Linux host) without using a vendor-provided bridge.
This means I would prefer a USB device for Zigbee or Z-Wave, without using any device similar to the Samsung "SmartThings"
Hub, and thus can avoid it's requirements for subscription into Samsung cloud, with the benefit? of avoiding Samsung's
@wgbartley
wgbartley / Spark-DHT22.pde
Last active November 20, 2016 17:09
Class for reading DHT22 values on a Spark Core
#define MAXTIMINGS 85
#define cli noInterrupts
#define sei interrupts
#define DHT11 11
#define DHT22 22
#define DHT21 21
#define AM2301 21
@pbuyle
pbuyle / branches.groovy
Last active October 8, 2018 14:50
Groovy script to get a list of Git branches for a GitLab managed repository, usable with Jenkins Extensible Choice plugin.
project_id = 1
private_token = "XXXXXXXXXXXXXXXXXXXX"
return new groovy.json.JsonSlurper().parseText(new URL("https://git.pheromone.ca/api/v3/projects/"+project_id+"/repository/branches?private_token="+private_token).text).name
@zenorocha
zenorocha / README.md
Last active April 6, 2024 16:59
A template for Github READMEs (Markdown) + Sublime Snippet

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage