This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- id: '************' | |
alias: Christmas tree | |
trigger: | |
- entity_id: switch.sonoff8 | |
from: 'off' | |
platform: state | |
to: 'on' | |
condition: [] | |
action: | |
- data: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof msg.on !== 'undefined') { | |
var cmd = (msg.on ? "on" : "off"); | |
var brightness = -1; | |
// logic for brightness | |
if (msg.on) { | |
if (msg.bri > 0) { | |
brightness = msg.bri; | |
var t = 0; | |
t = Math.floor(brightness * 2.55); | |
if (t == 254) { t = 255; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "4757e9d9.e3b448", | |
"type": "alexa-local", | |
"z": "e4a40a49.615548", | |
"devicename": "Office fan", | |
"inputtrigger": false, | |
"x": 658, | |
"y": 526, | |
"wires": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphomeyaml: | |
name: quin2 | |
platform: ESP32 | |
board: mhetesp32devkit | |
wifi: | |
ssid: '*********' | |
password: '**********' | |
mqtt: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphomeyaml: | |
name: kitchen_main | |
platform: ESP32 | |
board: mhetesp32devkit | |
wifi: | |
ssid: 'SSID' | |
password: 'password' | |
manual_ip: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphomeyaml: | |
name: drzz_quin | |
platform: ESP32 | |
board: mhetesp32devkit | |
wifi: | |
ssid: '*********' | |
password: '**********' | |
mqtt: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphomeyaml: | |
name: drzz_quin | |
platform: ESP32 | |
board: mhetesp32devkit | |
wifi: | |
ssid: '*********' | |
password: '**********' | |
mqtt: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch: | |
- platform: gpio | |
name: "printer_onboard_light" | |
id: printer_onboard_light | |
inverted: ON | |
pin: 2 | |
- platform: gpio | |
name: "dummy_click" | |
retain: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: aaa | |
platform: ESP32 | |
board: mhetesp32devkit | |
wifi: | |
ssid: "wifi_ssid" | |
password: "wifipassword" | |
# Enable logging |
OlderNewer