<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Mqtt on Jackenhack</title><link>https://www.jackenhack.com/tags/mqtt/</link><description>Recent content in Mqtt on Jackenhack</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 17 Nov 2017 00:00:00 +0000</lastBuildDate><atom:link href="https://www.jackenhack.com/tags/mqtt/index.xml" rel="self" type="application/rss+xml"/><item><title>433 MHz Support in Node-RED</title><link>https://www.jackenhack.com/433-mhz-support-node-red/</link><pubDate>Fri, 17 Nov 2017 00:00:00 +0000</pubDate><guid>https://www.jackenhack.com/433-mhz-support-node-red/</guid><description>&lt;p&gt;&lt;img decoding="async" height="740" loading="lazy" sizes="(min-width: 768px) 720px, 100vw" src="https://www.jackenhack.com/433-mhz-support-node-red/images/sonoff-rf-bridge-433-unit_hu_96033339821d4b07.jpg" srcset="https://www.jackenhack.com/433-mhz-support-node-red/images/sonoff-rf-bridge-433-unit_hu_37bba1605f9a1df3.jpg 360w,/433-mhz-support-node-red/images/sonoff-rf-bridge-433-unit_hu_7858c395b9d948f4.jpg 480w" width="649"&gt; &lt;a href="http://itead.cc"&gt;ITEAD&lt;/a&gt; contacted me about testing some new equipment and write an unbiased blog post about it. I usually reject all such offers, but this one worked for me. Why? Well, all the stuff they offered was on my shopping list anyway! And my home is quite &lt;a href="https://www.jackenhack.com/sonoff-switch-i2c/"&gt;literally chock full of Sonoff relays&lt;/a&gt;, lamps, etc.&lt;/p&gt;
&lt;p&gt;So the first thing I started to play with was the &lt;a href="https://sonoff.tech/product/smart-home-security/rf-bridge/"&gt;SONOFF RF BRIDGE 433&lt;/a&gt;. The bridge makes it possible to control switches, doorbells, curtain openers, etc. that uses 433MHz communication frequency. I&amp;rsquo;m not interested in using the original firmware because I prefer to do my home automation setup in Node-RED. Here&amp;rsquo;s how it works.&lt;/p&gt;</description></item><item><title>Sonoff WiFi Smart Switch With I2C Port</title><link>https://www.jackenhack.com/sonoff-switch-i2c/</link><pubDate>Tue, 21 Mar 2017 00:00:00 +0000</pubDate><guid>https://www.jackenhack.com/sonoff-switch-i2c/</guid><description>&lt;h2 id="how-to-add-an-i2c-interface-to-a-sonoff-wifi-smart-switch"&gt;&lt;a href="https://www.jackenhack.com/sonoff-switch-i2c/images/sonoff-wifi-switch.jpg"&gt;&lt;img decoding="async" height="1000" loading="lazy" sizes="(min-width: 768px) 720px, 100vw" src="https://www.jackenhack.com/sonoff-switch-i2c/images/sonoff-wifi-switch_hu_a513419d9e429f58.jpg" srcset="https://www.jackenhack.com/sonoff-switch-i2c/images/sonoff-wifi-switch_hu_b8eb69b5ac055277.jpg 360w,/sonoff-switch-i2c/images/sonoff-wifi-switch_hu_416c26c48874e2cc.jpg 480w,/sonoff-switch-i2c/images/sonoff-wifi-switch_hu_568c24d09e14f74f.jpg 720w" width="1000"&gt;&lt;/a&gt;How to add an I2C interface to a Sonoff WiFi Smart Switch.&lt;/h2&gt;
&lt;p&gt;The &lt;a href="http://sonoff.itead.cc/en/"&gt;Sonoff brand&lt;/a&gt; is a whole series os IOT devices that use the esp8266 WiFi processor internally. The devices are easily hacked and are cheap. The &lt;a href="https://sonoff.tech/product/diy-smart-switch/basicr2/"&gt;Sonoff WiFi Smart Switch&lt;/a&gt; is the most straightforward device, which can turn on or off 110/220 Volt 10 Ampere remotely. That means you can have your ceiling fan, lamp or anything else connected t mains power remotely controlled by your phone or computer. But the software that comes with it isn&amp;rsquo;t very flexible and cannot be integrated into a home control system like &lt;a href="https://nodered.org"&gt;NodeRED&lt;/a&gt;, &lt;a href="http://www.openhab.org"&gt;OpenHAB&lt;/a&gt; or any other home automation system.&lt;/p&gt;
&lt;h2 id="firmware"&gt;Firmware&lt;/h2&gt;
&lt;p&gt;The Sonoff devices are easy to hack, so you can put a better firmware like &lt;a href="https://www.letscontrolit.com/wiki/index.php/ESPEasy"&gt;ESPEasy&lt;/a&gt; on it and integrate the device with any system. ESPEasy has an extensive list of extra modules that you can connect, like temperature, barometric pressure, humidity, light sensors, PIR sensors and a &lt;a href="https://www.letscontrolit.com/wiki/index.php/ESPEasy#Applications"&gt;long list of other things&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But most modules connect with I2C, which is a serial interface for interconnecting ICs using a clock and a data line. The Sonoff Switch only have one extra pin available, making it impossible to connect more advanced sensors. But there is a way of fixing that. Here&amp;rsquo;s how to add that to add an I2C connector to your $5 Sonoff and open up a whole field of stuff you can do.&lt;/p&gt;</description></item></channel></rss>