LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2015, 02:47 PM   #1
SamWhiskey
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Sensor logging for distributed systems


Hello,

for building up my smart home application I want to integrate several sensors (e.g. temperature sensors) into a common structure by using a standardized interface.

I want to develop a package being able to manage sensors of the house. Some of them may not be on the same machine. I am thinking of a file based or a distributed IP based network structure.

I have found a package "lm-sensors" doing this for local sensors of a computer mainboard.This does not fit perfectly but may be a good template for the interface structure.


Does anybody know about a package which could fulfil my requirements?

Does anybody have an idea which structure and interface would fit?


Thank you for your ideas.
Sam
 
Old 06-15-2015, 01:43 AM   #2
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
you can start to read about how to use sensors ins some embedded tutorials,
start for example with this
https://www.cl.cam.ac.uk/projects/ra...s/temperature/
 
Old 06-15-2015, 07:18 AM   #3
SamWhiskey
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks a4z for your answer. As I use the Raspberry as well, this gives me useful hints.

But about the basic structure for me it is not yet clear. Up to now I used /usr or /opt folders to implement my applications. Is it convenient to implement features for external sensors in /sys or /proc?
 
Old 06-15-2015, 07:48 AM   #4
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
when you implement a kernel driver, you will possible have some entries in /sys and or /proc but you will nothing copy there, you create files there
https://en.wikipedia.org/wiki/Sysfs
http://www.tldp.org/LDP/Linux-Filesy...html/proc.html

so I think you can stay in /usr and /opt

I suggest you go through some of the Rasperry tutorials from the begin to the end
it will make things
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distributed File Systems - GFS, etc. fantasygoat Linux - Networking 3 01-25-2010 03:09 PM
distributed systems gopal_patil06 Programming 11 08-12-2008 05:36 AM
distributed systems gopal_patil06 Programming 1 07-23-2008 06:51 AM
Regarding Distributed File Systems vivek.sesha Linux - Networking 2 06-28-2007 11:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration