fixed import form wordpress plugin
[homepage.git] / src / _posts / 2018-08-27-wifimqtt-smoke-detector-with-5yrs-battery-and-esp8266.html
diff --git a/src/_posts/2018-08-27-wifimqtt-smoke-detector-with-5yrs-battery-and-esp8266.html b/src/_posts/2018-08-27-wifimqtt-smoke-detector-with-5yrs-battery-and-esp8266.html
deleted file mode 100644 (file)
index fb9e005..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
----
-layout: post
-status: publish
-published: true
-title: WIFI+MQTT Smoke-Detector with 5yrs battery and ESP8266
-author:
-  display_name: xro
-  login: xro
-  email: xro@realraum.at
-  url: ''
-author_login: xro
-author_email: xro@realraum.at
-wordpress_id: 1076
-wordpress_url: http://wp.realraum.at/?p=1076
-date: '2018-08-27 02:15:19 -0500'
-date_gmt: '2018-08-27 00:15:19 -0500'
-categories:
-- realraum News
-- Projekte
-- english
-- MakingCrafting
-tags: []
-comments: []
----
-<p>Read about Flocx's current project, a battery-saving WIFI+MQTT-enabling cheap smoke-detector here: <a href="https://blog.flo.cx/2018/08/ikea-diy-smart-smoke-detector/">https://blog.flo.cx/2018/08/ikea-diy-smart-smoke-detector/</a></p>
-<p><img class="alignnone wp-image-1079 size-full" src="http://wp.realraum.at/wp-content/uploads/2018/08/wpid-dsc_8087-1743742083.jpg" alt="" width="3000" height="1688" /></p>
-<p>I wanted to do the same thing for my flat, but instead of using the IKEA one, I ordered two cheap 7&acirc;&sbquo;&not; SmartWares detectors from Amazon with 9V batteries that are advertised to give 5yrs battery life and otherwise identical hardware. Also instead of &Acirc;&micro;Python I used Sming and C++. Just for the fun of it, I also added a voltage divider that measures the battery voltage at the time of alarm.</p>
-<p>You can find my <a href="https://github.com/btittelbach/sming_smokedetector">firmware on GitHub</a>.<br />
-<a href="https://github.com/btittelbach/sming_smokedetector/blob/master/esp8266_smokedetector/esp8266_smokedetector.pdf" ><br />
-<img class="alignright size-medium wp-image-1093" src="http://wp.realraum.at/wp-content/uploads/2018/08/esp8266_smokedetector-300x274.png" alt="esp8266_smokedetector" width="300" height="274" /><br />
-</a><br />
-Todo for the future: motivate someone to do this for realraum. ;-></p>
-<p>Since all 9V smoke-detectors ICs basically use the same pinout with an I/O-function on pin 7 that pulls LOW when no smoke is detected and HIGH on alarm, they are all equally easy to mod. The SmartWares are smaller than the IKEA ones though, so I did not even attempt to fit everything inside the case. More accessibility traded for lower WAF :)</p>
-<p>Note that there are 3V Lithium 10yrs battery life smoke detectors out there, which work a bit differently. For once, the ESP8266 does not run with 3.0V but needs true 3.3V, so at the very least you will need a cheap and tiny boost converter from AliExpress. Furthermore, they do not use a CS2105G0 based chip but a PIC which might not have an pin as CS2105G0-I/O-pin configured.</p>
-<p>A word of warning: In order to conserve the battery, the circuit disconnects the whole GND when no smoke is detected. Thus GND and 3V3 of the ESP8266 may be short-circuited through the unpowered buck-converter, depending on your component. So just to be safe, remove the Wemos from the circuit before connecting it via USB.</p>
-<p><img class="alignnone size-full wp-image-1078" src="http://wp.realraum.at/wp-content/uploads/2018/08/wpid-dsc_8088959054070.jpg" alt="" width="3000" height="1688" /></p>
-<p><img class="alignnone wp-image-1089 size-full" src="http://wp.realraum.at/wp-content/uploads/2018/08/wpid-dsc_8092959054070.jpg" alt="" width="3000" height="1688" data-temp-aztec-id="dfe019d6-62c3-4bbe-994b-cdaa5e195592" /></p>