Getting rid of telemarketing, Pt. 1

Frequent calls from telemarketers, spam and espionage – these are the main reasons I try to use the loyalty cards and other stuff, and if I have to – tend to have a long chat about how much I do NOT want to receive any calls/messages or ‘super special deals’. However, it doesn’t stop many telephone spammers. I have to admit, I understand how miserable wok in such a call center might be, when nine out of ten people you call tend to explode and shout on you. However, there’s always a chance the call would be so inconvenient, that it will make you go nuts.

Anyways, I decided to deal with those folks using some of my dark tech magic. If successful, the plan would not only ward off any spam, but also give me an everlasting supply of pure fun. I made an IVR for all the incoming calls and put it on a dedicated number I now began to willingly share. If you want to learn the details of setting up your very own Asterisk/FreePBX server that will handle GSM calls for you with some advanced features, this post has all the details.

(more…)

Linux gaming with P106-100

Here’s what I got from taobao

This post contains a small guide on how to play games and run other graphics payloads using a dirt-cheap NVIDIA P106-100 (Which is a mining-only version of NVIDIA GTX1060 that you can get for less than 100$) in Linux in (optionally) virtualized environment, making it a nearly perfect solution for a headless gaming server. Yep, simple (or not) as that.

(more…)

Trying alternatives for Aqara temperature sensors

Here’s another one of my notes about DIY smart home solutions. This time I decided to find a better replacement for Aqara temperature/humidity sensors using a devboard with a esp8266+stm8 (esp-14s module) and a homebrew esphome-based firmware. With aqara’s stock sensors I didn’t like their crappy precision and no way to change the sensor polling time. So, why not get almost all of those wishes fulfilled with a ready-made esp8266 module? Besides, nearly no price difference. Well, that’s what this post is about.

Here’s it. A potential Xiaommi Aqara killer (nope)
(more…)

Note to self: How to flash .bin files via “raw” gdb

At the first glance, it’s a very easy task. However it has a number of less obvious pitfalls when you’re working with microcontrollers via some kind of gdb stub or openocd and the memory you’re actually uploading your .bin file is the flash memory of an MCU (e.g. stm32). I decided to gather the common pitfalls in a single blog post.

Typical starter kit: A Chinese stlinkv2 clone flashed as black magic probe and an stm32f4 discovery board
(more…)

How to use Xiaomi Aqara and keep you privacy

This is my second note about Xiaomi Aqara smart home stuff. Something tells me it’s not the last one. In this note I’ll tell about implementing home automation that will reliably work offline using readily available hardware from Xiaomi and (at the same time) keeping your privacy intact. After all, not everyone is ready to share all the private stuff with some corporate crooks 😉

(more…)

Adding enclosure for Xiaomi Aqara light switches

There are some pretty good smart light switches called Xiaomi Aqara. It’s basically a light switch with a relay and Zigbee wireless interface inside. They are integrated with Xiaomi zigbee gateway and can be remotely controlled. Zigbee gateway uses them as a proxy in case the battery-powered sensor is not in the direct range. This post will be about adding a better wall-mount box for those little things.

(more…)