Go to advanced search

by Erroneous
Mon Aug 22, 2016 7:39 pm
Forum: General programming discussion
Topic: High reliability and functionality
Replies: 9
Views: 2203

Re: High reliability and functionality

You can start your program with a systemd service file. Google it. Such a service run by systemd can be restarted by by systemd if it ever exits. I've made a few of these, and have ones that auto restart, but what I don't like is how if (by default 60 seconds, I know you can specify this in the ser...
by Erroneous
Mon Aug 22, 2016 3:00 pm
Forum: General programming discussion
Topic: High reliability and functionality
Replies: 9
Views: 2203

Re: High reliability and functionality

You are probably correct on my assumption; I'm mostly going on the assumption BrewPi made about throwing out the idea of using a RPi for controlling the refrigeration. It is all fairly simple stuff, no real time needed, just check the temp on a DS18B, see if your algorithms need to change the curren...
by Erroneous
Mon Aug 22, 2016 2:19 pm
Forum: General programming discussion
Topic: High reliability and functionality
Replies: 9
Views: 2203

Re: High reliability and functionality

I can't see the point of writing a kernel module, I can see downsides but no upsides. Why not just use a normal userland program? If you use a userland program you rely on the init system or some subsystem to keep it running. As a kernel module, it could be loaded faster and should be more reliable...
by Erroneous
Mon Aug 22, 2016 12:28 pm
Forum: General programming discussion
Topic: High reliability and functionality
Replies: 9
Views: 2203

High reliability and functionality

I would like to fork the BrewPi project which uses a Raspberry Pi connected to an Arduino to use as a temp controller. It seems like a huge waste to use the Arduino as a controller, though I understand why they did it. They coupled the Arduino with a Raspberry Pi because of the high functionality yo...

Go to advanced search