osysHome (Object System smartHome) is smart home system developed in Python that offers users flexible and powerful tools to automate and manage their living space. The osysHome system is based on object-oriented programming, which ensures modularity, ease of use and ease of expansion of functionality.
- Support for various communication protocols
- Modular architecture
- Intuitive interface
- Automation and scripts
- Security and privacy
- Extensibility and integration
- Built-in documentation
- git clone https://github.com/Anisan/osysHome.git
- cd osysHome
- Create virtual environment
- Linux: python3 -m venv venv
- Windows: python -m venv venv
- Activate virtual environment
- Linux: source venv/bin/activate
- Windows: venv\Scripts\activate
- pip install -r requirements.txt
- mkdir plugins
- git clone https://github.com/Anisan/osysHome-Modules.git plugins/Modules
- git clone https://github.com/Anisan/osysHome-Objects.git plugins/Objects
- git clone https://github.com/Anisan/osysHome-Users.git plugins/Users
- git clone https://github.com/Anisan/osysHome-Scheduler.git plugins/Scheduler
- git clone https://github.com/Anisan/osysHome-wsServer.git plugins/wsServer
- git clone https://github.com/Anisan/osysHome-Dashboard.git plugins/Dashboard
- git clone https://github.com/Anisan/osysHome-Mqtt.git plugins/Mqtt
- Create settings file
- Linux: cp settings_sample.py settings.py
- Windows: copy settings_sample.py settings.py
- Change settings db in settings.py
- flask --app main.py db init
- flask --app main.py db migrate
- flask --app main.py db upgrade
Important
DO NOT DELETE migrations folder!!! Otherwise, problems will arise with updating the database structure.
- Linux: python3 main.py
- Windows: python main.py
- git pull https://github.com/Anisan/osysHome.git
- flask --app main.py db migrate
- flask --app main.py db upgrade
- Restart osysHome
- Open directory plugins
- Create directory module
- Copy module in directory module
- flask --app main.py db migrate
- flask --app main.py db upgrade
- Restart osysHome
- Copy module in directory module
- flask --app main.py db migrate
- flask --app main.py db upgrade
- Restart osysHome
pdoc --docformat google --no-show-source --output-dir docs settings_sample.py app plugins
Use osyshome.service
- sudo docker build -t osyshome .
- sudo docker run -d --network host -p 5000:5000 osyshome