But things didn’t go that smoothly: currently LibreELEC is currently having some issues with 4k playback on RPi4 so I decided to wait and use the TV’s smart features instead.
The TV is running Samsung’s Tizen and can play DLNA/UPnP content e. g. from ReadyMedia server which is easy to set up. The problem was that the TV was randomly disconnecting with the “cable not connected” message. The playback progress was naturally lost. Infuriating.Read more
Recently I’ve put together a simple e-paper (a.k.a. e-ink) display which shows current time and temperature. Why e-paper? Unlike LCD it provides better contrast at any angle and unlike TFT it doesn’t require backlight. The only downside is long screen refresh time (~4 s in my case).
The idea was to get current time from an NTP server and temperatures from Home Assistant instance which in turn gets them from wireless sensors.Read more
Li-ion batteries don’t like being fully charged. They will retain capacity significantly longer if you charge them up to 80% or less. Check this plot from Battery University:
If you usually use up all of your laptop battery during the day, gradual battery degradation is something you’ll have to live with. However, if you mostly work with AC charger plugged in, you can set lower limit to your battery charge and prolong its life.Read more
I used to use web services such as OpenWeatherMap to monitor outside temperature in openHAB. I found out that sometimes they’re not very accurate and naturally they fail when the internet is down. So I decided to measure the temperature myself. After some searching, I decided to settle with battery powered ESP8266 wireless solution. The advantages are the following:
- no wires;
- low cost;
- easy programming via familiar Arduino IDE;
- long battery operation with deep sleep mode.
Disclaimer: I’m not an expert in networking, so the instructions below may be flawed. Be warned and proceed with caution! Corrections are highly welcome.
DNS leaks are nasty. ISPs may tamper with DNS for purposes of censorship or eavesdropping. Luckily, there are public DNS servers, e. g. Google (
184.108.40.206), Cisco OpenDNS (
220.127.116.11) and Quad9 (
18.104.22.168) which may behave better.
I’ve set up my router to use public DNS servers instead of provider’s. In LEDE (OpenWrt) router firmware this can be done in GUI: go to Network → Interfaces → WAN → Edit → Advanced Settings, uncheck ‘Use DNS servers advertised by peer’ and add custom server IPs below.
The trouble is that LEDE runs its own DNS server and advertises its address (e. g. 192.168.0.1) to clients via DHCP. When NetworkManager connects to OpenVPN it keeps this address as one of DNS resolvers (even if you add
push "dhcp-option DNS 22.214.171.124" to OpenVPN server config). You can check it with
# Generated by NetworkManager
This way, DNS requests may occasionally be sent to the router which forwards them to configured servers skipping VPN tunnel and making them visible to the ISP (unless you’ve set up DNSCrypt, of course).Read more
Recently I was struggling to make tab close icons look closer to Breeze theme. Now I managed to make tabs look Breeze-ish too! The icon rules are also better now, opacity works without superposition problems:
In this post I want to share some details about my simple low budget smart home system based on 433.92 MHz receiver/transmitter controlled by Arduino. It can be easily extended with many cheap wireless devices, such as door bells, remote sockets, smoke alarms, leak detectors, etc. I’ll describe how to control remote socket, receive alarms from wireless smoke detector and draw a plot of room temperature obtained from regular wired sensor.Read more
Ever since I’ve learned about alternative router firmware I wanted to give it a try. With bugs and security holes being found in vendor firmware every now and then it was becoming even more relevant. Being an open source software advocate, I was mostly looking into OpenWrt. Unfortunately, my hardware was either not supported (ZyXEL P660 ADSL router) or in some early alpha stage (D-Link DIR-300). But then I learned about a reasonably cheap TP-LINK TL-WR841N[D] router which has good OpenWrt support. So I bought it (for ~18 €, got version 9.2) and immediately flashed OpenWrt on it — which was super easy: I just uploaded
.bin file and waited for reboot.
Bitcoin Core, the “full” Bitcoin client, uses a lot of disk space to store the blockchain. I use GdMap to clean up my SSD and was recently shocked to see how many GBs are occupied by those files. So I decided to join the dark side and switch to a lightweight wallet. There are several of them around of which I chose Electrum. The only trouble I had were my old (donation) addresses that are too much of a hassle to change. I seem to have solved this problem by creating a second wallet in Electrum and here’s how I made it:
First, I imported private keys for all needed addresses from Bitcoin Core. In Debug Console I typed
Then, I started up Electrum, selected File — New/Restore and entered all the keys I obtained in previous step. If you do that, pay attention to all warnings and remember to backup this wallet — you won’t be able to recover it with your seed.
After that I was able to use my old addresses to receive and send Bitcoins in Electrum. Minus the gigabytes of blockchain data.
Уже достаточно давно я выяснил, что оптимальным методом фильтрации SMS-спама для меня является отсев сообщений с номеров, которых нет в моей адресной книге. С этой задачей справляются многие программы, например, No Spam Sms или Simplest spam sms filter. Однако, ни одна из них не свободна. Решил исправить этот недостаток, попутно собрав в одной программе все необходимые мне функции:
- Беззвучное уведомление о сообщениях с незнакомых номеров с занесением их в отдельный список;
- возможность добавления отправителя в адресную книгу;
- удаление или отправка сообщения во входящие.
Программа не работает в фоне, а запускается только при поступлении новых SMS (разумеется, список заблокированных сообщений можно открыть когда вздумается).