{"id":307579,"date":"2020-07-28T03:00:10","date_gmt":"2020-07-28T03:00:10","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=307579"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=307579","title":{"rendered":"dmx-priest: \u043f\u043b\u0435\u0435\u0440 \u0438 \u0440\u0435\u043a\u043e\u0440\u0434\u0435\u0440 DMX \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u0432\u0435\u0442\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/512734\/\">\n<h2>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h2>\n<p>\u042f \u0432\u043e\u043b\u043e\u043d\u0442\u0435\u0440\u044e \u0432 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438, \u043c\u044b \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0432\u0435\u0447\u0435\u0440\u0438\u043d\u043a\u0438, \u043a\u043e\u043d\u0446\u0435\u0440\u0442\u044b \u0438\u0442\u0434. <br \/>  \u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u043e\u0440\u043e\u0433\u0443\u0449\u0430\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u043c (Avolites Titan Quartz). \u0415\u0451 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0439 \u0438 \u0440\u0443\u0447\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041a\u043e\u043d\u0441\u043e\u043b\u044c \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u0438\u0442\u0441\u044f \u043a LAN2DMX \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 (dmXLAN Buddy) \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 Art-Net \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0432 \u0441\u0438\u0433\u043d\u0430\u043b \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 DMX \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c.<br \/>  \u041d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u0434\u0435\u0432\u0430\u0439\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0433 \u0431\u044b \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0441 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0438\u0433\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0441\u0435\u0442. \u0418\u043c \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0435\u0437 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u0438 \u043f\u0440\u0435\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0437\u0430 \u0434\u043e\u0440\u043e\u0433\u0438\u043c \u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c.<a name=\"habracut\"><\/a><\/p>\n<h2>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h2>\n<h3>\u0416\u0435\u043b\u0435\u0437\u043e<\/h3>\n<ul>\n<li>Raspberry Pi. \u041f\u043e\u0434\u043e\u0439\u0434\u0435\u0442, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043b\u044e\u0431\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0438\u043c\u0435\u044e\u0449\u0443\u044e\u0441\u044f \u0432\u0442\u043e\u0440\u0443\u044e<\/li>\n<li>LCD \u044d\u043a\u0440\u0430\u043d. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b 16\u04452 \u0441 \u0443\u0436\u0435 \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043d\u044b\u043c I2C \u0448\u0438\u043b\u0434\u043e\u043c<\/li>\n<li>Rotary Encoder. \u0427\u0442\u043e-\u0442\u043e \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u043a\u0430\u043a \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0432 \u0432\u0432\u043e\u0434\u0430. \u042f \u043a\u0443\u043f\u0438\u043b \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0439, \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u0430\u043c\u0438.<\/li>\n<li>\u041f\u0435\u0440\u0435\u043c\u044b\u0447\u043a\u0438. \u0418\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u0430, \u0435\u0441\u043b\u0438 \u043d\u0430\u043c\u0435\u0440\u0442\u0432\u043e \u043f\u0440\u0438\u043f\u0430\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043a \u0433\u0440\u0435\u0431\u0435\u043d\u043a\u0435 RPi<\/li>\n<li>\u041c\u0435\u043b\u043e\u0447\u0435\u0432\u043a\u0430: \u043a\u043e\u0440\u043f\u0443\u0441, usb micro \u043a\u0430\u0431\u0435\u043b\u044c, \u043a\u043d\u043e\u043f\u043a\u0430 \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/li>\n<\/ul>\n<h4>\u0421\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c<\/h4>\n<p><b>\u0414\u0438\u0441\u043f\u043b\u0435\u0439<\/b>:<\/p>\n<ul>\n<li>GND \u043d\u0430 Pin 6 (Ground)<\/li>\n<li>VCC \u043d\u0430 Pin 4 (5V power)<\/li>\n<li>SDA \u043d\u0430 Pin 3 (GPIO 2)<\/li>\n<li>SLC \u043d\u0430 Pin 5 (GPIO 3)<\/li>\n<\/ul>\n<p><b>\u041a\u0440\u0443\u0442\u0438\u043b\u043a\u0443<\/b>:<\/p>\n<ul>\n<li>CLK \u043d\u0430 Pin 12 (GPIO 18)<\/li>\n<li>DT \u043d\u0430 Pin 13 (GPIO 27)<\/li>\n<li>SW \u043d\u0430 Pin 11 (GPIO 17)<\/li>\n<li>+ \u043d\u0430 Pin 1 (3V3 power)<\/li>\n<li>GND \u043d\u0430 Pin 14 (Ground)<\/li>\n<\/ul>\n<p><b>\u041f\u0438\u0442\u0430\u043d\u0438\u0435<\/b>:<br \/>  \u042f \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0437\u0434\u0440\u0430\u043a\u043e\u043d\u0438\u043b micro USB \u043a\u0430\u0431\u0435\u043b\u044c, \u043f\u043e\u0434\u043f\u0430\u044f\u043b \u043a\u043d\u043e\u043f\u043a\u0443. \u0412\u044b\u0432\u0435\u043b \u043d\u0430\u0440\u0443\u0436\u0443 \u043a\u0440\u0443\u0433\u043b\u044b\u0439 \u0440\u0430\u0437\u044a\u0435\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0442\u0430\u043a\u0438\u043c \u043f\u0440\u043e\u0449\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/p>\n<h3>\u0421\u043e\u0444\u0442<\/h3>\n<h4>\u041e\u0441\u044c<\/h4>\n<p>\u0411\u0435\u0440\u0435\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 Raspberry Pi OS (32-bit) Lite \u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u043d\u0430 SD \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f Etcher.<br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u0430\u0439\u043b \u00abssh\u00bb \u0432 \/boot \u0447\u0442\u043e\u0431 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c SSH, \u0442\u043a \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u0438 \u043a\u043b\u0430\u0432\u0443.SSH \u0432 RPi:<\/p>\n<pre><code class=\"bash\">youruser@homepc:~ $ ssh pi@[Pi-IP-address]<\/code><\/pre>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439:<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ sudo apt-get update pi@raspberrypi:~ $ sudo apt-get dist-upgrade<\/code><\/pre>\n<h4>Open Lightning Architecture<\/h4>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f \u0431\u0438\u043b\u0434\u0430 \u0441\u0435\u0440\u0434\u0446\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u0434\u0435\u0432\u0430\u0439\u0441\u0430 \u2014 Open Lightning Architecture.<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ sudo apt-get install git autoconf libtool bison flex uuid-dev libcppunit-dev python-protobuf python-numpy protobuf-compiler  libmicrohttpd-dev libprotoc-dev i2c-tools python3-smbus python3-gpiozero python3-pip3 pi@raspberrypi:~ $ git clone https:\/\/github.com\/OpenLightingProject\/ola.git pi@raspberrypi:~ $ cd ola<\/code><\/pre>\n<p>\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c. \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u043b\u0435\u043d\u044c, \u0434\u0430 \u0438 \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0438\u043a\u0442\u043e \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u0432\u043e\u0432\u043d\u0443\u0442\u0440\u044c \u043d\u0435 \u0437\u0430\u0433\u043b\u044f\u043d\u0435\u0442. \u0437\u0430\u0439\u043c\u0435\u0442 \u043e\u0447 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u043d\u0430 RPi 2 \u0438 \u0442\u043e\u0440\u043c\u043e\u0437\u043d\u0443\u0442\u043e\u0439 SD \u043a\u0430\u0440\u0442\u0435 \u044f \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u043d\u0430 \u043d\u043e\u0447\u044c.<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~\/ola $ autoreconf -i pi@raspberrypi:~\/ola $ .\/configure --enable-rdm-tests pi@raspberrypi:~\/ola $ make pi@raspberrypi:~\/ola $ sudo make install<\/code><\/pre>\n<p>\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043b\u0438\u0431\u044b \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~\/ola $ sudo ldconfig pi@raspberrypi:~\/ola $ olad -l 3<\/code><\/pre>\n<p>\u0438\u0434\u0435\u043c \u043d\u0430 http:\/\/[Pi-IP-address]:9090\/ola.html \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e\u0431 \u0432\u0441\u0435 \u043e\u0442\u043a\u0440\u044b\u043b\u043e\u0441\u044c. \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u0435\u043c, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0448\u0430\u043c\u0430\u043d\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0431\u0435\u0437 \u043d\u0435\u0433\u043e.<br \/>  \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f systemd<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ sudo nano \/etc\/systemd\/system\/olad.service [Unit] Description=OLA daemon After=network.target StartLimitIntervalSec=0  [Service] Type=simple Restart=always RestartSec=1 User=pi ExecStart=olad  [Install] WantedBy=multi-user.target<\/code><\/pre>\n<p>\u0438 \u0437\u0430\u0441\u0443\u043d\u0435\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ sudo systemctl start olad pi@raspberrypi:~ $ sudo systemctl enable olad<\/code><\/pre>\n<h4>I2C<\/h4>\n<p>\u043d\u0443\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c I2C \u0447\u0442\u043e\u0431 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 \u0434\u0438\u0441\u043f\u043b\u0435\u0435\u043c<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ sudo raspi-config<\/code><\/pre>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u00abInterfacing Options\u00bb &gt; \u00abI2C\u00bb &gt; \u00abenable\u00bb \u0438 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f.<br \/>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0430\u0434\u0440\u0435\u0441 \u0434\u0438\u0441\u043f\u043b\u0435\u044f \u043d\u0430 \u0448\u0438\u043d\u0435 I2C, \u043e\u043d \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~\/dmx-priest $ sudo i2cdetect -y 1<\/code><\/pre>\n<p>\u041c\u043e\u0439 \u0431\u044b\u043b 3f, \u0435\u0433\u043e \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 RPi_I2C_driver.py. \u041f\u043e \u0438\u0434\u0435\u0435 \u043b\u0443\u0447\u0448\u0435 \u0431\u044b \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u043d\u043e \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c \u0434\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e.<\/p>\n<h4>\u0421\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0439 IP<\/h4>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0443\u043c\u0435\u044e \u0432 \u0431\u0440\u043e\u0430\u0434\u043a\u0430\u0441\u0442, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0442\u0430\u043a \u0447\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0439 IP \u0432 \u0430\u0434\u0440\u0435\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u043c \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u043c \u0432\u0441\u0435\u043c dmx \u0434\u0435\u0432\u0430\u0439\u0441\u0430\u043c.<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ sudo nano \/etc\/dhcpcd.conf # Example static IP configuration: interface eth0 static ip_address=2.150.43.69\/24 static routers=2.124.1.1 static domain_name_servers=2.124.1.1<\/code><\/pre>\n<h3>dmx-priest<\/h3>\n<p>\u0421\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0438\u0441\u043f\u043b\u0435\u0435\u043c, \u043a\u0440\u0443\u0442\u0438\u043b\u043a\u043e\u0439 \u0438 ola. Python \u043d\u0435 \u0437\u043d\u0430\u044e, PR \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e.<br \/>  \u0414\u0435\u0440\u0433\u0430\u0435\u0442 ola_patch \u0447\u0442\u043e\u0431 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u0432\u043e\u0434 (\u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0441 \u043a\u043e\u043d\u0441\u043e\u043b\u0438) \u0438\u043b\u0438 \u043d\u0430 \u0432\u044b\u0432\u043e\u0434 (\u0447\u0442\u043e\u0431 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0439). \u0414\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 ola_recorder.<br \/>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ sudo pip3 install git+https:\/\/github.com\/Virusmater\/dmx-priest<\/code><\/pre>\n<p>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443<\/p>\n<pre><code class=\"bash\">pi@raspberrypi:~ $ nano \/etc\/systemd\/system\/dmx-priest.service  [Unit] Description=dmx-priest Requires=olad.service After=network.target olad.service StartLimitIntervalSec=0  [Service] Type=simple Restart=always RestartSec=1 User=pi ExecStart=dmx-priest  [Install] WantedBy=multi-user.target  pi@raspberrypi:~ $ sudo systemctl start dmx-priest pi@raspberrypi:~ $ sudo systemctl enable dmx-priest<\/code><\/pre>\n<h2>\u042e\u0437\u0430\u0435\u043c<\/h2>\n<p><img decoding=\"async\" height=\"100\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3e0\/bd0\/24b\/3e0bd024b6a444e79a90271c028a05f7.jpg\" alt=\"image\"><\/p>\n<ul>\n<li>\u041a\u0440\u0443\u0442\u0438\u043c \u0432\u043f\u0440\u0430\u0432\u043e 20 \u0440\u0430\u0437 \u0447\u0442\u043e\u0431 \u043d\u0430\u0439\u0442\u0438 \u0440\u0435\u0436\u0438\u043c \u0437\u0430\u043f\u0438\u0441\u0438. 20 \u0440\u0430\u0437 \u0447\u0442\u043e\u0431 \u044e\u0437\u0435\u0440\u044b \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0435 \u043d\u0430\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0438 \u0432\u0441\u044f\u043a\u043e\u0433\u043e. \u041d\u0430\u0434\u043f\u0438\u0441\u044c \u043d\u0430 \u0434\u0438\u0441\u043f\u043b\u0435\u0435: \u00abRecord mode \u2014 push the knob\u00bb.<\/li>\n<li>\u041d\u0430\u0434\u0436\u0438\u043c\u0430\u0435\u043c: \u00abReady to record \u2014 push to start\u00bb<\/li>\n<li>\u041f\u043e\u0434\u0433\u043e\u0442\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f. \u041d\u0430\u0441\u0442\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0432\u0435\u0442 \u043d\u0430 \u043d\u0443\u0436\u043d\u044b\u0439 \u043b\u0430\u0434<\/li>\n<li>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0438\u0441\u0438: \u00abRec in progress \u2014 push to stop\u00bb<\/li>\n<li>\u0416\u0434\u0435\u043c \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0432\u0440\u0435\u043c\u044f, \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u044b \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438.<\/li>\n<li>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u0447\u0442\u043e\u0431 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c. \u041d\u0430\u0441 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u043c\u0435\u043d\u044e: \u00abPlay mode \u2014 push the knob\u00bb<\/li>\n<li>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u0447\u0442\u043e\u0431 \u0432\u043e\u0439\u0442\u0438 \u0432 \u043c\u0435\u043d\u044e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f. \u0421\u0432\u0435\u0436\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b\u0439 \u043f\u0440\u0435\u0441\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 YYYY.mm.dd HH:MM<\/li>\n<li>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u043f\u0440\u0435\u0441\u0435\u0442 \u0438\u043b\u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 99_blackout \u0447\u0442\u043e\u0431 \u0432\u044b\u0439\u0442\u0438 \u0438 \u043f\u043e\u0433\u0430\u0441\u0438\u0442\u044c \u0432\u0441\u0435 \u043e\u0433\u043d\u0438<\/li>\n<\/ul>\n<h2>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438<\/h2>\n<p><a href=\"https:\/\/github.com\/Virusmater\/dmx-priest\" rel=\"nofollow\">https:\/\/github.com\/Virusmater\/dmx-priest<\/a><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/512734\/\"> https:\/\/habr.com\/ru\/post\/512734\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/512734\/\">\n<h2>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h2>\n<p>\u042f \u0432\u043e\u043b\u043e\u043d\u0442\u0435\u0440\u044e \u0432 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438, \u043c\u044b \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0432\u0435\u0447\u0435\u0440\u0438\u043d\u043a\u0438, \u043a\u043e\u043d\u0446\u0435\u0440\u0442\u044b \u0438\u0442\u0434. <br \/>  \u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u043e\u0440\u043e\u0433\u0443\u0449\u0430\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u043c (Avolites Titan Quartz). \u0415\u0451 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0439 \u0438 \u0440\u0443\u0447\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041a\u043e\u043d\u0441\u043e\u043b\u044c \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u0438\u0442\u0441\u044f \u043a LAN2DMX \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 (dmXLAN Buddy) \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 Art-Net \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0432 \u0441\u0438\u0433\u043d\u0430\u043b \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 DMX \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c.<br \/>  \u041d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u0434\u0435\u0432\u0430\u0439\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0433 \u0431\u044b \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0441 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0438\u0433\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0441\u0435\u0442. \u0418\u043c \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0435\u0437 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u0438 \u043f\u0440\u0435\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0437\u0430 \u0434\u043e\u0440\u043e\u0433\u0438\u043c \u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-307579","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=307579"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307579\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=307579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=307579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=307579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}