<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6031740693580832730</id><updated>2024-03-20T09:02:24.444+00:00</updated><category term="bose"/><category term="circut"/><category term="companion 5"/><category term="hack"/><category term="speaker"/><title type='text'>Ersin Gencturk&#39;s Blog</title><subtitle type='html'>I am blogging here some stuff that I find interesting.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-9106238362156998731</id><published>2019-03-09T19:29:00.001+00:00</published><updated>2019-03-09T20:12:42.571+00:00</updated><title type='text'>how to IR remote control via wemos d1 (esp8266) &amp; mqtt &amp; sonoff tasmota</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I used wemos d1 and connected like this:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4EHqdgFsuEN_LZZT4rcZrI84mNKbTgSPN6Xt50JW-vtWSJ6PRxY-8C3K01UxIymx73DhN6CA7qcrozFDCE6w8_OrGmB-DDGhEvw_f9T_KJM6w2VmIkh8AsTQBwQh8mzbNkOjQha5FKFc/s1600/ir.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1058&quot; data-original-width=&quot;1600&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4EHqdgFsuEN_LZZT4rcZrI84mNKbTgSPN6Xt50JW-vtWSJ6PRxY-8C3K01UxIymx73DhN6CA7qcrozFDCE6w8_OrGmB-DDGhEvw_f9T_KJM6w2VmIkh8AsTQBwQh8mzbNkOjQha5FKFc/s320/ir.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
(source:&amp;nbsp;https://github.com/witnessmenow/ESP8266-IR-Remote-Example)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Receiver module is&amp;nbsp;tsop38238&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdzmFKtZDk8v8PW0rGhFZ0Jge-J1mMnmqB__v5meop3F50KtPIF-OgMFxZU7XtyO2GVQ9-A3nlIpbh1CbNuXVYTihw1W7t4ZBylZt2hboBV_cOyKW5M94QsDkHlilu48V7cPxb1UYnAto/s1600/tsop38238-ir-alici-modulu-001.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;408&quot; data-original-width=&quot;661&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdzmFKtZDk8v8PW0rGhFZ0Jge-J1mMnmqB__v5meop3F50KtPIF-OgMFxZU7XtyO2GVQ9-A3nlIpbh1CbNuXVYTihw1W7t4ZBylZt2hboBV_cOyKW5M94QsDkHlilu48V7cPxb1UYnAto/s320/tsop38238-ir-alici-modulu-001.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Transistor :&amp;nbsp;&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;; font-size: 16px;&quot;&gt;2N3904&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;; font-size: 16px;&quot;&gt;(without it , LED is not bright enough to send IR signal)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;; font-size: 16px;&quot;&gt;Led diode is Infrared diode.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;; font-size: 16px;&quot;&gt;I used this library with arduiono :&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;https://github.com/markszabo/IRremoteESP8266&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;From examples&amp;nbsp; with this one:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;IRrecvDumpV2.ino&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;you can capture IR codes from the remote by pressing the remote button and it will be captured&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&amp;nbsp;and it generates codes like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px &#39;Helvetica Neue&#39;; min-height: 14.0px}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px &#39;Helvetica Neue&#39;}
&lt;/style&gt;


&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p2&quot;&gt;
Timestamp : 000052.297&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
Encoding&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;: NEC&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
Code&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;: C12FE817 (32 bits)&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
Library &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;: v2.5.5&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
Raw Timing[135]:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;9036, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;4466,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;572, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;560,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1664,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;542,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;544,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1664,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;540,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;536,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1658,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - 39136,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;9030, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;4472,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1664,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;540,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;538,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;568, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;540,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;536,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;544,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;544,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, - &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;536,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;+ &lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
uint16_t rawData[135] = {9036, 4466,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, 1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, 568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, 562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, 568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;572, 560,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, 1664,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 542,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 564,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 544,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, 1664,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 540,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, 1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, 568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, 562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, 566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, 562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, 566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 536,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 1658,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 39136,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;9030, 4472,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, 1664,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, 540,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;564, 568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, 562,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, 566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;570, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 538,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 568,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;568, 1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, 540,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;598, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 1662,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 1660,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 536,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, 544,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 566,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562, 544,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;594, 564,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562, 570,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;566, 564,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;562, 1668,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;596, 536,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;592, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;588, 1666,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;590};&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;// NEC C12FE817&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
uint32_t address = 0xF483;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
uint32_t command = 0x17;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
uint64_t data = 0xC12FE817;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;You can use this button&#39;s code to send with another example:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;IRSendDemo.ino&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;with a code like this:&amp;nbsp;&lt;/span&gt;irsend.sendNEC(0x00&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot;; font-size: 12px;&quot;&gt;&amp;nbsp;C12FE817&lt;/span&gt;&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;After confirming everything works, I used it with sonoff-tasmota:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#how-to-use-commands&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;Tasmota configuration is like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Mr-XQ00k77RupeIi7J_-7YE-TawycPOYrtwTYziFQnKKNLwcjEYNAzxVOr1FY1PZLIWuGmaVa4ZVvx54-5JpfRmTBa1pcKeLmKKsiIJ5VjeB0fdg-3L8wmWE7ZdS2jv_g8Q84aeS2Jg/s1600/Screen+Shot+2019-03-09+at+23.10.21.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;830&quot; data-original-width=&quot;886&quot; height=&quot;299&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Mr-XQ00k77RupeIi7J_-7YE-TawycPOYrtwTYziFQnKKNLwcjEYNAzxVOr1FY1PZLIWuGmaVa4ZVvx54-5JpfRmTBa1pcKeLmKKsiIJ5VjeB0fdg-3L8wmWE7ZdS2jv_g8Q84aeS2Jg/s320/Screen+Shot+2019-03-09+at+23.10.21.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;gpio4 equals to D2 on wemos.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;gpio14 equals to D5 on wemos&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;after configuration you can send commands on mqqt like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;IRsend {&quot;Protocol&quot;:&quot;NEC&quot;,&quot;Bits&quot;:32,&quot;Data&quot;:0x00C12FE817}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;If your mqqt topic is irgate post to&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;cmnd/irgate/IRsend with data&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;{&quot;Protocol&quot;:&quot;NEC&quot;,&quot;Bits&quot;:32,&quot;Data&quot;:0x00C12FE817}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;also you can capture the signals via mqttt, when received it will be posted to mqtt automatically&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcehAV6ErxC1rTlFJZQG1EqJONd_dZNJ39HuzAXGiaMiufSIVRAGiiRqs7k3zrcp5VHr3IQC8fpu1LK382KM7hxzksk91HYQozwhZDUuw7UPmjUY7qiUS8COzno1YuCKNHK8bAd2K9-ck/s1600/Screen+Shot+2019-03-09+at+23.10.33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;500&quot; data-original-width=&quot;1292&quot; height=&quot;123&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcehAV6ErxC1rTlFJZQG1EqJONd_dZNJ39HuzAXGiaMiufSIVRAGiiRqs7k3zrcp5VHr3IQC8fpu1LK382KM7hxzksk91HYQozwhZDUuw7UPmjUY7qiUS8COzno1YuCKNHK8bAd2K9-ck/s320/Screen+Shot+2019-03-09+at+23.10.33.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #24292e; font-family: , , &amp;quot;segoe ui&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif , &amp;quot;apple color emoji&amp;quot; , &amp;quot;segoe ui emoji&amp;quot; , &amp;quot;segoe ui symbol&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/9106238362156998731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/9106238362156998731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/9106238362156998731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/9106238362156998731'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2019/03/ir-remote-control-via-wemos-d1-esp8266.html' title='how to IR remote control via wemos d1 (esp8266) &amp; mqtt &amp; sonoff tasmota'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4EHqdgFsuEN_LZZT4rcZrI84mNKbTgSPN6Xt50JW-vtWSJ6PRxY-8C3K01UxIymx73DhN6CA7qcrozFDCE6w8_OrGmB-DDGhEvw_f9T_KJM6w2VmIkh8AsTQBwQh8mzbNkOjQha5FKFc/s72-c/ir.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-4378389104300406695</id><published>2019-02-22T12:21:00.001+00:00</published><updated>2019-02-22T12:42:26.547+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bose"/><category scheme="http://www.blogger.com/atom/ns#" term="circut"/><category scheme="http://www.blogger.com/atom/ns#" term="companion 5"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><category scheme="http://www.blogger.com/atom/ns#" term="speaker"/><title type='text'>Bose speaker hack (companion 5) to turn on/off automatically</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I have on of these Bose companion 5 speakers. The problem with it is when you don&#39;t use it actively it turns off to save energy, next time when you want to use it you should press the button on the control pod to activate it. This is a problem when you use the aux cable as input as a standalone speaker. Solution was not the easiest but it&#39;s a quick hack.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I designed a system where when an audio detected from the aux input , it Bose speakers turn on automatically to green.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Here is how it goes:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Tested the pins of the control pod, looks like there are different voltages supplied to the control pod.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDxK3WelVpDR1A31vvN_irvbQVJCvG5rfk2BjOfR4jMWWTPJ6tty0KQxMfRcNc80zO6mtJxBnMzZSN9swNA0YvYHKqH55Iqdfy08PiDuIh3tgK1inuUb_KNZdJqloJ2vui2TEFvj9weco/s1600/IMG_8949.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDxK3WelVpDR1A31vvN_irvbQVJCvG5rfk2BjOfR4jMWWTPJ6tty0KQxMfRcNc80zO6mtJxBnMzZSN9swNA0YvYHKqH55Iqdfy08PiDuIh3tgK1inuUb_KNZdJqloJ2vui2TEFvj9weco/s320/IMG_8949.jpg&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1ESd1OFBVn2DG0e0rFBEfDMdYNYMZaz4Isr5IJLhu82INYBXu-Kq2CUT213t4Eki-47fDdRz9Agy7oIkOfwhocTat2jjTBdV3MaAUvXYpmdOS_AA5poxgbcZPEjbAl-fCfznIHFMwY_4/s1600/IMG_8950.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1ESd1OFBVn2DG0e0rFBEfDMdYNYMZaz4Isr5IJLhu82INYBXu-Kq2CUT213t4Eki-47fDdRz9Agy7oIkOfwhocTat2jjTBdV3MaAUvXYpmdOS_AA5poxgbcZPEjbAl-fCfznIHFMwY_4/s320/IMG_8950.jpg&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
It all ends up here because I couldn&#39;t find how the audio transmitted to the main device.I had to find a way to open this:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACIpjaRMLKlxCIEg50Q0QbH_mNsHsp2EmGwyFhj7zNMCQzm6R-Q_N7HkyYgT3zT3SSyVwcE2q0VCwP4zbYYmfqs6QilqHQsq6s_0e2HU6hvTVKMP7j3aG9aKFLN3C-5bbpHs-oPmXvNM/s1600/IMG_8030.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACIpjaRMLKlxCIEg50Q0QbH_mNsHsp2EmGwyFhj7zNMCQzm6R-Q_N7HkyYgT3zT3SSyVwcE2q0VCwP4zbYYmfqs6QilqHQsq6s_0e2HU6hvTVKMP7j3aG9aKFLN3C-5bbpHs-oPmXvNM/s320/IMG_8030.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
There were 2 screws at the back.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitf8wpMAHmWZZHtOrRvOGQu75UpjWVHJf-1twSTiZ8ykRwqpYR_cqaXeov48DmRhh1o-63xmO3mVtslh8ZhOadLlW65ZIjPeMuTexHZhbPNtsE8rX44wHYbmOZrKQHRAuUehfYkFMzUoo/s1600/IMG_3629.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitf8wpMAHmWZZHtOrRvOGQu75UpjWVHJf-1twSTiZ8ykRwqpYR_cqaXeov48DmRhh1o-63xmO3mVtslh8ZhOadLlW65ZIjPeMuTexHZhbPNtsE8rX44wHYbmOZrKQHRAuUehfYkFMzUoo/s320/IMG_3629.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
It turns out it uses the same screws apple uses T5&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ21RJsSOOTs9-P7I3v888PqEgqX7KG5POWlV1GrVyhsnbFjgRsPTaJRHLXj9I8Tq8K1Us49D7o7DuQ1N849OQQsBInDQ5zR6poUlpgKJVPGb2fGU2sMmzFaBWfTZc-E073sAFJGPzBe0/s1600/IMG_0202.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ21RJsSOOTs9-P7I3v888PqEgqX7KG5POWlV1GrVyhsnbFjgRsPTaJRHLXj9I8Tq8K1Us49D7o7DuQ1N849OQQsBInDQ5zR6poUlpgKJVPGb2fGU2sMmzFaBWfTZc-E073sAFJGPzBe0/s320/IMG_0202.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
When I opened it the top came off&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRP6XwxhGnEWinK3kt4w65uTIdJ_hiTXEAnAWUV1wqzT53z-YGMiqotmD6A6vW6L_nSehmlUgNSqQyhHYtKCapfXSFicjgFemleTLSgaJg253j2DNtevgw4Kasf5FZ_OQhhXrDyi5ZTTk/s1600/IMG_7015.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRP6XwxhGnEWinK3kt4w65uTIdJ_hiTXEAnAWUV1wqzT53z-YGMiqotmD6A6vW6L_nSehmlUgNSqQyhHYtKCapfXSFicjgFemleTLSgaJg253j2DNtevgw4Kasf5FZ_OQhhXrDyi5ZTTk/s320/IMG_7015.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
You need to unscrew these as well, and you have to cut the wheel, (you can glue it back together when finished)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFewzPysoiU7S36tZigaj6QD5LHY0L6Z6vx5Sh1B5zKZn8UVetcngBQ9HbqQvIa_Z1wOTpb01pPorJrCk-mXU0q9tLI7DMC2uTPGpUDmPtbUp8k2u02azepD1OBT2MWJH4qyKgBCxCF_w/s1600/IMG_1759.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFewzPysoiU7S36tZigaj6QD5LHY0L6Z6vx5Sh1B5zKZn8UVetcngBQ9HbqQvIa_Z1wOTpb01pPorJrCk-mXU0q9tLI7DMC2uTPGpUDmPtbUp8k2u02azepD1OBT2MWJH4qyKgBCxCF_w/s320/IMG_1759.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
This is the circuit that I used, you can search aud1c on google to buy I bought it for 4$ on aliexpress.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Basically you supply voltage from VCC , connect AVin to audio signal , GND to ground and when it detects audio signal from AVin it provides voltage to Vo.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3kNj9_NdTX5xsNlbHyGwCxBII7Z1B4wXVOcUUHAaYm2WFvYyINs4Pglm93qGupN2LMOMpLOGb51RlVQ5xtnoOmOUoNkJDZPrQKCru6JN3AxK1KMkoj8KQYcDnQDDu4DXtSkW1-6ZNLHE/s1600/aud.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;577&quot; data-original-width=&quot;480&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3kNj9_NdTX5xsNlbHyGwCxBII7Z1B4wXVOcUUHAaYm2WFvYyINs4Pglm93qGupN2LMOMpLOGb51RlVQ5xtnoOmOUoNkJDZPrQKCru6JN3AxK1KMkoj8KQYcDnQDDu4DXtSkW1-6ZNLHE/s320/aud.jpg&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Now I had to find the voltage, ground and audio signal in the pod.This is the 3 volts I used for VCC.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6RNPu4-LA0TW-z_GMnV561_mjrNbEadYD5pO3nUeqi3Voxllc6IJtxctwIJV_LzHrOfW9ZD-15hDZocwSKw6_p5lf9DiXVKluupqRHATx9flqmgZnx4g8g4ljCzcgpSbpE0voFhQCP6Y/s1600/IMG_8963.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6RNPu4-LA0TW-z_GMnV561_mjrNbEadYD5pO3nUeqi3Voxllc6IJtxctwIJV_LzHrOfW9ZD-15hDZocwSKw6_p5lf9DiXVKluupqRHATx9flqmgZnx4g8g4ljCzcgpSbpE0voFhQCP6Y/s320/IMG_8963.jpg&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
This 6V when shorted with Ground , speakers turn on or off. like a switch.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4HSwiTgduFyYnNJzqvd5Iiad5CU7B95XIhJb2epE5FlOvMYKJF0yWB7_Kcd4fgpERYePKtD6xVdzmgZlOCx6iitkUvF0nkfPXZku89xHv8EjNc2oI495IacxpPYr7hG50Y-qC3yGfJvg/s1600/IMG_8968.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4HSwiTgduFyYnNJzqvd5Iiad5CU7B95XIhJb2epE5FlOvMYKJF0yWB7_Kcd4fgpERYePKtD6xVdzmgZlOCx6iitkUvF0nkfPXZku89xHv8EjNc2oI495IacxpPYr7hG50Y-qC3yGfJvg/s320/IMG_8968.jpg&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Therefore we will use a transistor with the circuit. So when we have audio signal , transistor will short the 6V with GND.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
This is the transistor that I used, any should do.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpJjd1gwfkabanw4TGwc3bWjJaMbmyA8TGapuydnu7f1vWq8ZiIcEKTxf7W113CzwpV1bPjJ57NefD2j0NPQN_jlLOVu3FzZhRijb82hDliOX7OjYp_XU3NMSXSY05_ACv0wdN7ysExEo/s1600/IMG_2840.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpJjd1gwfkabanw4TGwc3bWjJaMbmyA8TGapuydnu7f1vWq8ZiIcEKTxf7W113CzwpV1bPjJ57NefD2j0NPQN_jlLOVu3FzZhRijb82hDliOX7OjYp_XU3NMSXSY05_ACv0wdN7ysExEo/s320/IMG_2840.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigLYu3aZ2GA6LYgU8_Btg3meE11t-jJCiRiYn75WqBcTrigeKxrht53mmGAvLqrR5c1xkX_DPE7JK_vN-r7mneddlmFCRG3VSm2qOCJhuQ_WGZv2Wu-WfYkA-G4NqYG3f4x5RCg6A3qfw/s1600/IMG_6501.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigLYu3aZ2GA6LYgU8_Btg3meE11t-jJCiRiYn75WqBcTrigeKxrht53mmGAvLqrR5c1xkX_DPE7JK_vN-r7mneddlmFCRG3VSm2qOCJhuQ_WGZv2Wu-WfYkA-G4NqYG3f4x5RCg6A3qfw/s320/IMG_6501.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6mdEtpiLHU04mVMX8BJhIQhjoEr3XpVw6sF9j7nIHbTV0Y4yIF1zNmMbCWZzINVwevjNUyk52j2nKGmwnWujYon-b5YBo-9ygktFKdXe5n3Qco8nkU3VMORj1Y_K5wUSVhZA2dXHe76g/s1600/IMG_8970.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6mdEtpiLHU04mVMX8BJhIQhjoEr3XpVw6sF9j7nIHbTV0Y4yIF1zNmMbCWZzINVwevjNUyk52j2nKGmwnWujYon-b5YBo-9ygktFKdXe5n3Qco8nkU3VMORj1Y_K5wUSVhZA2dXHe76g/s320/IMG_8970.jpg&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Voltage was too much for the transistor that I used so I used 47K resistor.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGkTkwkJdMxV7G9LGVewrL1jWPSZ-DF1I4HyR4cH-TCf793RQKbUB455zUdFE1Vf0cOtwo68HS5UfqiJjps3c4OUuAi2iKfAPQ-R8NzBsg1Jd4kKjZwHLEM6PgiAITaWZbSwvbfLXFu_8/s1600/IMG_8969.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGkTkwkJdMxV7G9LGVewrL1jWPSZ-DF1I4HyR4cH-TCf793RQKbUB455zUdFE1Vf0cOtwo68HS5UfqiJjps3c4OUuAi2iKfAPQ-R8NzBsg1Jd4kKjZwHLEM6PgiAITaWZbSwvbfLXFu_8/s320/IMG_8969.jpg&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
This is the prototype, I used 6V , 3V , GND , and AUDIO from the locations that I showed in the pictures from the control pod.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXRSWe1_HsEEN3yc65PdUUd38XBHjK76svkHTcz2-U9cefyqqzEzpRPHFW8Yi51yec79AjqYDIt5cp9dcH-t1m5IJsDez0iDKtgEr1BorcjAVnnM38QVx5S_jnyhryF7bxOXjtdpxfRc/s1600/IMG_9631.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXRSWe1_HsEEN3yc65PdUUd38XBHjK76svkHTcz2-U9cefyqqzEzpRPHFW8Yi51yec79AjqYDIt5cp9dcH-t1m5IJsDez0iDKtgEr1BorcjAVnnM38QVx5S_jnyhryF7bxOXjtdpxfRc/s320/IMG_9631.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
As soon as It worked OK,&amp;nbsp; I had to make it smaller so&amp;nbsp;&lt;/div&gt;
This is the final part I ended up with, now I need to fit this into control pod.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSFYqLYuWQhjLW3Nx-AWLbFHUCprtiPhoH9BLoFW6Q5E-L2r736hhPfQo4kzsopGyh1wXI46wgFBUlNluyRRleIVMOUnKjOaulkOA0aP_rbI7nNo6DNL15-BVTvkKLmMqE27_udJxX-YM/s1600/IMG_2100.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1200&quot; data-original-width=&quot;1600&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSFYqLYuWQhjLW3Nx-AWLbFHUCprtiPhoH9BLoFW6Q5E-L2r736hhPfQo4kzsopGyh1wXI46wgFBUlNluyRRleIVMOUnKjOaulkOA0aP_rbI7nNo6DNL15-BVTvkKLmMqE27_udJxX-YM/s320/IMG_2100.HEIC&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
One last check before putting everything together.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe7U4N_U7c023EN7qCup3VCpUwzXealu8COVMwbnTtWVIiPUDFP4OKVMUCbQ3i4upAGKqiOjKC_qxV7y2oA7HSemsuupPrhO3TCNFjJEZwe-A20xQBRA2V6ym-vUzhwaJ_Iaeh9mJChDk/s1600/IMG_3761.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1200&quot; data-original-width=&quot;1600&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe7U4N_U7c023EN7qCup3VCpUwzXealu8COVMwbnTtWVIiPUDFP4OKVMUCbQ3i4upAGKqiOjKC_qxV7y2oA7HSemsuupPrhO3TCNFjJEZwe-A20xQBRA2V6ym-vUzhwaJ_Iaeh9mJChDk/s320/IMG_3761.HEIC&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Glueing back the pod.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPRRzPDGJqyvjm9aetjSRyaQZFaf8iFhE4ioSNNefsWb5eRT5AvsfaOx5gzhajbyLQvhyRx5x_UseoTpItf0dTnng3ioSrgJIFW7N7LEOq3ImsoR_rdSs3F9-8cULdJpQ2oCGXP7ovpf4/s1600/IMG_6943.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPRRzPDGJqyvjm9aetjSRyaQZFaf8iFhE4ioSNNefsWb5eRT5AvsfaOx5gzhajbyLQvhyRx5x_UseoTpItf0dTnng3ioSrgJIFW7N7LEOq3ImsoR_rdSs3F9-8cULdJpQ2oCGXP7ovpf4/s320/IMG_6943.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
And it is working :&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACIpjaRMLKlxCIEg50Q0QbH_mNsHsp2EmGwyFhj7zNMCQzm6R-Q_N7HkyYgT3zT3SSyVwcE2q0VCwP4zbYYmfqs6QilqHQsq6s_0e2HU6hvTVKMP7j3aG9aKFLN3C-5bbpHs-oPmXvNM/s1600/IMG_8030.HEIC&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACIpjaRMLKlxCIEg50Q0QbH_mNsHsp2EmGwyFhj7zNMCQzm6R-Q_N7HkyYgT3zT3SSyVwcE2q0VCwP4zbYYmfqs6QilqHQsq6s_0e2HU6hvTVKMP7j3aG9aKFLN3C-5bbpHs-oPmXvNM/s320/IMG_8030.HEIC&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Let me know if this helps you in the comments sections and if you may have any suggestions...&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/4378389104300406695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/4378389104300406695' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/4378389104300406695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/4378389104300406695'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2019/02/bose-speaker-hack-companion-5-to-turn.html' title='Bose speaker hack (companion 5) to turn on/off automatically'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDxK3WelVpDR1A31vvN_irvbQVJCvG5rfk2BjOfR4jMWWTPJ6tty0KQxMfRcNc80zO6mtJxBnMzZSN9swNA0YvYHKqH55Iqdfy08PiDuIh3tgK1inuUb_KNZdJqloJ2vui2TEFvj9weco/s72-c/IMG_8949.jpg" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-350986939373609808</id><published>2019-01-23T23:41:00.001+00:00</published><updated>2019-02-13T00:33:42.168+00:00</updated><title type='text'>how to connect xiomi temperature and humidity sensor to openhab without a gateway</title><content type='html'>I&#39;ve a xiomi temperature and humidity sensor with bluetooth.&lt;br /&gt;
&lt;br /&gt;
I&#39;m Using openhab and MQTT so it&#39;s easy to connect:&lt;br /&gt;
&lt;br /&gt;
1) Create this script (xiomi.sh) :&lt;br /&gt;
&lt;br /&gt;
Replace BT with your sensor&#39;s mac address.&lt;br /&gt;
&lt;br /&gt;
You can find it with: &amp;nbsp;&lt;span style=&quot;background-color: black; color: white; font-family: &amp;quot;menlo&amp;quot;; font-size: 12px;&quot;&gt;sudo hcitool lescan&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
(look for&amp;nbsp;&lt;span style=&quot;background-color: black; color: white; font-family: &amp;quot;menlo&amp;quot;; font-size: 12px;&quot;&gt;MJ_HT_V1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: white; font-family: &amp;quot;menlo&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Change the IP address (192.168.1.100) to your MQQT server address.&lt;br /&gt;
&lt;br /&gt;
&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #ffffff; background-color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}
&lt;/style&gt;







&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #ffffff; background-color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}
&lt;/style&gt;


&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; pid &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;pidof &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;-x&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; xiomi.sh&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;do&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$pid&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$$&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&lt;b&gt;echo&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;&quot;[$(date)] : xiomi.sh : Process is already running with PID $pid&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;exit&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;done&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;bt&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;&quot;4C:65:A8:DC:AD:CF&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;sensor&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;&quot;sensor&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;RET&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;until&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;${RET}&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;-eq&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; 0 &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;do&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;data&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=$(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;/usr/bin/timeout 20 /usr/bin/gatttool -b &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$bt&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; --char-write-req --handle&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0x10 &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;-n&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; 0100 --listen &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&lt;b&gt;grep&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;Notification handle&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; -m 2&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;RET&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;sleep 5&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;done&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;RET&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;until&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;${RET}&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;-eq&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; 0 &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;do&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;battery&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=$(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;/usr/bin/gatttool -b &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$bt&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; --char-&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; --handle&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0x18 &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; cut -c 34-35&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;RET&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;sleep 5&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;done&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;temp&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=$(&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&lt;b&gt;echo&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$data&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; tail -1 &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; cut -c 42-54 &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; xxd &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;-r&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; -p&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;humid&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=$(&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&lt;b&gt;echo&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;&lt;b&gt;$data&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; tail -1 &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; cut -c 64-74 &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; xxd &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;-r&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; -p&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;batt&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=$(&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&lt;b&gt;echo&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;&quot;ibase=16; $battery&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; bc&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;$temp&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;~ ^&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0-9&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(\&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0-9&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s5&quot;&gt;&lt;b&gt;echo&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;&quot;$temp&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;/usr/bin/mosquitto_pub -h 192.168.1.100 -V mqttv311 -t &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;xiaomi/$sensor/temp&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; -m &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;$temp&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;$humid&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;~ ^&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0-9&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(\&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0-9&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;/usr/bin/mosquitto_pub -h 192.168.1.100 -V mqttv311 -t &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;xiaomi/$sensor/humidity&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; -m &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;$humid&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;$batt&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;~ ^&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0-9&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(\&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;0-9&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;]]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;/usr/bin/mosquitto_pub -h 192.168.1.100 -V mqttv311 -t &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;xiaomi/$sensor/battery&quot;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; -m &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;&lt;b&gt;&quot;$batt&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #2eaebb; background-color: #000000}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #ffffff; background-color: #000000; min-height: 14.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #ffffff; background-color: #000000}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #2fb41d; background-color: #000000}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #9fa01c; background-color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}
span.s2 {font-variant-ligatures: no-common-ligatures; color: #2fb41d}
span.s3 {font-variant-ligatures: no-common-ligatures; color: #ffffff}
span.s4 {font-variant-ligatures: no-common-ligatures; color: #b42419}
span.s5 {font-variant-ligatures: no-common-ligatures; color: #400bd9}
span.s6 {font-variant-ligatures: no-common-ligatures; color: #9fa01c}
&lt;/style&gt;















































&lt;br /&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
2) Make this script run&amp;nbsp; every minute&amp;nbsp;&amp;nbsp;with crontab:&lt;br /&gt;
&lt;br /&gt;
chown +777 xiomi.sh&lt;br /&gt;
&lt;br /&gt;
crontab -e&lt;br /&gt;
&lt;br /&gt;
add this line:&lt;br /&gt;
&lt;br /&gt;
&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #ffffff; background-color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}
&lt;/style&gt;


&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;* * * * * /home/openhabian/xiomi.sh&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
3) Define your things for mqtt:&lt;br /&gt;
&lt;br /&gt;
Type number : Xiomi_Sensor_Humidity &quot;Xiomi_Sensor_Humidity&quot; [ stateTopic=&quot;xiaomi/sensor/humidity&quot;]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Type number : Xiomi_Sensor_Battery &quot;Xiomi_Sensor_Battery&quot; [ stateTopic=&quot;xiaomi/sensor/battery&quot;]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Type number : Xiomi_Sensor_Temp &quot;Xiomi_Sensor_Temp&quot; [ stateTopic=&quot;xiaomi/sensor/temp&quot;]&lt;br /&gt;
&lt;br /&gt;
4) define your items:&lt;br /&gt;
&lt;br /&gt;
Number&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Humidity&amp;nbsp; &amp;nbsp; &quot;Humidity [%.1f ]&quot; &lt;temperature&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(gTemperature) { channel=&quot;mqtt:topic:myUnsecureBroker:mything:Xiomi_Sensor_Humidity&quot; }&lt;/temperature&gt;&lt;br /&gt;
Number&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Battery&amp;nbsp; &amp;nbsp; &quot;Battery [%.1f ]&quot; &lt;temperature&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(gTemperature) { channel=&quot;mqtt:topic:myUnsecureBroker:mything:Xiomi_Sensor_Battery&quot; }&lt;/temperature&gt;&lt;br /&gt;
Number&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Xiomi_Sensor_Temp&amp;nbsp; &amp;nbsp; &quot;Xiomi_Sensor_Temp [%.1f ]&quot; &lt;temperature&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(gTemperature) { channel=&quot;mqtt:topic:myUnsecureBroker:mything:Xiomi_Sensor_Temp&quot; }&lt;/temperature&gt;&lt;br /&gt;
&lt;br /&gt;
All done now you can read the sensor data and display ,log, automate etc..&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/350986939373609808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/350986939373609808' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/350986939373609808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/350986939373609808'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2019/01/how-to-connect-xiomi-temperature-and.html' title='how to connect xiomi temperature and humidity sensor to openhab without a gateway'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-773794712261184407</id><published>2018-12-12T22:48:00.002+00:00</published><updated>2018-12-13T00:02:19.122+00:00</updated><title type='text'></title><content type='html'>&lt;h3 class=&quot;first&quot; style=&quot;background-color: #fafafa; border: none; box-sizing: border-box; color: #d35577; font-size: 1.6em; font-weight: 400; letter-spacing: 0.5px; line-height: 22px; margin-bottom: 0.3em !important; margin-left: 0px; margin-right: 180px; margin-top: 0px !important; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;https://www.raspberrypi.org/forums/viewtopic.php?t=207627#p1284085&quot; style=&quot;border: none; box-sizing: border-box; color: #222222; direction: ltr; margin: 0px; padding: 0px; text-decoration-line: none; transition: color 0.15s ease 0s; unicode-bidi: embed;&quot;&gt;waveshare 1.44&quot; tft lcd HAT (st7735s)&lt;/a&gt;&amp;nbsp;raspberry pi setup:&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Enable ‘SPI’ inside ‘Advanced Options’ and then ‘SPI’. You will simply get a yes/no option for the ‘SPI’ setting.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Advanced Options’ section is ‘Overscan’. When asked ‘Would you like to enable compensation for displays with overscan?’ you can select No&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo nano /etc/modules&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;add the following into the file (if the lines are not already there)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;spi-bcm2835&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;fbtft_device&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo nano /etc/modprobe.d/fbtft.conf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;add:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;options fbtft_device name=adafruit18_green gpios=reset:27,dc:25,cs:8,led:24 speed=40000000 bgr=1 fps=60 custom=1 height=128 width=128 rotate=180&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo apt-get install cmake git&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;and now we have the tools, we can grab the code from github, and build it&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;cd ~&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;git clone https://github.com/tasanakorn/rpi-fbcp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;cd rpi-fbcp/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;mkdir build&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;cd build/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;cmake ..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;make&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo install fbcp /usr/local/bin/fbcp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;cd ~&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;git clone https://github.com/adafruit/Adafruit-Retrogame&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;cd Adafruit-Retrogame/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;make&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo make install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo nano /etc/udev/rules.d/10-retrogame.rules&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;edit /boot/retrogame.cfg and insert these:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;LEFT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; # Joypad left&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;RIGHT&amp;nbsp; &amp;nbsp; &amp;nbsp;26&amp;nbsp; # Joypad right&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;UP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6&amp;nbsp; # Joypad up&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;DOWN&amp;nbsp; &amp;nbsp; &amp;nbsp; 19&amp;nbsp; # Joypad down&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;LEFTCTRL&amp;nbsp; 21&amp;nbsp; # &#39;A&#39; button&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;#LEFTALT&amp;nbsp; &amp;nbsp;20&amp;nbsp; # &#39;B&#39; button&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;SPACE&amp;nbsp; &amp;nbsp; &amp;nbsp;16&amp;nbsp; # &#39;Select&#39; button&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;ENTER&amp;nbsp; &amp;nbsp; &amp;nbsp;20&amp;nbsp; # &#39;Start&#39; button&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo nano /etc/rc.local&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;insert the following commands&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;fbcp&amp;amp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;retrogame&amp;amp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;_IP=$(hostname -I) || true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;if [ “$_IP” ]; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;printf “My IP address is %s\n” “$_IP”&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;fbcp&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;sudo retrogame&amp;amp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;exit 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;The file we are interested in here is called ‘config.txt’. If you open this file, you will see there are lots of commands and settings here. Scroll to the bottom of the file and add the following lines&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;hdmi_force_hotplug=1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;hdmi_cvt=128 128 60 1 0 0 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;hdmi_group=2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;hdmi_mode=1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;hdmi_mode=87&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;display_rotate=1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;if needed change console font size to 6x12 (default 8x16):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background: rgb(242, 242, 242); border-bottom-color: transparent; border-bottom-style: solid; border-image: initial; border-left-color: rgb(217, 217, 217); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px 3px; color: #606569; font-family: &amp;quot;Lucida Console&amp;quot;, Monaco, monospace; font-size: 13px; margin-bottom: 0.8em; margin-top: 0.5em; overflow-wrap: break-word; padding: 0.8em 1.857em; vertical-align: baseline; word-break: break-all;&quot;&gt;sudo dpkg-reconfigure console-setup&lt;/pre&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;references:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;https://www.raspberrypi-spy.co.uk/2014/04/how-to-change-the-command-line-font-size/&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;https://www.waveshare.com/1.44inch-lcd-hat.htm&lt;/span&gt;&lt;br /&gt;
http://pi0cket.com/guides/tiny-software-for-tinypi/#more-99&lt;br /&gt;
https://www.raspberrypi.org/forums/viewtopic.php?t=207627&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/773794712261184407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/773794712261184407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/773794712261184407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/773794712261184407'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2018/12/waveshare-1.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-6485623284195917261</id><published>2018-04-24T08:29:00.002+01:00</published><updated>2018-04-24T08:29:45.352+01:00</updated><title type='text'>Can&#39;t update macOS High Sierra</title><content type='html'>&lt;h1 style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #333333; font-size: 30px; font-weight: 300; letter-spacing: -0.02em; line-height: 36px; margin: 0px auto 30px; max-width: 980px; outline: none; padding: 0px; position: relative; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You can&#39;t update macOS High Sierra?&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You are on 10.13.x, but the 10.13.x +1&amp;nbsp; won&#39;t install?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It goes through the download and reboot, but when it is done you are still on&amp;nbsp; same 10.13 ?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You can&#39;t install kext extensions anymore ?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Tried downloading combo updates ?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Tried installing direct downloads ?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You get in the logs:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h1 itemprop=&quot;name&quot; style=&quot;border: 0px; box-sizing: inherit; color: #242729; font-size: 22px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: inherit; line-height: 1.3; margin: 0px 0px 0.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Could not create a Preboot Volume for APFS install&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Or you get:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;h1 itemprop=&quot;name&quot; style=&quot;border: 0px; box-sizing: inherit; color: #242729; font-size: 22px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: inherit; line-height: 1.3; margin: 0px 0px 0.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Could not update Preboot Volume&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;well... not anymore..&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You don&#39;t need to reinstall or anything.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Check your /Volumes/ folder&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;you probably will see countless preboot volumes there.. This has to be a weird mac os bug.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoX9Dk-krtsUnt5ySmk01rr2wif5-UBLlnT885Fjk7S07y0doucRb_43v7-MJZxHY0adR2KdgAlgAImUYr1DsrDQ05Y7cx1yBPFtH99use4xIcIq_Po5fTfRPGnAfDrHtooWoEy7wVtng/s1600/Screen+Shot+2018-04-24+at+10.27.33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1524&quot; data-original-width=&quot;1600&quot; height=&quot;304&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoX9Dk-krtsUnt5ySmk01rr2wif5-UBLlnT885Fjk7S07y0doucRb_43v7-MJZxHY0adR2KdgAlgAImUYr1DsrDQ05Y7cx1yBPFtH99use4xIcIq_Po5fTfRPGnAfDrHtooWoEy7wVtng/s320/Screen+Shot+2018-04-24+at+10.27.33.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I had 99 folders, probably can&#39;t create anymore and hence no more updates for Mac os or no more low level kernel drivers installations...&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;What you need to do is to delete all the folders except the Preboot one. So you should end up with only 1 preboot directory in volumes directory..&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Reboot, reinstall and everything should be working again.. Good luck&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Myriad Set Pro&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/6485623284195917261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/6485623284195917261' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/6485623284195917261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/6485623284195917261'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2018/04/cant-update-macos-high-sierra.html' title='Can&#39;t update macOS High Sierra'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoX9Dk-krtsUnt5ySmk01rr2wif5-UBLlnT885Fjk7S07y0doucRb_43v7-MJZxHY0adR2KdgAlgAImUYr1DsrDQ05Y7cx1yBPFtH99use4xIcIq_Po5fTfRPGnAfDrHtooWoEy7wVtng/s72-c/Screen+Shot+2018-04-24+at+10.27.33.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-2381927955218601325</id><published>2017-04-30T00:22:00.000+01:00</published><updated>2017-05-23T16:42:42.066+01:00</updated><title type='text'>how to install google play services to asus tinker board</title><content type='html'>Asus recently released a new version of android operating system for it&#39;s Asus tinker board.You can download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.asus.com/Single-Board-Computer/Tinker-Board/HelpDesk_Download/&lt;br /&gt;
&lt;br /&gt;
However, it comes without google play store.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
If you want to install google play store, there are lots of versions of it around the web, but which one will work?&lt;br /&gt;
&lt;br /&gt;
The correct google play version to select for Asus tinker board is this one:&lt;br /&gt;
&lt;br /&gt;
http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-10-5-62-release/google-play-services-10-5-62-438-153733333-android-apk-download/&lt;br /&gt;
&lt;br /&gt;
google services:&lt;br /&gt;
&lt;br /&gt;
http://www.apkmirror.com/apk/google-inc/google-services-framework/google-services-framework-6-0-1-release/google-services-framework-6-0-1-android-apk-download/download/&lt;br /&gt;
&lt;br /&gt;
this time download the google play store from:&lt;br /&gt;
&lt;br /&gt;
http://www.apkmirror.com/apk/google-inc/google-play-store/google-play-store-7-7-31-release/google-play-store-7-7-31-o-all-0-pr-153394623-android-apk-download/download/&lt;br /&gt;
&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;adb connect 192.168.1.100&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;adb root&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;adb connect 192.168.1.100&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;adb shell&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;mount -o remount,rw /system&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;exit&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;adb push playservices.apk /system/priv-app/&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;adb push gsf.apk /system/priv-app/&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;adb push playstore.apk /system/priv-app/&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
and install it, here you go , you&#39;ll have google play store running in your Asus tinker board.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/2381927955218601325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/2381927955218601325' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/2381927955218601325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/2381927955218601325'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2017/04/how-to-install-google-play-services-to.html' title='how to install google play services to asus tinker board'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-601716492008040761</id><published>2017-04-29T11:40:00.000+01:00</published><updated>2017-04-29T11:40:13.967+01:00</updated><title type='text'>asus tinker board boot problems</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3LgsVu0j3dGPFizz7sPqX-ma-N0ATIW7HRt9hLr9tY3hWPTIoZ2X-KwsEsIbx5iac3AnDyEGI5fHbcQQ1gb06PZK1MT7EiLn9d2AnbIr0axvJDPSsi6raosYfbBEiFvbJe3OH1qic118/s1600/tinker-board-top.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3LgsVu0j3dGPFizz7sPqX-ma-N0ATIW7HRt9hLr9tY3hWPTIoZ2X-KwsEsIbx5iac3AnDyEGI5fHbcQQ1gb06PZK1MT7EiLn9d2AnbIr0axvJDPSsi6raosYfbBEiFvbJe3OH1qic118/s320/tinker-board-top.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Recently got an Asus tinker board , flashed images but no matter it won&#39;t boot. Neither android image or debian one. Turns out the problem was with the power supply. This beast requires really a lot power. If you run into issues , try to connect a more powerful usb charger. Apple&#39;s iphone charges won&#39;t do it.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/601716492008040761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/601716492008040761' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/601716492008040761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/601716492008040761'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2017/04/asus-tinker-board-boot-problems.html' title='asus tinker board boot problems'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3LgsVu0j3dGPFizz7sPqX-ma-N0ATIW7HRt9hLr9tY3hWPTIoZ2X-KwsEsIbx5iac3AnDyEGI5fHbcQQ1gb06PZK1MT7EiLn9d2AnbIr0axvJDPSsi6raosYfbBEiFvbJe3OH1qic118/s72-c/tinker-board-top.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-6103671790700720780</id><published>2015-02-17T04:56:00.001+00:00</published><updated>2015-02-17T04:56:30.073+00:00</updated><title type='text'>how can you enable a windows firewall rule for a dynamic dns name or dns address</title><content type='html'>in a windows server sometimes you just need to enable some ports on your firewall to your dynamic dns address.(such as RDP , FTP , etc..)&lt;br /&gt;
It is cumbersome when you do this manually every time your ip address changes.Why not update your server automatically every time when your ip changes based on your new dynamic dns update ?&lt;br /&gt;
&lt;br /&gt;
1 ) just create a powershell script like this:&lt;br /&gt;
&lt;br /&gt;
$ip = [System.Net.Dns]::GetHostAddresses(&quot;&lt;span style=&quot;color: red;&quot;&gt;your ddnss address&lt;/span&gt;&quot;).IpAddressToString&lt;br /&gt;
Set-NetFirewallRule -DisplayName &quot;&lt;span style=&quot;color: red;&quot;&gt;myrule&lt;/span&gt;&quot; -RemoteAddress $ip&lt;br /&gt;
&lt;br /&gt;
Put in your ddns name like: xxx.dydns.org , no-ip etc..&lt;br /&gt;
Create a firewall rule and define ports etc. before hand and name it either &quot;myrule&quot; and use the second line as it is ,or change the &quot;myrule&quot; to your rule&#39;s display name on advanced firewall app on windows server.&lt;br /&gt;
&lt;br /&gt;
2) name it as firewall.ps1&lt;br /&gt;
&lt;br /&gt;
3) and than create a task on task scheduler like this:&lt;br /&gt;
&lt;br /&gt;
command to execute:&lt;br /&gt;
&lt;br /&gt;
powershell -executionpolicy remotesigned -File C:\hosting\firewall.ps1 &amp;gt;&amp;gt; c:\hosting\firewall\firewall.log&lt;br /&gt;
&lt;br /&gt;
and set it to run every minute.&lt;br /&gt;
&lt;br /&gt;
thats it. everytime your ip changes and your ddns provider updated with your ip , also your firewall rules will be udpated in a maximum 1 minute of delay.&lt;br /&gt;
&lt;br /&gt;
What script does is:&lt;br /&gt;
&lt;br /&gt;
// Converts your DNS address to IP address and assigns to variable $ip&lt;br /&gt;
$ip = [System.Net.Dns]::GetHostAddresses(&quot;&lt;span style=&quot;color: red;&quot;&gt;your ddnss address&lt;/span&gt;&quot;).IpAddressToString&lt;br /&gt;
&lt;br /&gt;
// Makes your firewall rule named &quot;myrule&quot; to be enabled for your new remote address&lt;br /&gt;
Set-NetFirewallRule -DisplayName &quot;&lt;span style=&quot;color: red;&quot;&gt;myrule&lt;/span&gt;&quot; -RemoteAddress $ip&lt;br /&gt;
&lt;br /&gt;
That&#39;s it..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/6103671790700720780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/6103671790700720780' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/6103671790700720780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/6103671790700720780'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2015/02/how-can-you-enable-windows-firewall.html' title='how can you enable a windows firewall rule for a dynamic dns name or dns address'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-6932589946862403057</id><published>2012-05-17T01:41:00.003+01:00</published><updated>2012-05-17T01:41:48.778+01:00</updated><title type='text'>windows 7 can&#39;t find files with extension *.pdb , try yourself:</title><content type='html'>Windows 7 can&#39;t find files with extension *.pdb , try yourself:&lt;br /&gt;
&lt;br /&gt;
Open a directory where you know that there are files with *.pdb extension &lt;br /&gt;
type search *.pdb and windows 7 will not be able to find any files and display error message:&lt;br /&gt;
&lt;br /&gt;
No items match your search.&lt;br /&gt;
&lt;br /&gt;
That&#39;s crazy bug !&lt;br /&gt;
&lt;br /&gt;
It works as expected for other file extensions though . such as *.mp3 , *.html or whatever..&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/6932589946862403057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/6932589946862403057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/6932589946862403057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/6932589946862403057'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2012/05/windows-7-cant-find-files-with.html' title='windows 7 can&#39;t find files with extension *.pdb , try yourself:'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-2125751335391702309</id><published>2012-01-06T00:27:00.001+00:00</published><updated>2012-01-06T00:27:53.760+00:00</updated><title type='text'>angry birds live</title><content type='html'>well they are real actually but not so angry&lt;div class=&quot;separator&quot;style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1UcKxkN5vglwXym7Zf-nNwCWiZymP9Q1AtT82INLrQ7bhIZBKPiW-HN_9todnNwpSM1nQeQOw5qVGLBkxRVFEukg3k2HB82qXDXftDTTutvkqo767TRoM4tEnCiPIQw1k4FtH4cTK4gk/s640/blogger-image--1719637520.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1UcKxkN5vglwXym7Zf-nNwCWiZymP9Q1AtT82INLrQ7bhIZBKPiW-HN_9todnNwpSM1nQeQOw5qVGLBkxRVFEukg3k2HB82qXDXftDTTutvkqo767TRoM4tEnCiPIQw1k4FtH4cTK4gk/s640/blogger-image--1719637520.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/2125751335391702309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/2125751335391702309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/2125751335391702309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/2125751335391702309'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2012/01/angry-birds-live.html' title='angry birds live'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1UcKxkN5vglwXym7Zf-nNwCWiZymP9Q1AtT82INLrQ7bhIZBKPiW-HN_9todnNwpSM1nQeQOw5qVGLBkxRVFEukg3k2HB82qXDXftDTTutvkqo767TRoM4tEnCiPIQw1k4FtH4cTK4gk/s72-c/blogger-image--1719637520.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-4553571953384449231</id><published>2011-11-12T14:31:00.004+00:00</published><updated>2011-11-12T14:40:15.062+00:00</updated><title type='text'>ios 5 or ios 5.0.1 on Iphone 4s crashes - kernel panic</title><content type='html'>I bought one of these iphone 4s 64 gb s on the day they have been released and since then I am having some phone crashes.Phone is crashing and shut-down it self.I am not sure if it is a software problem or hardware but updating to ios 5.0.1 didn&#39;t fix the problem and I am wondering if anyone else having these problems.&lt;br /&gt;&lt;br /&gt;Error log from the iphone 4s is something like this:&lt;br /&gt;&lt;br /&gt;Incident Identifier: 2E7997B3-0521-4C99-BAA7-&lt;div id=&quot;:tp&quot;&gt;&lt;wbr&gt;DB959D211A92&lt;br /&gt;CrashReporter Key: 3ffcf799c1cef600edb9dcae8dc547&lt;wbr&gt;503cdda6ba&lt;br /&gt;Hardware Model: iPhone4,1&lt;br /&gt;Date/Time: &lt;a href=&quot;tel:2011-11-12%2014&quot; value=&quot;+442011111214&quot;&gt;2011-11-12 14&lt;/a&gt;:25:20.250 +0000&lt;br /&gt;OS Version: iPhone OS 5.0.1 (9A405)&lt;br /&gt;&lt;br /&gt;panic(cpu 1 caller 0x800530b3): &quot;no entry&quot;@/SourceCache/xnu/xnu-&lt;wbr&gt;1878.4.46/osfmk/vm/vm_map_&lt;wbr&gt;store_rb.c:80&lt;br /&gt;Debugger message: panic&lt;br /&gt;OS version: 9A405&lt;br /&gt;Kernel version: Darwin Kernel Version 11.0.0: Tue Nov 1 20:34:16 PDT 2011; root:xnu-1878.4.46~1/RELEASE_&lt;wbr&gt;ARM_S5L8940X&lt;br /&gt;iBoot version: iBoot-1219.43.32&lt;br /&gt;secure boot?: YES&lt;br /&gt;Paniclog version: 1&lt;br /&gt;Epoch Time: sec usec&lt;br /&gt;Boot : 0x4ebd076c 0x00000000&lt;br /&gt;Sleep : 0x4ebe8163 0x000d9b9f&lt;br /&gt;Wake : 0x4ebe81b3 0x00000009&lt;br /&gt;Calendar: 0x4ebe81b3 0x00000097&lt;br /&gt;&lt;br /&gt;Task 0xc085ed20: 11303 pages, 127 threads: pid 0: kernel_task&lt;br /&gt;Task 0xc085eac0: 151 pages, 3 threads: pid 1: launchd&lt;br /&gt;Task 0xc085e600: 454 pages, 8 threads: pid 12: UserEventAgent&lt;br /&gt;Task 0xc085e140: 263 pages, 3 threads: pid 13: notifyd&lt;br /&gt;Task 0xc085e3a0: 551 pages, 9 threads: pid 14: configd&lt;br /&gt;Task 0xc085dee0: 12535 pages, 24 threads: pid 15: SpringBoard&lt;br /&gt;Task 0xc085dc80: 122 pages, 4 threads: pid 16: syslogd&lt;br /&gt;Task 0xc085d7c0: 1361 pages, 13 threads: pid 18: CommCenter&lt;br /&gt;Task 0xc085d0a0: 339 pages, 3 threads: pid 21: lockdownd&lt;br /&gt;Task 0xc085cbe0: 209 pages, 2 threads: pid 23: powerd&lt;br /&gt;Task 0xc085c260: 339 pages, 1 threads: pid 27: fairplayd.N94&lt;br /&gt;Task 0xc1007ac0: 1612 pages, 13 threads: pid 30: locationd&lt;br /&gt;Task 0xc1007860: 390 pages, 4 threads: pid 31: wifid&lt;br /&gt;Task 0xc10073a0: 327 pages, 7 threads: pid 33: ubd&lt;br /&gt;Task 0xc1005260: 4556 pages, 41 threads: pid 47: mediaserverd&lt;br /&gt;Task 0xc1005000: 269 pages, 3 threads: pid 48: mediaremoted&lt;br /&gt;Task 0xc10e5d20: 309 pages, 3 threads: pid 49: mDNSResponder&lt;br /&gt;Task 0xc10e5860: 941 pages, 9 threads: pid 51: imagent&lt;br /&gt;Task 0xc10e5600: 419 pages, 5 threads: pid 52: iapd&lt;br /&gt;Task 0xc10e5140: 238 pages, 4 threads: pid 54: fseventsd&lt;br /&gt;Task 0xc10e40a0: 389 pages, 3 threads: pid 61: apsd&lt;br /&gt;Task 0xc10e3e40: 389 pages, 2 threads: pid 62: aggregated&lt;br /&gt;Task 0xc10e3000: 518 pages, 2 threads: pid 68: BTServer&lt;br /&gt;Task 0xc113ed20: 474 pages, 4 threads: pid 69: aosnotifyd&lt;br /&gt;Task 0xc113e3a0: 184 pages, 2 threads: pid 76: networkd&lt;br /&gt;Task 0xc10e4ee0: 2564 pages, 8 threads: pid 82: dataaccessd&lt;br /&gt;Task 0xc085c720: 9647 pages, 11 threads: pid 94: MobileMail&lt;br /&gt;Task 0xc113e860: 847 pages, 4 threads: pid 307: Music~iphone&lt;br /&gt;Task 0xc113e600: 4260 pages, 5 threads: pid 640: MobilePhone&lt;br /&gt;Task 0xc085e860: 5221 pages, 10 threads: pid 1363: Camera&lt;br /&gt;Task 0xc085c000: 7003 pages, 11 threads: pid 1420: MobileSafari&lt;br /&gt;Task 0xc113eac0: 1309 pages, 12 threads:&lt;br /&gt;&lt;br /&gt;I searched for the source code file at the point of crash and surprisingly found that it&#39;s one of the open source libraries of apple:&lt;br /&gt;&lt;br /&gt;The source code of the crash file is here:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.opensource.apple.com/source/xnu/xnu-1699.24.8/osfmk/vm/vm_map_store_rb.c&quot;&gt;http://www.opensource.apple.com/source/xnu/xnu-1699.24.8/osfmk/vm/vm_map_store_rb.c&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;If I go to line 80 as it stated in the crash log the function there is something like this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;boolean_t vm_map_store_lookup_entry_rb( vm_map_t map, vm_map_offset_t address, vm_map_entry_t *vm_entry)&lt;br /&gt;{&lt;br /&gt;   struct vm_map_header hdr = map-&amp;gt;hdr;&lt;br /&gt;   struct vm_map_store *rb_entry = RB_ROOT(&amp;amp;(hdr.rb_head_store));&lt;br /&gt;   vm_map_entry_t cur = vm_map_to_entry(map);&lt;br /&gt;   vm_map_entry_t prev = VM_MAP_ENTRY_NULL;&lt;br /&gt;&lt;br /&gt;   while (rb_entry != (struct vm_map_store*)NULL) {&lt;br /&gt;              cur =  VME_FOR_STORE(rb_entry);&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;        if(cur == VM_MAP_ENTRY_NULL)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;            panic(&quot;no entry&quot;);&lt;/span&gt;&lt;br /&gt;       if (address &amp;gt;= cur-&amp;gt;vme_start) {&lt;br /&gt;           if (address &amp;lt; cur-&amp;gt;vme_end) {&lt;br /&gt;               *vm_entry = cur;&lt;br /&gt;               return TRUE;&lt;br /&gt;           }&lt;br /&gt;           rb_entry = RB_RIGHT(rb_entry, entry);&lt;br /&gt;           prev = cur;&lt;br /&gt;       } else {&lt;br /&gt;           rb_entry = RB_LEFT(rb_entry, entry);&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;   if( prev == VM_MAP_ENTRY_NULL){&lt;br /&gt;       prev = vm_map_to_entry(map);&lt;br /&gt;   }&lt;br /&gt;   *vm_entry = prev;&lt;br /&gt;   return FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I have no idea why the cur equals to  &lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;VM_MAP_ENTRY_NULL &lt;/span&gt;but this crashes my iphone 4s 64gb once every two days or something which is obviously not good.</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/4553571953384449231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/4553571953384449231' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/4553571953384449231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/4553571953384449231'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2011/11/ios-5-or-ios-501-on-iphone-4s-crashes.html' title='ios 5 or ios 5.0.1 on Iphone 4s crashes - kernel panic'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-5510891603894358002</id><published>2011-09-14T23:48:00.000+01:00</published><updated>2011-09-14T23:49:12.939+01:00</updated><title type='text'>HAL_INITIALIZATION_FAILED Error While Installing Windows 8 Developer Preview Build</title><content type='html'>Windows 8 developer preview is released, I just wanted to give it a try and install to a virtual Pc however looks like it&#39;s not compatible with either VMware or Microsoft virtual Pc 2007 versions that I currently use.The error message when installing is:&lt;br /&gt;&lt;br /&gt;HAL_INITIALIZATION_FAILED Error While Installing Windows 8 Developer Preview Build&lt;br /&gt;&lt;br /&gt;Solution: Download &amp;amp; Use Latest build from Virtual Box, http://www.virtualbox.org it&#39;s open source and free.. and doesn&#39;t have this issue with windows 8</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/5510891603894358002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/5510891603894358002' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5510891603894358002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5510891603894358002'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2011/09/halinitializationfailed-error-while.html' title='HAL_INITIALIZATION_FAILED Error While Installing Windows 8 Developer Preview Build'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-5074654961305503052</id><published>2011-08-12T18:15:00.000+01:00</published><updated>2011-08-12T18:16:08.037+01:00</updated><title type='text'>buffalo wzr-hp-g300nh open wrt failsafe mode</title><content type='html'>I recently ugpraded my router&#39;s (buffalo wzr-hp-g300nh) firmware from dd-wrt to open-wrt due to problems with installing packages to dd-wrt&#39;s lates version.&lt;br /&gt;Looks like open-wrt now is more up to date and works better.However it is easier to break.&lt;br /&gt;After playing with it&#39;s GUI to configure network I easly bricked the router and needed to recover it.&lt;br /&gt;&lt;br /&gt;What I found is failsafe mode in open wrt.To achieve this with buffola wzr-hp-g300nh, simply unplug the rooter&lt;br /&gt;wait for red diagnostic light to turn of , when the green light starts blinking immediately press the wireless button.&lt;br /&gt;This will put the open-wrt in fail safe mode.To be able to access failsafe mode , you should be connected to your router over cable&lt;br /&gt;and your ip address should be set to 192.168.1.2 (static).&lt;br /&gt;Once you are in , just telnet to 192.168.1.1 and you will be logged in.&lt;br /&gt;first mount the file system so that you can write it by typing:&lt;br /&gt;&lt;br /&gt;mount_root&lt;br /&gt;&lt;br /&gt;when you do this , FS will be writable.&lt;br /&gt;&lt;br /&gt;I found default configs stored in this directory:&lt;br /&gt;&lt;br /&gt;/etc/defconfig/&lt;br /&gt;&lt;br /&gt;find your routers name or if not there choose generic&lt;br /&gt;and copy the network file under it to your current config.&lt;br /&gt;&lt;br /&gt;cp /etc/defconfig/wzr-hp-g300nh/network /etc/config/network -f&lt;br /&gt;&lt;br /&gt;This will override the corruped network file with the default one.&lt;br /&gt;&lt;br /&gt;Finally, type this&lt;br /&gt;&lt;br /&gt;reboot -f&lt;br /&gt;&lt;br /&gt;This will reboot the router and you should be able to access your router with default settings.</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/5074654961305503052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/5074654961305503052' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5074654961305503052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5074654961305503052'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2011/08/buffalo-wzr-hp-g300nh-open-wrt-failsafe.html' title='buffalo wzr-hp-g300nh open wrt failsafe mode'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-1901324612537165148</id><published>2011-08-12T18:14:00.000+01:00</published><updated>2011-08-12T18:15:20.603+01:00</updated><title type='text'>How to connect your old phone as a 3g router to your open-wrt installation.</title><content type='html'>&lt;br /&gt;I recently moved to a new flat and currently I don&#39;t have an internet connection.I have an old phone: nokia n95 8gb and unlimited data plan.&lt;br /&gt;What I decided to connect the phone to the router and access internet as usual.&lt;br /&gt;&lt;br /&gt;1-install open-wrt&#39;s latest version (OpenWrt Backfire 10.03.1-rc5 in my case)&lt;br /&gt;2-you need to install usb packages&lt;br /&gt;&lt;br /&gt;                    kmod-usb-acm&lt;br /&gt;                    2.6.32.27-1&lt;br /&gt;               &lt;br /&gt;&lt;br /&gt;                    kmod-usb-core&lt;br /&gt;                    2.6.32.27-1&lt;br /&gt;               &lt;br /&gt;&lt;br /&gt;                    kmod-usb-ohci&lt;br /&gt;                    2.6.32.27-1&lt;br /&gt;               &lt;br /&gt;                    kmod-usb2&lt;br /&gt;&lt;br /&gt;3-to configure 3g access from backfire&#39;s gui you need install package&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                    comgt&lt;br /&gt;                    0.32-9&lt;br /&gt;&lt;br /&gt;4-go to wwan section and now select 3g as connection method.&lt;br /&gt;&lt;br /&gt;put the settings apn etc. and you will be connected to internet over your nokia.&lt;br /&gt;&lt;br /&gt;Trick here for nokia phones is comminicated through kmod-usb-acm package which creates a device&lt;br /&gt;/dev/ttyACM0, you have to put this to the modem device setting on the GUI&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DOn&#39;t forget to set your phone to Pc suite mode.&lt;br /&gt;&lt;br /&gt;If anyhting goes wrong you can see the status from logread command.&lt;br /&gt;&lt;br /&gt;If everything ok , as soon as you put the details to Luci you should see something like this from the output of logread and you will have internet connection,&lt;br /&gt;&lt;br /&gt;Mar 27 05:23:21 OpenWrt daemon.notice pppd[10071]: pppd 2.4.4 started by root, uid 0&lt;br /&gt;Mar 27 05:23:22 OpenWrt local2.info chat[10124]: abort on (BUSY)&lt;br /&gt;Mar 27 05:23:22 OpenWrt local2.info chat[10124]: abort on (NO CARRIER)&lt;br /&gt;Mar 27 05:23:22 OpenWrt local2.info chat[10124]: abort on (ERROR)&lt;br /&gt;Mar 27 05:23:22 OpenWrt local2.info chat[10124]: report (CONNECT)&lt;br /&gt;Mar 27 05:23:22 OpenWrt local2.info chat[10124]: timeout set to 10 seconds&lt;br /&gt;Mar 27 05:23:22 OpenWrt local2.info chat[10124]: send (AT&amp;amp;F^M)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (OK)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: AT&amp;amp;F^M^M&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: OK&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]:  -- got it&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: send (ATE1^M)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (OK)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ^M&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ATE1^M^M&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: OK&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]:  -- got it&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: send (AT+CGDCONT=1,&quot;IP&quot;,&quot;yourapnhere.com&quot;^M)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: timeout set to 30 seconds&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (OK)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ^M&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: AT+CGDCONT=1,&quot;IP&quot;,&quot;yourapnhere.com&quot;^M^M&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: OK&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]:  -- got it&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: send (ATD*99***1#^M)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (CONNECT)&lt;br /&gt;Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ^M&lt;br /&gt;Mar 27 05:23:24 OpenWrt local2.info chat[10124]: ATD*99***1#^M^M&lt;br /&gt;Mar 27 05:23:24 OpenWrt local2.info chat[10124]: CONNECT&lt;br /&gt;Mar 27 05:23:24 OpenWrt local2.info chat[10124]:  -- got it&lt;br /&gt;Mar 27 05:23:24 OpenWrt local2.info chat[10124]: send ( ^M)&lt;br /&gt;Mar 27 05:23:24 OpenWrt daemon.info pppd[10071]: Serial connection established.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/1901324612537165148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/1901324612537165148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/1901324612537165148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/1901324612537165148'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2011/08/how-to-connect-your-old-phone-as-3g.html' title='How to connect your old phone as a 3g router to your open-wrt installation.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-5360144106154080000</id><published>2011-02-09T19:04:00.002+00:00</published><updated>2011-02-09T19:12:07.406+00:00</updated><title type='text'>DD-WRT Mac address clone resets itself upon startup</title><content type='html'>I have a Buffalo WZR-HP-G300NH modem and I run DD-WRT v24-sp2 (08/07/10) std on it. everything is perfect except I need to  have my old router&#39;s mac address to keep my old IP address assigned from my ISP. There is a solution in DD-WRT for this in WEB interface &gt; SETUP &gt; MAC address clone where I can change it  and it fixes it . However the problem is for some reason or because of a bug, Buffalo forgets MAC address every time it is rebooted or at a power lost and I need to go this address and click apply again to change it back to the desired MAC address.&lt;br /&gt;&lt;br /&gt;My solution to avoid this is easy:&lt;br /&gt;&lt;br /&gt;1) Go to Web interface &gt; Administration&gt; Commands&lt;br /&gt;2) Paste this:&lt;br /&gt;&lt;br /&gt;nvram set wan_hwaddr=&quot;12:40:CC:11:00:00&quot;&lt;br /&gt;&lt;br /&gt;stopservice wan&lt;br /&gt;startservice wan&lt;br /&gt;&lt;br /&gt;Not that:&lt;br /&gt;&quot;12:40:CC:11:00:00&quot; is my MAc address and you need to type your own there!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) Click Save Startup&lt;br /&gt;&lt;br /&gt;Next time when you reboot your Modem , or after a power lost you will have the desired mac address set.</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/5360144106154080000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/5360144106154080000' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5360144106154080000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5360144106154080000'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2011/02/dd-wrt-mac-address-clone-resets-itself.html' title='DD-WRT Mac address clone resets itself upon startup'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-1325351304690943737</id><published>2011-01-23T14:47:00.001+00:00</published><updated>2011-01-23T14:48:53.367+00:00</updated><title type='text'>first cool hive</title><content type='html'>9 years ago I recorded half of a song hoping that one day sound recognition technology will advance and I can find out what was the song&#39;s name and listen it as a whole.Today by coincidence I found that file again and used shazam on iphone to identify which song was it.maybe I am a bit late but now at least I know that it&#39;s called first cool hive and I can stream it from spotify.</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/1325351304690943737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/1325351304690943737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/1325351304690943737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/1325351304690943737'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2011/01/first-cool-hive.html' title='first cool hive'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-2901520365884153872</id><published>2010-09-16T08:57:00.005+01:00</published><updated>2010-09-16T09:09:34.323+01:00</updated><title type='text'>Computer Lags but not because of CPU Usage</title><content type='html'>I had  some problems for a while with my laptop about things getting slowing down while I was using my pc.Normally, slow downs occur if the CPU usage is very high and normally I use Task Manager to see what&#39;s going on.The interesting thing is when I open the task manager I see some processes using high CPU and I kill them , suddenly another process starts using CPU higher..after a while killing all the processes I end up with Task Manager and task manager uses massive CPU, obviously these processes were not using this much CPU. The first thing came to my mind is a driver problem.But how could I find it and prove which driver was it ? Normally you can do debugging and all kind of stuff to track down the problem but it&#39;s a massive work.&lt;br /&gt;&lt;br /&gt;I was searching the net I found this utility: &lt;a href=&quot;http://www.thesycon.de/eng/latency_check.shtml&quot;&gt;http://www.thesycon.de/eng/latency_check.shtml&lt;/a&gt; great tool,  showed me the lag  and intervals so that while I was running this program I went to device manager to disable drivers one by one to see which one causes it, and suddenly when I stopped vmware virtual ethernet adapter driver the lag ended CPU and speed was back.&lt;br /&gt;&lt;br /&gt;If you have problems like high CPU usage, but it doesn&#39;t look like the CPU usage caused by processes then your PC might be lagging.And to see what goes on you can use this tool to diagnose.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.thesycon.de/eng/latency_check.shtml&quot;&gt;&lt;img style=&quot;float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 480px; height: 399px;&quot; src=&quot;http://www.thesycon.de/dpclat/dpclat2.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/2901520365884153872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/2901520365884153872' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/2901520365884153872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/2901520365884153872'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2010/09/computer-lags-but-not-because-of-cpu.html' title='Computer Lags but not because of CPU Usage'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-8958013956264144436</id><published>2010-05-11T04:38:00.006+01:00</published><updated>2010-05-11T04:50:54.926+01:00</updated><title type='text'>jailbroken iphone 3gs won&#39;t boot</title><content type='html'>today I had to restart my jailbroken iphone because it was getting slow.I was surprised when it didn&#39;t boot and stuck while loading the OS.I was lucky that I was using verbose boot thing so that i was able to see what was going on.my problem was related to some fsck error during the boot. I tried hard to capture what was the error message because it was restarting quickly after that step.I used to use linux system and thought that the problem was with a corrupted unix filesystem however it wasn&#39;t.After doing some googling i found that thousands of people had this problem and looks like thousands of will have.Some clever guy had found that the problem was because of an update to /sbin directory from the jailbreak community (cydia/rock etc.) . and used one of the jail break programs with some customization to restore the sbin directory. That way you don&#39;t need to restore and start everything from square one.Also you won&#39;t loose any data. The blog of this guy and the more detailed explanation of the problem is : &lt;a href=&quot;http://www.spacesparkstudios.com/?q=node/10&quot;&gt;http://www.spacesparkstudios.com/?q=node/10&lt;/a&gt; . I had to use a mac to use his custom deployment but after doing it, it worked perfect and I was able to boot my iphone.There is also a link to the discussions where everyone having the same problem : &lt;a href=&quot;http://modmyi.com/forums/general/709372-iphone-3gs-wont-boot-past-apple-logo-turns-off-itself.html&quot;&gt;http://modmyi.com/forums/general/709372-iphone-3gs-wont-boot-past-apple-logo-turns-off-itself.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/8958013956264144436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/8958013956264144436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/8958013956264144436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/8958013956264144436'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2010/05/jailbroken-iphone-reboots.html' title='jailbroken iphone 3gs won&#39;t boot'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-8395895108300744946</id><published>2010-04-01T05:42:00.001+01:00</published><updated>2010-04-01T05:44:54.150+01:00</updated><title type='text'>don&#39;t mess with your users</title><content type='html'>If you get an error related to your user after restoring , mirroring db. etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Run this:&lt;br /&gt;&lt;br /&gt;sp_change_users_login &#39;auto_fix&#39;, N&#39;XXXXXX&#39;&lt;br /&gt;&lt;br /&gt;where XXXXXX= your username,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;run this under the DB which that user belongs.</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/8395895108300744946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/8395895108300744946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/8395895108300744946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/8395895108300744946'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2010/03/dont-mess-with-your-users.html' title='don&#39;t mess with your users'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-509814884610174570</id><published>2010-03-24T06:23:00.000+00:00</published><updated>2010-03-24T06:29:55.142+00:00</updated><title type='text'>sql server 2008 database mirroring gotchas</title><content type='html'>One day if you try to configure sql server for mirroring without domain accounts you may come across with a few problems.such as this error message:&lt;br /&gt;&lt;br /&gt;Database mirroring connection error 4 &#39;An error occurred while receiving data: &#39;10054(An existing connection was forcibly closed by the remote&lt;br /&gt;&lt;br /&gt;&quot;alter failed for database&quot; The server network address  can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational.&lt;br /&gt;&lt;br /&gt; The server network address &quot;%.*ls&quot; can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational.&lt;br /&gt;&lt;br /&gt;Error messages differs but the problem is sql servers principal and mirror should trust each other.  On the net there are various resources how to configure this via certificates etc. but if you are in a hurry to test something quick&lt;br /&gt;&lt;br /&gt; try this on your mirror:&lt;br /&gt;run on master database&lt;br /&gt;&lt;br /&gt; if not exists( select * from sys.syslogins where loginname = &#39;NT AUTHORITY\ANONYMOUS LOGON&#39;)&lt;br /&gt;            Begin&lt;br /&gt;                    Create Login [NT AUTHORITY\ANONYMOUS LOGON] from windows&lt;br /&gt;            End&lt;br /&gt;           &lt;br /&gt;grant connect on endpoint::[Mirroring] to [NT AUTHORITY\ANONYMOUS LOGON]&lt;br /&gt;&lt;br /&gt;where [mirrorring] should be your endpoint name... and you should run this on your master database of your mirror server..&lt;br /&gt;&lt;br /&gt;I am assuming that if you see the above error messages you have already configured mirroring using wizards etc.&lt;br /&gt;&lt;br /&gt;this will grant the permission needed not the most secure way though therefore keep that in mind.</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/509814884610174570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/509814884610174570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/509814884610174570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/509814884610174570'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2010/03/sql-server-2008-database-mirroring.html' title='sql server 2008 database mirroring gotchas'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6031740693580832730.post-5386647297570631788</id><published>2009-08-23T14:48:00.000+01:00</published><updated>2009-08-23T14:52:07.804+01:00</updated><title type='text'>How to get rid off McAfffe Antivirus?</title><content type='html'>I recently bought a dell laptop with preinstalled McAffee Antivirus on it! The problem is if you want to uninstall it basically you can&#39;t! When you click uninstall from programs and features at a point it can&#39;t remove parental controls or something like that and keeps continuing bugging you every time on your screen displaying that my pc is not protected enough!&lt;br /&gt;&lt;br /&gt;The solution is here:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://service.mcafee.com/FAQSearch.aspx?lc=1033&amp;amp;sg=TS&amp;amp;pt=1&quot;&gt;http://service.mcafee.com/FAQSearch.aspx?lc=1033&amp;amp;sg=TS&amp;amp;pt=1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There is a tool which uninstalls Mc Affee products from your pc.&lt;br /&gt;&lt;br /&gt;Just donwload it and follow the steps.</content><link rel='replies' type='application/atom+xml' href='http://ersinburda.blogspot.com/feeds/5386647297570631788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6031740693580832730/5386647297570631788' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5386647297570631788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6031740693580832730/posts/default/5386647297570631788'/><link rel='alternate' type='text/html' href='http://ersinburda.blogspot.com/2009/08/how-to-get-rid-off-mcafffe-antivirus.html' title='How to get rid off McAfffe Antivirus?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10156808209816305056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>