Skip to content
Snippets Groups Projects
Commit eb8e80d7 authored by Marco Emilio Poleggi's avatar Marco Emilio Poleggi
Browse files

Other doc fixes

parent 96802901
Branches
No related tags found
No related merge requests found
......@@ -20,7 +20,8 @@ Python 3.
$ sudo apt-get update
$ sudo apt-get install python-pyqt5
```
Make sure you got Python 3:
**N.B.** Python 3 is now the default interpreter in most recent Linux
distributions. Do not use Python 2! If unsure, check with:
```shell
$ python -V
```
......@@ -31,13 +32,13 @@ Then, simply call (if you are not in a GNU/Linux shell, you might need to put
$ ./actuasim.py &
```
Once launched, Actuasim will load a file `saved\_rooms.json` containing the
Once launched, Actuasim will load a file `saved_rooms.json` containing the
building configuration with all the KNX addresses. If this file does not
exist, it is created with a default configuration composed of 2 rooms, each
one has 2 blinds and two radiator valves.
Whenever the application is closed, the building configuration with the
current position of blinds and valves are stored in this `saved\_rooms.json`
current position of blinds and valves are stored in this `saved_rooms.json`
file.
You can edit this it to set up your specific building configuration.
......
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
################################################################################
import json
import os
import random
......@@ -16,7 +16,7 @@ from actuasim.room import Room
from actuasim.ui_actuasim import Ui_MainWindow
from actuasim.knxserver import Knxserver
from actuasim.command_handler import CommandHandler
################################################################################
__author__ = "Adrien Lescourt"
__copyright__ = "HES-SO 2015, Project EMG4B"
......@@ -24,7 +24,7 @@ __credits__ = ["Adrien Lescourt"]
__version__ = "1.0.2"
__email__ = "adrien.lescourt@gmail.com"
__status__ = "Prototype"
################################################################################
class Actuasim(QMainWindow):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment