HomeIO Articles about real life tech solution and HomeIO - an universal system for remote monitor and control

Spyware and buffer storage

Tags : News

I wanted to have something like centralized place to check measurement and if all instances are working. Had some problems with HTTP requests in C++ so I did something ugly - run curl command. It works.

Next feature is periodically store measurements from RAM to file. It works, but there are problems while restarting. I need to check it. I need to remove buffer files before running backend.

I’ve fixed bug when storing measurements (not buffer) in csv files. Everyone should remember about return in functions returning values. It’s a bad habit from working in Ruby.