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
## Описание датчиков | |
sensor.gate.Open - ворота находятся в состоянии "полностью открыты" (сработал концевой выключатель) | |
sensor.gate.Close - ворота находятся в состоянии "полностью закрыты" (сработал концевой выключатель) | |
sensor.gate.Runing - ворота находятся в процессе движения (работает двигатель) | |
sensor.gate.Direction - указывает направление движения ворот. 1 - движение в торону закрывания, 0 - движение в сторону закрывания | |
sensor.gate.Button - кнопка при нажании которй ворота приводятся в действие (не с брелка) | |
sensor.gate.Open.Door - калитка на воротах в открытом состоянии (приводит к невозможности привести в движение или остановке движениея ворот) | |
## Состояния ворот (esphome: state) |
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
# MIB2YAML converts MIB files to YAML files for the Ruby SNMP library with support for imports | |
# | |
# The code is heavily based on http://snmplib.rubyforge.org/, the only addition is the "find imports" block | |
# | |
# modify for ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu] | |
# | |
# apt-get install smitools | |
require 'rubygems' | |
require 'fileutils' |
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
# source: https://trac.ffmpeg.org/wiki/CentosCompilationGuide | |
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel | |
mkdir ~/ffmpeg_sources | |
cd ~/ffmpeg_sources | |
curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
tar xzvf yasm-1.2.0.tar.gz | |
cd yasm-1.2.0 |