{"id":193572,"date":"2013-09-13T14:10:02","date_gmt":"2013-09-13T10:10:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=193572"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=193572","title":{"rendered":"<span class=\"post_title\">\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043b\u044e\u0431\u043e\u0439 AV \u0442\u0435\u0445\u043d\u0438\u043a\u043e\u0439 \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430. \u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043e-\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a \u0434\u043b\u044f RaspBerry<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/f1d\/e65\/621\/f1de65621adc6cec274eea9dfb2c2923.jpg\" align=\"left\"\/><br \/>  \u041f\u043e\u0442\u0438\u0445\u043e\u043d\u044c\u043a\u0443 \u0434\u0435\u043b\u0430\u044e \u0441\u0432\u043e\u0439 \u0434\u043e\u043c \u043d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u0443\u043c\u043d\u0435\u0435. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u043e\u043c \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043b\u0430\u0442\u044b \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f RaZBerry (Z-Wave) \u0434\u043b\u044f RaspBerry, \u0437\u0430\u0442\u0435\u043c \u0443\u0432\u043b\u0435\u043a\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 AVR \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0438 \u0441\u043e\u0431\u0440\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u043d\u0430 LED \u0434\u0438\u0441\u043f\u043b\u0435\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043e\u0448\u043b\u0430 \u0434\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f TV \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e iPhone. <br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0435\u0434\u0438\u0430\u043f\u043b\u0435\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e RaspBerry \u0441 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u043c Xbian, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043f\u043e\u043d\u044f\u043b \u043a\u0430\u043a \u0431\u0443\u0434\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u043c. RaspBerry \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043f\u043e\u043b\u043e\u0447\u043a\u0435 \u043f\u043e\u0434 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u043c \u0432 \u043f\u0440\u044f\u043c\u043e\u0439 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u041d\u0430 \u043e\u0434\u0438\u043d \u0438\u0437 \u0432\u044b\u0432\u043e\u0434\u043e\u0432 GPIO \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0418\u041a LED \u043e\u0442 \u043f\u0443\u043b\u044c\u0442\u0430 \u0438 \u043f\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043e\u0439 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440. \u0412 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0437\u0430\u0442\u0435\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0439! <br \/>  \u0414\u0430\u043b\u0435\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043f\u0430\u044f\u0442\u044c \u043f\u043b\u0430\u0442\u0443 \u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043e-\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u043b\u044f RaspBerry \u0438 \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u043e\u0444\u0442, \u0447\u0442\u043e\u0431\u044b \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043a\u0430\u043d\u0430\u043b\u044b, \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c, \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440. <br \/>  <a name=\"habracut\"><\/a><br \/>  \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f TV \u043d\u0443\u0436\u0435\u043d \u0418\u041a \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a, \u0430 \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c TV \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u0443\u043b\u044c\u0442, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u0435\u043d \u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043b\u0430\u0442\u0430 \u0434\u043b\u044f RaspBerry \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0438 \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a. \u041f\u043b\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u043c\u0430\u043b\u043e \u043c\u0435\u0441\u0442\u0430 \u0438 \u043d\u0430\u0434\u0435\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 GPIO. \u041f\u0440\u0438\u0435\u043c\u043d\u0438\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 GPIO 11, \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a GPIO 9, \u043f\u043b\u044e\u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435 3.3\u0412 \u0438 \u0437\u0435\u043c\u043b\u044f, \u0438\u0442\u043e\u0433\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u043e 4 \u0432\u044b\u0432\u043e\u0434\u0430.<br \/>  \u0412\u043e\u0442 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043f\u043b\u0430\u0442\u044b:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/f19\/ffb\/33f\/f19ffb33fc85bb77cb1a70f3412a8b8b.png\"\/><br \/>  \u0412 \u0435\u0435 \u0441\u043e\u0441\u0442\u0430\u0432 \u0432\u0445\u043e\u0434\u044f\u0442:<br \/>  1) R1 \u2014 270 \u041e\u043c (\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440)<br \/>  2) R2 \u2014 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b<br \/>  3) Q1 \u2014 BC547 (\u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440 \u0434\u043b\u044f \u0443\u0441\u0438\u043b\u0435\u043d\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u0430)<br \/>  4) D1 \u2014 \u0418\u041a LED \u0438\u0437 \u043f\u0443\u043b\u044c\u0442\u0430 36-38 \u041a\u0433\u0446 (\u0418\u041a \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a)<br \/>  5) IR \u2014 TSOP1738 (\u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a)<\/p>\n<p>  \u041d\u0430 \u0440\u0438\u0441\u0443\u043d\u043a\u0435 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e \u043a\u0430\u043a\u0443\u044e \u0437\u043e\u043d\u0443 GPIO \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u044c \u0438 \u043a\u0430\u043a\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/312\/af3\/4a2\/312af34a2305948726a760badf63c931.png\"\/><\/p>\n<p>  \u0421\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043b\u0430\u0442\u0443 \u0432 Sprint-Layout.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/e11\/bd7\/6bd\/e11bd76bd1c3a06069852f98c1ba41fc.png\"\/><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u041b\u0423\u0422 \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u0438\u043b \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0443\u044e \u043f\u043b\u0430\u0442\u0443.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/aab\/995\/f03\/aab995f03224f370b5439dc8418d9a3c.jpg\"\/><\/p>\n<p>  \u0421\u043f\u0430\u044f\u043b:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/f1d\/e65\/621\/f1de65621adc6cec274eea9dfb2c2923.jpg\"\/><\/p>\n<p>  \u0418 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u0432 RaspBerry, \u043c\u043e\u0434\u0443\u043b\u044c \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0438\u0436\u043d\u0438\u0435 5\u04452 \u0432\u044b\u0432\u043e\u0434\u043e\u0432 GPIO, \u0447\u0442\u043e\u0431\u044b \u043a\u0440\u0435\u043f\u0447\u0435 \u0434\u0435\u0440\u0436\u0430\u043b\u0430\u0441\u044c. \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043d\u044f\u0442\u044c \u0438 5\u04451 \u0432\u044b\u0432\u043e\u0434\u043e\u0432.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/7ba\/036\/6d7\/7ba0366d7bbfcd320e73cc76bc958f9e.jpg\"\/><\/p>\n<p>  \u041f\u043b\u0430\u0442\u0430 \u0433\u043e\u0442\u043e\u0432\u0430 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0438\u043d\u0443\u0441\u043e\u0432 \u043e\u0442\u043c\u0435\u0447\u0443, \u0432\u043e \u043f\u0435\u0440\u0432\u044b\u0445 \u044f \u043d\u0435 \u0440\u0430\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043b \u043d\u043e\u043c\u0438\u043d\u0430\u043b\u044b \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u043e\u0432, \u0432\u0437\u044f\u043b \u0442\u0435 \u0447\u0442\u043e \u0431\u044b\u043b\u0438, \u0435\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u043d\u043e\u043c\u0438\u043d\u0430\u043b\u044b, \u044f \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u044e \u0441\u0442\u0430\u0442\u044c\u044e, \u0432\u043e \u0432\u0442\u043e\u0440\u044b\u0445 \u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u0438\u0439 \u0438 \u0432 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u043a\u043e\u0440\u043f\u0443\u0441 RaspBerry \u043d\u0435 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a \u043d\u0430 38\u041a\u0433\u0446.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0444\u0442, \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0440\u0430\u0437\u043b\u043e\u0436\u0443 \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e:<br \/>  1) Lirc \u0434\u043b\u044f \u0441\u0447\u0438\u0442\u044b\u0432\u043d\u0438\u044f \u043f\u0443\u043b\u044c\u0442\u0430 \u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0418\u041a \u043a\u043e\u043c\u0430\u043d\u0434<br \/>  2) \u0421\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 HTTP \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0418\u041a \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u0447\u0435\u0440\u0435\u0437 lirc<br \/>  3) \u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0435 HTTP \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0443<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u043e\u0431\u0449\u0438\u043c \u043a\u0430\u043a\u0438\u043c\u0438 \u0432\u044b\u0432\u043e\u0434\u0430\u043c\u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f lirc \u0434\u043b\u044f \u043f\u0440\u0438\u0435\u043c\u0430 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0418\u041a \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043c <b>\/etc\/modules<\/b>, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u0438\u0441\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438:<br \/>  <b>xbian@xbian ~ $<\/b> <i>cat \/etc\/modules<\/i>   <\/p>\n<pre><code class=\"bash\"># \/etc\/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with &quot;#&quot; are ignored. # Parameters can be specified after the module name. lirc_dev lirc_rpi gpio_in_pin=11 gpio_out_pin=9 <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c lirc, \u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u0434\u0435\u043c\u043e\u043d \u0437\u0430\u043f\u0443\u0449\u0435\u043d, \u0442\u043e \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u043d\u0430\u0448 \u043c\u043e\u0434\u0443\u043b\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<br \/>  <b>xbian@xbian ~ $<\/b> <i>sudo mode2 -d \/dev\/lirc0<\/i>   <\/p>\n<pre><code class=\"bash\">space 16777215 pulse 4534 space 4421 pulse 621 space 1642 pulse 582 space 1648 <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u043e\u043f\u043e\u043b\u0437\u043b\u0438 \u0446\u0438\u0444\u0440\u044b \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0438, \u0437\u043d\u0430\u0447\u0438\u0442 \u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043f\u0443\u043b\u044c\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<br \/>  <b>xbian@xbian ~ $<\/b> <i>sudo irrecord tv_samsung.conf<\/i><br \/>  \u0421\u043b\u0435\u0434\u0443\u0439\u0442\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 <b>tv_samsung.conf<\/b> \u0441 \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u043a\u043e\u0434\u043e\u0432 \u043e\u0442 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0443\u043b\u044c\u0442\u0430.<br \/>  \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 \u0432 <b>\/etc\/lirc\/remotes\/<\/b>. \u0412\u043e\u0442 \u043c\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 \u0434\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043a\u043d\u043e\u043f\u043e\u043a:<\/p>\n<p>  <b>xbian@xbian ~ $<\/b> <i>cat \/etc\/lirc\/remotes\/tv_samsung.conf<\/i>   <\/p>\n<pre><code class=\"bash\"># Please make this file available to others # by sending it to &lt;lirc@bartelmus.de&gt; # # this config file was automatically generated # using lirc-0.9.1-git(default) on Tue Sep  3 19:29:12 2013 # # contributed by  # # brand:                       \/home\/xbian\/lircd2.conf # model no. of remote control:  # devices being controlled by this remote: #  begin remote    name  TV   bits           16   flags SPACE_ENC|CONST_LENGTH   eps            30   aeps          100    header       4532  4422   one           591  1650   zero          591   540   ptrail        595   pre_data_bits   16   pre_data       0xE0E0   gap          107530   toggle_bit_mask 0x0        begin codes           KEY_POWER                0x40BF           KEY_UP                   0x48B7           KEY_DOWN                 0x08F7           KEY_VOLUMEUP             0xE01F           KEY_VOLUMEDOWN           0xD02F           KEY_MUTE                 0xF00F       end codes  end remote <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0434\u0435\u043c\u043e\u043d lirc. \u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0418\u041a \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c:<br \/>  <b>xbian@xbian ~ $<\/b> <i>irsend SEND_ONCE TV KEY_POWER<\/i><br \/>  \u0433\u0434\u0435,<br \/>  <b>SEND_ONCE<\/b> \u2014 \u0434\u0435\u0440\u0435\u043a\u0442\u0438\u0432\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0440\u0430\u0437<br \/>  <b>TV<\/b> \u2014 \u0418\u043c\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0430 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <b>\/etc\/lirc\/remotes\/tv_samsung.conf<\/b><br \/>  <b>KEY_POWER<\/b> \u2014 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <b>\/etc\/lirc\/remotes\/tv_samsung.conf<\/b><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u0438\u043b\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430.<br \/>  \u041d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 irsend, \u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u043d\u044f\u043b Apache http server \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 cgi-bin \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432. \u0412 \u043c\u043e\u0435\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0435 Xbian \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 <b>\/etc\/apache2\/sites-enabled\/000-default<\/b>, \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 cgi-bin \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0443\u043a\u0430\u0437\u0430\u043b \u0433\u0434\u0435 \u0438\u0445 \u0438\u0441\u043a\u0430\u0442\u044c  <\/p>\n<pre><code class=\"bash\">....         ScriptAlias \/cgi-bin\/ \/var\/www\/cgi-bin\/         &lt;Directory &quot;\/var\/www\/cgi-bin&quot;&gt;                 AllowOverride None                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch                 Order allow,deny                 Allow from all         &lt;\/Directory&gt; .... <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u043d\u0430 bash \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 HTTP \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 irsend:<br \/>  <b>xbian@xbian ~ $<\/b> <i>cat \/var\/www\/cgi-bin\/main.cgi<\/i>  <\/p>\n<pre><code class=\"bash\">#!\/bin\/bash  echo &quot;Content-type: text\/html&quot; echo &quot;&quot; echo &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;Welcome&lt;\/title&gt;&lt;\/head&gt;&quot; echo &quot;&lt;body&gt;&quot; echo &quot;Send IR code: &quot; echo $QUERY_STRING irsend SEND_ONCE TV $QUERY_STRING echo &quot;&lt;\/body&gt;&lt;\/html&gt;&quot; <\/code><\/pre>\n<p>  \u0414\u0435\u043b\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c:<br \/>  <b>xbian@xbian \/var\/www\/cgi-bin $<\/b> <i>sudo chmod +x main.cgi<\/i><\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c apache \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440:<br \/>  <b><a href=\"http:\/\/192.168.1.23\/cgi-bin\/main.cgi?KEY_POWER\">192.168.1.23\/cgi-bin\/main.cgi?KEY_POWER<\/a><\/b><br \/>  \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0432 \u043e\u0442\u0432\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u043c:<br \/>  <i>Send IR code: KEY_POWER<\/i><br \/>  \u0414\u0443\u043c\u0430\u044e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 <b>\/cgi-bin\/main.cgi?<\/b> \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <b>\/etc\/lirc\/remotes\/tv_samsung.conf <\/b><\/p>\n<p>  HTTP API \u0435\u0441\u0442\u044c, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u043c \u0441 \u043b\u044e\u0431\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u043c. \u042f \u0434\u043b\u044f iPhone \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430 15 \u043c\u0438\u043d\u0443\u0442.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/895\/83d\/bf6\/89583dbf640d851f166d09a7a96f2042.png\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u043d\u0430\u0432\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0447\u0435\u0442\u0441\u044f, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u043c OpenRemote, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 OpenRemote \u0434\u0435\u043b\u0430\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0438, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043a\u043d\u043e\u043f\u043a\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a\u0443\u044e HTTP \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0441\u043e\u0444\u0442\u043e\u043c \u044f \u0443\u0436\u0435 \u043f\u0438\u0441\u0430\u043b \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/180749\/\">\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u043c\u043d\u044b\u043c \u0434\u043e\u043c\u043e\u043c \u043d\u0430 \u0431\u0430\u0437\u0435 Z-Wave \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e OpenRemote<\/a><\/p>\n<p>  \u0412\u0441\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044e \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!<br \/>  \u041f\u0440\u0438\u044f\u0442\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f!    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/post\/193572\/\"> http:\/\/habrahabr.ru\/post\/193572\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/f1d\/e65\/621\/f1de65621adc6cec274eea9dfb2c2923.jpg\" align=\"left\"\/><br \/>  \u041f\u043e\u0442\u0438\u0445\u043e\u043d\u044c\u043a\u0443 \u0434\u0435\u043b\u0430\u044e \u0441\u0432\u043e\u0439 \u0434\u043e\u043c \u043d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u0443\u043c\u043d\u0435\u0435. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u043e\u043c \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043b\u0430\u0442\u044b \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f RaZBerry (Z-Wave) \u0434\u043b\u044f RaspBerry, \u0437\u0430\u0442\u0435\u043c \u0443\u0432\u043b\u0435\u043a\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 AVR \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0438 \u0441\u043e\u0431\u0440\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u043d\u0430 LED \u0434\u0438\u0441\u043f\u043b\u0435\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043e\u0448\u043b\u0430 \u0434\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f TV \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e iPhone. <br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0435\u0434\u0438\u0430\u043f\u043b\u0435\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e RaspBerry \u0441 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u043c Xbian, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043f\u043e\u043d\u044f\u043b \u043a\u0430\u043a \u0431\u0443\u0434\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u043c. RaspBerry \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043f\u043e\u043b\u043e\u0447\u043a\u0435 \u043f\u043e\u0434 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u043c \u0432 \u043f\u0440\u044f\u043c\u043e\u0439 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u041d\u0430 \u043e\u0434\u0438\u043d \u0438\u0437 \u0432\u044b\u0432\u043e\u0434\u043e\u0432 GPIO \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0418\u041a LED \u043e\u0442 \u043f\u0443\u043b\u044c\u0442\u0430 \u0438 \u043f\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043e\u0439 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440. \u0412 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0437\u0430\u0442\u0435\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0439! <br \/>  \u0414\u0430\u043b\u0435\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043f\u0430\u044f\u0442\u044c \u043f\u043b\u0430\u0442\u0443 \u0418\u041a \u043f\u0440\u0438\u0435\u043c\u043e-\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u043b\u044f RaspBerry \u0438 \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u043e\u0444\u0442, \u0447\u0442\u043e\u0431\u044b \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043a\u0430\u043d\u0430\u043b\u044b, \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c, \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440.   <\/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-193572","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193572","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=193572"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193572\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}