<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on kr0no.me</title><link>https://kr0no.me/en/posts/</link><description>Recent content in Posts on kr0no.me</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 27 Jan 2017 00:00:00 +0000</lastBuildDate><atom:link href="https://kr0no.me/en/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Reflashing a Sonoff switch for local MQTT</title><link>https://kr0no.me/en/posts/2017-01-27-reprogramar-sonoff-switch-mqtt/</link><pubDate>Fri, 27 Jan 2017 00:00:00 +0000</pubDate><guid>https://kr0no.me/en/posts/2017-01-27-reprogramar-sonoff-switch-mqtt/</guid><description>&lt;p&gt;ITead&amp;rsquo;s Sonoff devices let us build a &lt;em&gt;&amp;ldquo;smart home&amp;rdquo;&lt;/em&gt; really cheaply and very easily. However, these devices are managed through Sonoff&amp;rsquo;s own servers, so they&amp;rsquo;re constantly sending and receiving commands from a place that isn&amp;rsquo;t under our control, and it&amp;rsquo;s better to avoid that, right?&lt;/p&gt;
&lt;p&gt;In this post we&amp;rsquo;re going to see how to reflash the &lt;a href="https://www.itead.cc/smart-home/sonoff-wifi-wireless-switch.html"&gt;Sonoff Wifi Smart Switch&lt;/a&gt; (which costs $4.85 (~4.50€)) so it uses our own MQTT server and everything is handled from our local network.&lt;/p&gt;</description></item><item><title>USB Rubber Ducky with an Arduino UNO</title><link>https://kr0no.me/en/posts/2016-09-06-usb-rubber-ducky-arduino/</link><pubDate>Tue, 04 Oct 2016 00:00:00 +0000</pubDate><guid>https://kr0no.me/en/posts/2016-09-06-usb-rubber-ducky-arduino/</guid><description>&lt;p&gt;In theory, the Arduino UNO can&amp;rsquo;t act as an HID device, which is what we need to turn it into a USB Rubber Ducky. However, this board has two microcontrollers, the ATmega328 and the ATmega16u2, and the second one is the one we care about. This microcontroller can be reprogrammed to work as a USB AVR (just like an Arduino Leonardo would, for example), which is what lets us emulate an HID device and build our own USB Rubber Ducky.&lt;/p&gt;</description></item></channel></rss>