Skip to content

w3llschmidt/s0vz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S0/Impulse to Volkszaehler daemon.

This is a Linux SYSFS daemon. Written in ANSI C, provides low memory signature and minimal CPU load.
Its fully interrupt driven with no cpu eating idle loops!

Hardware by Udo S.
http://wiki.volkszaehler.org/hardware/controllers/raspberry_pi_erweiterung

My image

Backend-Software
http://volkszaehler.org/

My image

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Installation

Precondition: Raspian Linux (http://www.raspberrypi.org/downloads)

Binding libraries: libcurl & libconfig -> 'sudo apt-get install libcurl4-gnutls-dev libconfig-dev'

Download: 'sudo git clone https://github.com/w3llschmidt/s0vz /usr/local/src/s0vz'


s0vz.c -> 'sudo gcc -o /usr/local/sbin/s0vz /usr/local/src/s0vz/s0vz.c -lconfig -lcurl'

s0vz.cfg -> /etc/

rc.local -> /etc/ ( ! add this settings, dont overwrite your exisiting rc.local ! )

s0vz -> /etc/init.d/ ( start/stop/restart )

Configuration

$ sudo vim /etc/init.d/rc.local ( replace '$all' with '$remote_fs $syslog $network' )

$ sudo insserv s0vz ( make deamon autostart )

$ sudo vim /etc/s0vz.cfg ( edit your config )

Reboot and check '/var/log/syslog' for outputs!

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

S0/Impulse to Volkszaehler 'RaspberryPI deamon'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published