Forum rules
Before posting here, make sure you are using the latest Beta or Stable version.
In order to fix issues or add features these have to be reported on the Domoboard Github pages.
This makes it possible to keep track of issues/features on a centralized place.
Refer to the issue of the github tracker when possible.
This subforum is meant to discuss issues and/or feature requests, or anything else related to Domoboard.
We've just made an update to the domoboard and pushed it to the master version.
We added an "push on" and "push off" feature for doors or light scenes which only need an activate feature.
and also added some examples to the example.conf like an camera url and the new Title feature which are implemented on the following templates:
- Switches
- Map
- Camera
you can pull the new version by standing in the root folder and run the code:
squandor wrote:We've just made an update to the domoboard and pushed it to the master version.
We added an "push on" and "push off" feature for doors or light scenes which only need an activate feature.
and also added some examples to the example.conf like an camera url and the new Title feature which are implemented on the following templates:
- Switches
- Map
- Camera
you can pull the new version by standing in the root folder and run the code:
192.168.178.29 - - [02/Jan/2017 21:38:31] "GET /verkeer HTTP/1.1" 200 -
[2017-01-02 21:38:32,012] ERROR in app: Exception on /api [POST]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/Flask_Auth-0.85-py2.7.egg/flaskext/auth/auth.py", line 186, in decorator
return func(*args, **kwargs)
File "/home/pi/domoboard/modules/api.py", line 86, in gateway
result = call(request.args)
File "/home/pi/domoboard/plugins/anwb.py", line 162, in getData
start = config['general_settings']['anwb']['startPoint']
KeyError: 'anwb'
192.168.178.29 - - [02/Jan/2017 21:38:32] "POST /api?custom=anwb HTTP/1.1" 500 -
Here are the instructions to get it working:
Under the general_settings a subsection [[anwb]] can be created with a "startPoint" and "endPoint" setting (both addresses). Now you can add [[anwb]] and [[verkeer]] under the page you prefer. Also specify it at the display_components.
it's only strange that no button is created. do you get an error from the console.log or the server?
With you're config and my idx my button is still created so the '-' does not affect anything.
it's only strange that no button is created. do you get an error from the console.log or the server?
With you're config and my idx my button is still created so the '-' does not affect anything.
I deleted the Domoboard folder and reinstalled via git-clone and all works now.
I assume something was wrong with the git-pull process
pi@raspberrypi:~$ sudo python /home/pi/domoboard/server.py -c example.conf
Traceback (most recent call last):
File "/home/pi/domoboard/server.py", line 4, in <module>
from flaskext.auth import Auth, AuthUser, login_required, logout
ImportError: No module named auth
also updated the version from git
Make sure you are using Python 2.7 for running Domoboard and that you have installed the modules for Python 2.7 and not for Python 3. You might have installed the modules for Python 3, however running Domoboard through Python 3.7.
wez3 wrote:
Make sure you are using Python 2.7 for running Domoboard and that you have installed the modules for Python 2.7 and not for Python 3. You might have installed the modules for Python 3, however running Domoboard through Python 3.7.
pi@raspberrypi:~/domoboard$ easy_install-2.7
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/test-easy-install-27341.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python2.7/dist-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://pythonhosted.org/setuptools/easy_install.html
Please make the appropriate changes for your system and try again.