Open Network Object System(O.N.O.S)

2014-07-12 05:38:26





This project name is O.N.O.S wich stand for Open Network Object System and is an home automation system .
Using O.N.O.S. is possible to control any electric device with a single click.
The system is simple and user frendly in fact you can start using it within 5 minutes after removal from the box
(out of the box concept).
The user only has to insert the power plug to the 'OnosCenter' (the main brain of the system) and O.N.O.S. will make all the remaing work (no configuration required).
The mission of this project is to make users (also without computer and electrical knowledge) able to install and customize their own home automation system .
Without the need to call electricians, broke the walls and rewire the house and especially without spending a pile of money. 

O.N.O.S. is modular so the user can start buying only the OnosCenter (wich allow to controll one power socket) and then he can buy only the modules needed.

The main difference between O.N.O.S and the other automation systems is that it doesn't require using new wires or radio signals
because all the data transmission travels through the power line wires (powerline technology
http://en.wikipedia.org/wiki/Power-line_communication).
In order to use O.N.O.S. you don't have to install any software or application since the system serves a webpage wich any device having a browser will be able to displays. (phones , tablets ,pcs ebook readers and so on)

The system works also locally so without using internet you could just connect to your local network ! this feature is not avaible in the cloud based automation systems.

Another big advantage in comparison to other systems is the fully customizable interface both in the graphics and in the zones division.
Is possible to modify the colour and the shape of the buttons that control the electrical appliances( is also possible to use pictures).
The zones division is easily configurable and within few clicks the user can renames and subdivides the electrical devices in each room.

Watch the demo videos :


Working :
The main pc also called OnosCenter communicates through the powerline to the other nodes (wich are the O.N.O.S devices to whom the user will connect the electrical appliances) .
When the user goes to the O.N.O.S. the OnosCenter will create a webpage based on the nodes status (turned on , off ..), pressing on a button the user will be able to change the node status associated with the button.
Then the button will change text and colour in order to confirm the successful operation.
If a node was shut down or unreachable the button will show this with a gray colour , so the user will know that the transaction is pending.
This ensures the user will always know the true status of the appliances controlled. 


Technical notes (useful only to developers):


O.N.O.S. is released under open source license, this to enhance its development and to enable users to improve it further.

The software is completely free and can be run on any device wich has python so any pc with linux including the raspberry pi and BeagleBone will be fine (even on some routers with openwrt you can run it!)

No installation required, you just download the program and run it with python.

We hope to allow more people to 'play' with the internet of things for this reason the project was licensed under the open source GNU General Public License 3, which allows free use.

O.N.O.S. was developed using mainly build-in python libraries therefore does not require the installation of any additional libraries.

The O.N.O.S. nodes are Arduino based , you can build them yourself and so easily adapt the system to your needs.


If you have some question or suggestions please leave me a comment!

https://sourceforge.net/projects/onos/
Comments




Stability Problem and boot fail with linux on amd1090t

2014-02-03 19:41:56




Once installed Debian Wheezy 7.3 on my pc , an Amd phenom 2 x6 1090t mounted on a asrock 890gx extreme 3  i discovered
that at the boot time 1 time every 10 my pc gave me a error .
It writes : rcu_sched detected stalls on CPUs/tasks:
All i can do then is to reboot it with the physical button.
Sometimes after the boot my pc freezed and i have to reboot again with the physical button .
Finnaly i discover how to solve my problems.
I installed the driver  amd64-microcode from the repositories and now my system is stable and never fail a boot.
amd64-microcode is a linux driver for amd processor.
So in order to install the it open a terminal and execute those commands:



sudo apt-get update

sudo apt-get install amd64-microcode 



You have also to make this if you don'tuse hdmi audio and have an ati vga
sudo nano /etc/modprobe.d/user-blacklist.conf

Insert this in the file 
 blacklist snd_hda_codec_hdmi




That'is it  if i help you please let me a comment.
Comments




notes

2013-11-23 15:32:57




article not found in your language sorry

Qualche comando da terminale utile per debian:

per fare la copia compressa:

spostarsi nella cartella da copiare

cd /media/partizione_da_copiare/


sudo tar -cvpzf /destinazione/backup.tar.gz *

per decomprimere:

sudo tar -xvpzf /path/to/backup.tar.gz -C /media/whatever --numeric-owner


---------------------------------------------------------------------------------------------------------------------------


Estrarre tutti i files da cartelle in modo ricorsivo:

find /src/dir -type f -exec mv --backup=numbered -t /dst/dir {} +


The command will find all regular files under /src/dir (including all subdirectories) and move them to the /dst/dir by use of the command mv. Just replace the directories by yours. Files with the same names will be renamed automatically.

Selecting files to move

If you want to move just MP3 files, add -iname "*.mp3" option to the find command after -type f.










-----------------------------------------------------------------------------------------------------------------------




Copiare sistemi linux:

montare le 2 partizioni da un sistema a parte ,live cd ad esempio

sudo cp -rfa -v /media/disk1/* /media/disk2/


esempio:

sudo cp -rfa -v /media/9b3153ba-a4df-4408-b6ac-197893ac8b22/* /media/b4a375f0-3cae-41ec-a130-fd9fa5207b07/home/


-----------------------------------------------------------------------------------------------------------------------------
Formattare partizioni o penne usb:

sudo mkfs.ext4 -O ^has_journal /dev/sdx1
sudo mkfs.ext3 -O ^has_journal /dev/sdx1
sudo mkfs.ext2 -t /dev/sdx1


-----------------------------------------------------------------------------------------------------------------------------
Per vedere gli id delle partizioni dare:
sudo blkid

-----------------------------------------------------------------------------------------------------------------------------

Per vedere lo stato di tutte le partizioni montate dare:

df -h

-----------------------------------------------------------------------------------------------------------------------------

Per vedere i messaggi del bus dare:

tail -f /var/log/messages

-----------------------------------------------------------------------------------------------------------------------------
Per vedere tutti i files e le cartelle con i permessi in una directory dare:
ls -lrt

-----------------------------------------------------------------------------------------------------------------------------
Per montare una iso :
sudo mount -o loop disk1.iso /mnt/disk

-----------------------------------------------------------------------------------------------------------------------------
Per montare cartella condivisa samba:


sudo mkdir /media/server


sudo chmod -R 777 /media/server

sudo chown -R marco /media/server

Poi aprire /etc/fstab e aggiungere:

//ipserver/server /media/server cifs username=miousername,password=miapassword,noauto,user,defaults,rw,noatime 0 0


la condivisione sul server (/etc/samba/smb.conf) si deve chiamare "server"

-----------------------------------------------------------------------------------------------------------------------------
comprimere cartella:

tar -c cartella/ | pbzip2 -c -k -v > myfile.tar.bz2

oppure per usare 2 gb di ram:
tar -c cartella/ | pbzip2 -c -k -v -m2000 > myfile.tar.bz2

estrarre:
pbzip2 -dc -v myfile.tar.bz2 | tar x

-----------------------------------------------------------------------------------------------------------------------------
Programmi da installare:
sudo apt-get update
sudo apt-get install -y vlc mplayer2 comix transmission mencoder ffmpeg arduino chromium-browser gdebi gdebi-core

-----------------------------------------------------------------------------------------------------------------------------
Cache in ram

sudo nano /etc/rc.local


Right above “exit 0″ we’ll add the commands that need to run each time at startup:

mkdir /tmp/ram
mkdir /tmp/ram/cache
chmod 777 /tmp/ram
chmod 777 /tmp/ram/cache


nano /etc/fstab


aggiungi:

none /tmp tmpfs defaults,rw,noatime 0 0


sudo nano /etc/fstab

al file

For Chromium:

rm -rf /home/marco/.cache/chromium


ln -s /tmp/ram /home/marco/.cache/chromium

For Mozilla Firefox:

The cache for Firefox can be found inside your Firefox profile (which includes a big random string in it). As long as you only have one Firefox profile you can do this:

cd ~/.mozilla/firefox/*default


rm -rf Cache

ln -s /tmp/ram/cache Cache
-----------------------------------------------------------------------------------------------------------------------------

creare nuovo utente:
sudo useradd newuser
sudo passwd newuser
sudo mkdir /home/newuser
sudo chown newuser:users /home/newuser


-----------------------------------------------------------------------------------------------------------------------------
lanciare un comando da un altro utente essendo root:

su


/bin/su - newuser -c " mkdir prova"
-----------------------------------------------------------------------------------------------------------------------------
Eseguire script allo spegnimento:

sudo chmod a+x /etc/init.d/smonta.sh


cd /etc/init.d/

sudo update-rc.d smonta.sh start 20 0 6
-----------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------
Comments




     next >