Author Archives: koshkamau

Yet another one PZEM-004T/ESP8266 energy meter.

This post describes my variant of a system that is able to store and visualize the history of power consumption of a household. System is based on “AC multifunction meter” PZEM-004T and NodeMCU ESP-12F (ESP8266) which transmits data to a remote MySQL database.

SSD wear and frequent small writes into MySQL DB

For about 2 years I used SSD as a system drive for my home server. It was mounted with noatime attribute and I knew there would be no services which can cause heavy write load on it. But recently I started a project which requires a small amount of data to be written in database each second or two. I guessed that such kind of load would increase ssd’s wear but I was unprepared to face how huge the wear is…

Recording h264 RTSP stream from surveillance camera using ffmpeg

For several years I used Vstarcam software (IP Camera Super Client) on Windows to record video stream from my cameras. This software (I preferred specific version 1.1.4.557) is quite reliable, though it produces video files that can’t be played by other video players. You can watch them only using this application. It was also painful […]