Flash Blitzwolf or any other tuya- based esp device without soldering

Tuya-convert utility I would usually do soldering and flashing via serial-to-usb connection, but lately I’ve got some devices that are either hard to open physically or too new and no information was found on the internet. That’s why I tried (successfully) to use Tuya convert utility to flash my last several devices. I will describe the steps here, along with some extra information about firmwares included. First, the installation is pretty straightforward on Linux. I had no success running it

Continue Reading

Home assistant on Raspberry PI as Hass.io

General info You might not want to tinker around with docker installation, even though I find it more flexible. In this case, there’s another way, much more user-friendly, that does not involve a lot of shell commands. It’s called Hass.io. I will not cover here the basic installation of the image, just make sure you pick the right one and install it, following these instructions. After you install it, connect the RPi via ethernet and access it through homeassistant.local:8123 in

Continue Reading

Bluetooth Low Energy ( BLE ) sensors into Home Assistant (or any other platform, actually)

General In this tutorial we will use ESP32 board as a gateway between Bluetooth sensors ( Xiaomi LYWSD03MMC LCD configured here, but should work with anything else, too ) and Home Assistant’s MQTT server ( You can use any other platform instead of Home Assistant, of course). You can check some of the supported BLE sensors here. Prerequisites: ESP32 development board ( you can buy any on aliexpress.com ). This is needed in order to directly access BLE sensors. Home

Continue Reading

Measuring temperature, humidity, pressure with ESP8266, BMP180/BME280 on a rechargeable battery

I recently started playing with ESP8266 and really like it. So I decided to make a simple OpenSenseMap temperature and pressure ( and humidity with BME280 ) stand-alone device. The idea was to have it run off battery for a long period of time and if needed, to charge it via solar panel(s). I decided to go with ESP-12S, which is bare-bone ESP and does not have usb input or any other schematics like Wemos D1 or similar. That’s the

Continue Reading

Reading Data from HC-12 on Raspberry Pi and sending it to Domoticz

Hardware. Okay, to read data from HC-12 to the Raspberry PI is practically very easy :). All you need to do is hook it up and power from RPi. VIN – Connect to RPi 5V (PIN 4) GND – Connect to RPi GND (PIN 6) RX – Connect to RPi GPIO14 (PIN 8, UART0_TXD) TX – Connect to RPi GPIO15 (PIN 10, UART0_RXD) I “stole” that image from Internet, so you can see which pins exactly are those that we need: Software. Simple

Continue Reading

Adding Light sensor to the HC-12 + Temp sensor

In one of the previous articles, I’ve shown you how to read the temperature and send it (very basic format) through HC-12 transmitter. Now we could easily add Light reading and sending it to the reader ( Another HC-12, hooked to Raspberry PI or Arduino )     For that purpose, we will use BH1750 sensor. It’s very easy to hook it to Arduino, read the values and send it, along with the temperature reading. BH1750 uses I2C and is very

Continue Reading

Customizing Sonoff ESP switch to work with anything

I’ve recently purchased several sonoff wifi modules. Here’s another one, higher amperage. They usually go with an app that you can use to turn them on / off. However, that’s pretty boring 🙂 I decided to make them run via http interface and also control them from Domoticz via virtual switch. Yes, it’s possible and not that hard 🙂 I decided to install ESPEasy, because it’s universal one and you can configure it pretty easy via http interface and dedicated

Continue Reading

Receiving the data from the sensor and displaying it

In my previous post, I’ve read temperature reading with BMP180 on Arduino mini cheap clone and sent it over air with HC-12 serial module. Now we’re going to receive it and display it on the OLED screen, that I’ve made a simple test with. To the same Arduino, that we have connected the OLED screen to, we need to connect an HC-12. Wiring is extremely simple (same as on the sender side): VCC – to Arduino 3.3v GND – to

Continue Reading

Reading temperature with Arduino and sending it via HC-12

I’ll be using Arduino Mini Pro cheap clone, that you can find anywhere on E-Bay for $2. Mine looks like this, works on 3.3v and is 8MHz. Make sure to have the correct settings in the Arduino IDE in order to program it. I’m using cheap PL2303 to RS232, which requires specific drivers for Mac OS X ( maybe for Windows, too? ). So, I will be connecting pressure and temperature sensor, named BMP180, to it. I will only read

Continue Reading

Showing some text on cheap OLED screens

I’ve got several SSD1306 based 0.96″ OLED screens around so I decided to use one of them to show some information that I receive from the HC-12. The first step was to connect it to Arduino Mini/Pro and display a test. My OLED has the following pins / markings on it ( I hope you can see them ): GND VCC SCL SDA RST D/C However, they are not very accurate, as it’s actually not an I2C, but SPI (Maybe it’s

Continue Reading

Site Footer

Sliding Sidebar