Additional Info For Flashing v1.0 Sonoff T1

Here are some additional information on top of following the instructions in a previous article:

For the Sonoff T1 3 Gang (v1.0), to wire the FTDI adapter, you are supposed to connect to the 5-hole area on the right of the reset button. The nearest button is your VCC>3v, followed by the Tx>Rx, then the Rx>Tx and lastly GND to GND.

The order in which to ensure you enter flashing mode is to make sure all the connections are made PRIOR to inserting the FTDI into the USB slot on your computer. Once you do it correctly, your Sonoff T1 will be lighted up in bright blue.

Press the reset button, followed by the first button of the T1 (or the left-est), release the reset button and then release the first button.

You know you have reached the correct mode when the bright blue is replaced by a faintish background blue on the Sonoff T1 buttons.

Proceed with uploading the compiled sketch as per Sonoff 4CH.

Hackintosh-ing a Laptop

Today we will look into how I hackintosh a Dell Inspiron 5570 (i7-8550u) into a MacBook Pro. This is not a detailed guide as this is my first time doing so, but I will try to explain from a newbie point of view regarding the whole process.

You should instead check these out before attempting this process:

I have tried both process (vanilla or Olarila) and they worked. But YMMV, the easiest for me is with Olarila.

With that, we will proceed to download the RAW image of the macOS version that you prefer to be installed on your laptop. Take note that if you want NVIDIA graphic cards, then you need High Sierra, anything else and you can go for Mojave.

AMD CPUs are extremely difficult to hackintosh especially on a laptop, so try to avoid them as much as possible

Once you have the image downloaded, unpack it onto your desktop. Fire up the Etcher app and get yourself a 16GB USB stick. Before installing, format your USB stick to Mac OS Expanded (Journaled) + GUID Partition Map.

Screenshot 2019-09-14 at 12.09.02 PM

Using Etcher, flash the RAW image onto your USB drive.

Continue reading →

How to flash Tasmota to your Sonoff

In a year’s time, we will be ushering in the 2020s, I’m sure you have heard all about making our homes smarter, buying IoT-enabled devices and getting connected to the cloud. I started off just like anyone else, totally oblivious to all these things, not to mention that I live extremely far away from the hub of all these changes. But, I will try to share what I have learnt and we will go off on this journey into the world of home automation.

As with any journey, we need to start off with the basic building blocks of home automation, and with that I present to you a company from China (itead) that produce a brand known as Sonoff, which with the help of the Internet, we will flash it so that it only listen to us and will not send back any information whatsoever to a foreign country.

There are plenty of ways to flash it, ranging from the easiest to the hardest, I learnt my lessons somewhat the hard way, so I will share with you, how I flashed a Sonoff 4CH.

Before you get all these, you need to get a USB-FTDI adapter, I personally use the CP2102 type and also you need the cables and metal prongs needed to connect the Sonoff to the USB outlet on your computer.

First of all, we need to download the Arduino IDE program. As of this article, it is at Version 1.8.9.

Screenshot 2019-07-11 at 10.36.35 AM

And for the code that we want to flash, I chose Tasmota. There are a few other flavours to chose from but I went with the commonest. As of this article, it is at Version 6.6.0

Screenshot 2019-07-11 at 10.46.38 AM

Unzip both and open up your Arduino IDE application, there are a few things we need to set up before we can start editing. First, go into >Preferences and paste this into the ‘Additional Boards Manager URL’ :

Screenshot 2019-07-11 at 12.39.57 PM

Next, go to >Tools >Board >Boards Manager

Screenshot 2019-07-11 at 12.42.41 PM

(Don’t worry if yours doesn’t show up as many as mine did, I have already downloaded the libraries, that’s why I have so many choices)

Due to the URL you entered above, you will be able to download the ‘esp8266’ boards library whch is at Version 2.5.2. This might take awhile, so go and get yourself a cup of coffee, a screwdriver (Phillips-head) and a marker pen.

Screenshot 2019-07-11 at 10.53.42 AM

Continue reading →