This file contains 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
const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); | |
const tz = require('zigbee-herdsman-converters/converters/toZigbee'); | |
const exposes = require('zigbee-herdsman-converters/lib/exposes'); | |
const utils = require('zigbee-herdsman-converters/lib/utils'); | |
const reporting = require('zigbee-herdsman-converters/lib/reporting'); | |
const extend = require('zigbee-herdsman-converters/lib/extend'); | |
const tuya = require('zigbee-herdsman-converters/lib/tuya'); | |
const e = exposes.presets; | |
const ea = exposes.access; |
This file contains 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
substitutions: | |
device_name: Gate | |
esphome: | |
name: gate | |
platform: ESP8266 | |
board: d1_mini | |
on_boot: | |
priority: 600 | |
then: |
This file contains 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
substitutions: | |
room: Garage | |
device_name: Garage Switch | |
esphome: | |
name: garage_switch | |
platform: ESP8266 | |
board: esp01_1m | |
wifi: |
This file contains 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
#include "esphome.h" | |
const extern short STATE_UNKNOWN = 0; | |
const extern short STATE_CLOSED = 1; | |
const extern short STATE_OPENING = 2; | |
const extern short STATE_OPEN = 3; | |
const extern short STATE_OPENING_INTERRUPTED = 4; | |
const extern short STATE_CLOSING = 5; | |
const extern short STATE_CLOSING_INTERRUPTED = 6; |
This file contains 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
{ | |
"Image": { | |
"Size": { | |
"Width": 3049, | |
"Height": 2105 | |
}, | |
"FileNodeId": 12525, | |
"Url": "/media/5165/r11796_z11904_t3780_150x150_none_landscape.jpeg", | |
"FileSize": 869449, | |
"ModifiedOn": "2016-03-18T19:14:48" |