doing things w stuff
Not a member? You should Sign up.
Already have an account? Log in.
To make the experience fit your profile, pick a username and tell us what interests you.
thought = thoughts(metal)
Untitled document =
==========================
/* sleep makes | minds weak */
todo:
#setup owncloud
#setup motion
Create home feature list
#shrink divs (doors,lights,power,etc…)
crearte moteino to rpi comunication
Usercake
Dual login Usercake and owncloud
Collapse Car home etc
Make divs fit on watch
make change password form in settings
#solder resistors between pin and FOB
add button press action
add button gifs
measure current input
connect local servers to web - ngInx load balancing
get OBD-pi python working
setup stats database to sync with owncloud (air, fuel, updates, temps, pressures, miles, etc...)
communicate server and moteino body sensors/actors (*motor sensors come from OBD-Pi)
vehical lane departure #1 cause of accidents
combine home and car servers
case 1:
user enters wifi zone around car -- car disarms
user can start car and access interior features
user leaves wifi zone around car -- car arms
case 2:
user taps NFC tag with NFC device (iphone, android, wearables)
tag command is executed (arm, disarm, start motor, etc...)
case 3:
user access car from any device with web browser
user can execute commands (arm, disarm, start motor, etc...)
user can view car history, change passwords, set access times, etc…
features:
#vehical lane departure #1 cause of accidents
sensor feedback
arm/disarm
horn
trunk
motor start
OBD-II
gps
camera
audio glass break
tow/hood tilt detect
battery disconnect alarm
rf transmitter
internet routing
home/business interface
#####################
#### ------ !!! gedanken !!! ------ #####
####-----HHHC(solid butane)CHHH------##
####-----if dipole < some_small_numbr------####
####-------- pressure * volume ~ constant * temperature-------####
####-------------- echo answer(constant == previous_constant) ---------------####
####------------------------if constant != 0 echo null!!!
####-----
/////////////////////////////////////////////////////////////////
///////////////////////////motion////////////////////////////////
apt-get -y update;apt-get install apache2 php5 mysql-server php5-mysql php5-json php5-gd php5-sqlite curl libcurl3 libcurl4-openssl-dev php5-curl php5-gd php5-cgi php-pear php5-dev build-essential libpcre3-dev php5 libapache2-mod-php5 php-apc motion libjpeg62 upstart libmysqlclient-dev;
pecl install apc;service apache2 restart;
#move owncloud
a2enmod rewrite;a2enmod headers;
sudo openssl genrsa -des3 -out server.key 1024; sudo openssl rsa -in server.key -out server.key.insecure;sudo openssl req -new -key server.key -out server.csr;sudo openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt;sudo cp server.crt /etc/ssl/certs;sudo cp server.key /etc/ssl/private;sudo a2enmod ssl;sudo a2ensite default-ssl;service apache2 restart;
chown -R www-data:www-data /var/www/owncloud/;
#move: log into owncloud and make motion folder
#move: www
mysql -u root -p;
create database __fi;use __fi;
CREATE TABLE security (camera int, filename char(80) not null, frame int, file_type int, time text);
create table tokens(token text);insert into tokens values('--!!MATCHED!!--');
#mv .htaccess /var/www/owncloud/.htaccess;
#mv config.php /var/www/owncloud/config/config.php;chmod 777 /var/www/owncloud/config/config.php;
mv nph-mjprox /usr/lib/cgi-bin;chmod 777 /usr/lib/cgi-bin/nph-mjprox;
mv php.ini /etc/php5/apache2/php.ini;
mv 000-default /etc/apache2/sites-enabled/000-default;
mv motion /etc/motion/motion;chmod 777 /etc/motion/motion;
mv motion.conf /etc/motion/motion.conf;
mv motion.default /etc/default/motion;
mv apc.ini /etc/php5/cgi/conf.d/apc.ini
mv motioncontrol /etc/init.d/motioncontrol;chmod 777 /etc/init.d/motioncontrol;
update-rc.d motioncontrol defaults
#make owncloud motion folder
//////////////////////////////////////////////////////////////////////////
######nano /etc/default/motion;
#start_motion_daemon=yes
#nano /etc/php5/apache2/php.ini;...
View project log
Create an account to leave a comment. Already have an account? Log In.
Are you sure? yes | no
Enki
ANANTHAKRISHNAN U S
Myles Eftos
Thaddaeus
Become a member to follow this project and never miss any updates
Yes, delete it Cancel
You are about to report the project "echo answer(question)", please tell us the reason.
Your application has been submitted.
Are you sure you want to remove yourself as a member for this project?
Project owner will be notified upon removal.