https://github.com/dancardin/nosferatu
A webapp to remotely control your home lights and wall sockets
https://github.com/dancardin/nosferatu
Last synced: over 1 year ago
JSON representation
A webapp to remotely control your home lights and wall sockets
- Host: GitHub
- URL: https://github.com/dancardin/nosferatu
- Owner: DanCardin
- License: apache-2.0
- Created: 2015-12-04T15:03:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-05T16:24:14.000Z (over 10 years ago)
- Last Synced: 2025-01-29T17:44:38.638Z (over 1 year ago)
- Language: Python
- Size: 1.07 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nosferatu
Nosferatu is a webapp for home automation written in python3 (Flask) and coffeescript (angular).
The app is used to control the status of various local devices over WiFi. Any recognized device can be turned on/off and otherwise controlled manually or though the use of rules and schedules that control when and why they change state.
----
## Quick Start
```bash
# The commands to install Nosferatu's dependencies are as follows:
sudo apt-get install build-essential python3-dev libpq-dev libffi-dev postgresql postgresql-contrib coffeescript ruby
sudo gem install sass
# Create the virtual environment and activate it
virtualenv --no-site-packages --distribute .
source bin/activate
# To install the app you can run:
python setup.py install
createdb nosferatu # Creates the database.
mkdir -p var/nosferatu-instance # Creates the local settings path
touch var/nosferatu-instance/config.py # and file.
# Inside this file you can put any local overrides to configuration for the app.
# This includes the following two *required* pieces of configuration.
# SECRET_KEY = 'some-secret-key-here!'
# SQLALCHEMY_DATABASE_URI = 'postgresql:///nosferatu
# You should be able to upgrade the database to the most recent version through running
python manage.py db upgrade
# Finally run the server by calling (and then navigating to `127.0.0.1:5000`)
python manage.py runserver
```