Skip to content

Instantly share code, notes, and snippets.

@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
/*
* 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
@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
*
esphome:
name: shade
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi
password: !secret wifi_pw
# Enable logging
###Configuration.yaml#####
ios:
push:
categories:
- name: cameras
identifier: 'camera'
actions:
- identifier: 'TRIGGER_ALARM'
title: 'Trigger Alarm'
destructive: 'true'
## this part goes in configuration.yaml
input_number:
office_blinds_tilt:
name: Office Blinds Tilt
initial: 0
min: -100
max: 100
step: 1
mode: slider
substitutions:
devicename: ttgocam
friendly_name: test esp32cam
ip_address: 192.168.1.230
esphome:
name: $devicename
platform: ESP32
board: esp-wrover-kit
esphome:
name: blinds
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi
password: !secret wifi_pw
debug:
esphome:
name: m5cam_esp32_camera
platform: ESP32
board: m5stack-core-esp32
wifi:
ssid: !secret wifi
password: !secret wifi_pw
# Enable logging