Skip to content

Instantly share code, notes, and snippets.

@Snipercaine
Snipercaine / d1mini_vixen_multi_pin.ino
Created January 8, 2019 19:30
Vixen E1.31 control w/ multiple pins
/*
* ESP8266_NeoPixel.ino - Simple sketch to listen for E1.31 data on an ESP8266
* and drive WS2811 LEDs using the NeoPixel Library
*
* == Requires Adafruit_NeoPixel - http://github.com/adafruit/Adafruit_NeoPixel
*
* Project: E131 - E.131 (sACN) library for Arduino
* Copyright (c) 2015 Shelby Merrick
* http://www.forkineye.com
*
##############################################################################
# Automations for handling toggle state buttons on page 3
automation:
# Set font and text for toggle buttons on device connection
- alias: hasp_bench_p6_ToggleInit
trigger:
- platform: state
entity_id: 'binary_sensor.bench_connected'
to: 'on'
- platform: homeassistant
/*
* ESP8266_NeoPixel.ino - Simple sketch to listen for E1.31 data on an ESP8266
* and drive WS2811 LEDs using the NeoPixel Library
*
* == Requires Adafruit_NeoPixel - http://github.com/adafruit/Adafruit_NeoPixel
*
* Project: E131 - E.131 (sACN) library for Arduino
* Copyright (c) 2015 Shelby Merrick
* http://www.forkineye.com
*
@Snipercaine
Snipercaine / aden.dash
Created December 5, 2018 18:09
My_HA_dashboard.dash
##
## Main arguments, all optional
##
title: Main Panel
widget_dimensions: [120, 120]
widget_size: [1, 1]
widget_margins: [5, 5]
columns: 10
global_parameters:
use_comma: 0
############## Configuration.yaml ###################
konnected:
access_token: !secret konnected_token
api_host: http://192.168.1.71:8123
devices:
- id: dc4ggggb4c4
binary_sensors:
- zone: 1
type: door
name: Front Door
- alias: holiday_lights
initial_state: True
trigger:
platform: time
at: "20:40:00"
# platform: sun
# event: sunset
action:
service: input_select.select_option
entity_id: input_select.holiday
#ThermoZztat
# These are example segments meant to be copied into the 3 main files.
############### Examples for Configuration.yaml ###############
switch:
- platform: mqtt
name: "Upstairs Fan"
command_topic: "cmnd/ThermoZztat/POWER1"
state_topic: "stat/ThermoZztat/POWER1"
qos: 1
@Snipercaine
Snipercaine / Broadlink.yaml
Created September 27, 2018 18:18
Broadlink IR and Home Assistant - Examples for Config and Automations
@Snipercaine
Snipercaine / WandBox_automation.yaml
Last active September 4, 2018 17:04
IoT Adventures WandBox and Dragon Automations
##### Automations required for the WandBox and the Dragon
- alias: Start Quest
trigger:
- platform: state
entity_id: switch.start_quest
to: 'on'
action:
- service: media_player.select_source
data:
@Snipercaine
Snipercaine / WandBox_config.yaml
Last active October 3, 2018 23:11
IoT Adventures WandBox partial HA Configuration
###### This is not a complete Configuration.yaml file; Add what's here to your config.
switch:
- platform: mqtt
name: WandBox Lock #Switch 1 & Relay 1
state_topic: "stat/Wandbox/POWER1"
command_topic: "cmnd/Wandbox/power1"
payload_lock: "ON"
payload_unlock: "OFF"
optimistic: false
qos: 1