Some people suggested that the auth module has some problems on the "full" raspbian jessie. You might try raspbian jessie lite, some people said that works. I've already created an issue on this on github. I will check it when i am able to. If you try it, can you tell me whether it workedapt80 wrote:Yeah, thanks for the advice.bsmeding wrote: try install the Auth python moduel :Code: Select all
pip install auth
I did so. At first auth wouldn't install because of errors, not sure what exactly
I tried > sudo easy_install auth
Then > sudo pip install auth
which failed as well. Then I figured I need to install the python build tools to install auth. That worked.
After > sudo apt-get install build-essential python-dev
I was able to install auth with > sudo pip install auth
But it didn't solve the missing auth package error. Finally I tried this:
sudo easy_install flaskex Flask-OAuth2-Login Flask-OAuth Flask-ExtDirect Flask-Auth Flask-Login
Because of an earlier suggestion. But to no avail...
Domoboard - General Discussions
Moderators: leecollings, wez3
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.
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.
-
wez3
- Posts: 49
- Joined: Friday 30 December 2016 12:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
-
Routernl
- Posts: 4
- Joined: Monday 09 January 2017 21:10
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
I really like the domoboard, many thnx for creating and sharing !
Configuring through the .conf file is a very nice setup, and most of the options are self-explanatory, the board and google supply most of the necessary answers, but the Google maps I can't figure out..
Is anyone else experiencing an empty maps panel ?
I've tried filling in locations in the conf file (and filled in an API for Google maps embedded) but as a result I only get a blank panel .
On inspection chrome reports the following error :
Uncaught TypeError: Cannot read property '0' of undefined at domoboard.js:128
line 128 in domoboard.js reads:
var locurl = "https://www.google.com/maps/embed/v1/place?key=" + googleMapEmbedKey + "&q=" + encodeURIComponent(data.result[0].Data) + "&maptype=satellite";
As I am neither a coder nor a js I'm at a loss..
Anyone got this working ?
Configuring through the .conf file is a very nice setup, and most of the options are self-explanatory, the board and google supply most of the necessary answers, but the Google maps I can't figure out..
Is anyone else experiencing an empty maps panel ?
I've tried filling in locations in the conf file (and filled in an API for Google maps embedded) but as a result I only get a blank panel .
On inspection chrome reports the following error :
Uncaught TypeError: Cannot read property '0' of undefined at domoboard.js:128
line 128 in domoboard.js reads:
var locurl = "https://www.google.com/maps/embed/v1/place?key=" + googleMapEmbedKey + "&q=" + encodeURIComponent(data.result[0].Data) + "&maptype=satellite";
As I am neither a coder nor a js I'm at a loss..
Anyone got this working ?
-
wez3
- Posts: 49
- Joined: Friday 30 December 2016 12:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
You have to fill in a IDX from domoticz (text utility) that contains your location.Routernl wrote:I really like the domoboard, many thnx for creating and sharing !
Configuring through the .conf file is a very nice setup, and most of the options are self-explanatory, the board and google supply most of the necessary answers, but the Google maps I can't figure out..
Is anyone else experiencing an empty maps panel ?
I've tried filling in locations in the conf file (and filled in an API for Google maps embedded) but as a result I only get a blank panel .
On inspection chrome reports the following error :
Uncaught TypeError: Cannot read property '0' of undefined at domoboard.js:128
line 128 in domoboard.js reads:
var locurl = "https://www.google.com/maps/embed/v1/place?key=" + googleMapEmbedKey + "&q=" + encodeURIComponent(data.result[0].Data) + "&maptype=satellite";
As I am neither a coder nor a js I'm at a loss..
Anyone got this working ?
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Demoboard doesn't work anymore. I get the following. I don't understand. Its either because of the git pull I just did or because of my attempts to update python-six...!?
Code: Select all
pi@domus:~/domoboard$ python server.py -c basic.conf
* Running on http://192.168.178.50:8008/ (Press CTRL+C to quit)
[2017-01-09 22:24:12,847] ERROR in app: Exception on /dashboard [GET]
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 "server.py", line 50, in generatePage
debug = app.debug)
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/domoboard/templates/index.html", line 7, in top-level template code
{% include k + ".html" ignore missing %}
File "/home/pi/domoboard/templates/switches.html", line 18, in top-level template code
{% for k, v in blockArray[count]["switches"].iteritems() %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
UndefinedError: 'collections.OrderedDict object' has no attribute 'switches'
192.168.178.29 - - [09/Jan/2017 22:24:12] "GET /dashboard HTTP/1.1" 500 -
-
squandor
- Posts: 213
- Joined: Saturday 19 December 2015 22:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5837
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
that's strange it still works with our test situations. we did fixed 3 issues with one change so maybe it's that i will ask Wez3 tomorrow.felix63 wrote:Demoboard doesn't work anymore. I get the following. I don't understand. Its either because of the git pull I just did or because of my attempts to update python-six...!?
Code: Select all
pi@domus:~/domoboard$ python server.py -c basic.conf * Running on http://192.168.178.50:8008/ (Press CTRL+C to quit) [2017-01-09 22:24:12,847] ERROR in app: Exception on /dashboard [GET] 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 "server.py", line 50, in generatePage debug = app.debug) File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 134, in render_template context, ctx.app) File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 116, in _render rv = template.render(context) File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/home/pi/domoboard/templates/index.html", line 7, in top-level template code {% include k + ".html" ignore missing %} File "/home/pi/domoboard/templates/switches.html", line 18, in top-level template code {% for k, v in blockArray[count]["switches"].iteritems() %} File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 430, in getattr return getattr(obj, attribute) UndefinedError: 'collections.OrderedDict object' has no attribute 'switches' 192.168.178.29 - - [09/Jan/2017 22:24:12] "GET /dashboard HTTP/1.1" 500 -
-
Awst6000
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Hi,
Yesterday I downloaded the lastest version of Domoboard and I also got a lot of errors, even when using the same .conf file from another configuration that does work without problems.
It looks as if Domoboard is very strict now in syntax.
Yesterday I downloaded the lastest version of Domoboard and I also got a lot of errors, even when using the same .conf file from another configuration that does work without problems.
It looks as if Domoboard is very strict now in syntax.
-
jhenrikb
- Posts: 26
- Joined: Sunday 08 January 2017 19:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Thanks Squandor. That fixed the issue.
I spent the morning editing the conf file, removing and adding IDX's etc.
I typed in my IP and port to Domoticz backend, and used the same IP with a different port on domoboard.
I start up the file, go to login page and type in the username and password that is written in the config file.
It gives me a "bad request" page in chrome after i logged in.
putty log shows:
192.168.1.111 - - [10/Jan/2017 11:07:27] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 11:07:53] "POST /login/ HTTP/1.1" 400 -
heres my config file if anyone wonder Sincerely
John
I spent the morning editing the conf file, removing and adding IDX's etc.
I typed in my IP and port to Domoticz backend, and used the same IP with a different port on domoboard.
I start up the file, go to login page and type in the username and password that is written in the config file.
It gives me a "bad request" page in chrome after i logged in.
putty log shows:
192.168.1.111 - - [10/Jan/2017 11:07:27] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 11:07:53] "POST /login/ HTTP/1.1" 400 -
heres my config file if anyone wonder Sincerely
John
-
squandor
- Posts: 213
- Joined: Saturday 19 December 2015 22:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5837
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
I Awst6000 how does you're config looks like and which kind of error did you get?Awst6000 wrote:Hi,
Yesterday I downloaded the lastest version of Domoboard and I also got a lot of errors, even when using the same .conf file from another configuration that does work without problems.
It looks as if Domoboard is very strict now in syntax.
-
Felix82
- Posts: 5
- Joined: Tuesday 10 January 2017 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
FYISnowtiger wrote:I have been digging around - running on a Pi with Raspbian Jessie, python2.7 infoSnowtiger wrote:I installed all dependencies but still get this error :
As you can see i already did the python2.7 trick - also tried to install auth via easy-install but that did not solve the error.Code: Select all
xx@raspberrypi:~/git/domoboard $ sudo python2.7 server.py -c myconf.conf Traceback (most recent call last): File "server.py", line 4, in <module> from flaskext.auth import Auth, AuthUser, login_required, logout ImportError: No module named authI have checked the sys.path if everything is includedCode: Select all
Python 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2] on linux2looks alright to me, running direct in command line Python -Code: Select all
['', '/usr/lib/python2.7/dist-packages', '/usr/local/lib/python2.7/dist-packages/Flask_Auth-0.85-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/GitPython-2.1.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/gitdb2-2.0.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/smmap2-2.0.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/simplejson-3.10.0-py2.7-linux-armv7l.egg', '/usr/local/lib/python2.7/dist-packages/bleach-1.5.0-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-arm-linux-gnueabihf', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']Shoot me maar lekCode: Select all
>>> from flaskext.auth import Auth, AuthUser, login_required, logout Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named auth![]()
Tot zover - iemand met Phyton kennis nog enig idee?
Im', running a Pi3, Full Jessie (11-2016). I also encountered the same error message after running server.py ("No module named auth").
I got rid of the message by running these commands:
Sudo pip install auth --upgrade
Sudo easy_install requests
Sudo easy_install auth
After running these commands i got the Idx "bla" is not... # them out in de .conf file
By solving this, a new one has appeared
Traceback (most recent call last):
File "server.py", line 156, in <module>
auth = Auth(app, login_url_name='login_form')
NameError: name 'Auth' is not defined
-
jhenrikb
- Posts: 26
- Joined: Sunday 08 January 2017 19:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
went over my config again. Now after login it shows "Internal server error"
Raspbian command window show
pi@raspberrypi:~/domoboard $ python server.py -c domob.conf
* Running on http://192.168.1.127:8090/ (Press CTRL+C to quit)
192.168.1.111 - - [10/Jan/2017 13:26:17] "GET /login/ HTTP/1.1" 200 -
192.168.1.111 - - [10/Jan/2017 13:26:17] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "POST /login/ HTTP/1.1" 200 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:47] "POST /login/ HTTP/1.1" 302 -
[2017-01-10 13:26:47,354] ERROR in app: Exception on /dashboard [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/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 "server.py", line 48, in generatePage
_csrf_token = session['_csrf_token'])
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/domoboard/templates/index.html", line 7, in top-level template code
{% include k + ".html" ignore missing %}
File "/home/pi/domoboard/templates/line_charts.html", line 29, in top-level template code
{% for k, v in blockArray[count]["line_charts"].iteritems() %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
UndefinedError: 'dict object' has no attribute 'line_charts'
192.168.1.111 - - [10/Jan/2017 13:26:47] "GET /dashboard HTTP/1.1" 500 -
Is it normal for it to show a different IP?
John
Raspbian command window show
pi@raspberrypi:~/domoboard $ python server.py -c domob.conf
* Running on http://192.168.1.127:8090/ (Press CTRL+C to quit)
192.168.1.111 - - [10/Jan/2017 13:26:17] "GET /login/ HTTP/1.1" 200 -
192.168.1.111 - - [10/Jan/2017 13:26:17] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "POST /login/ HTTP/1.1" 200 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:47] "POST /login/ HTTP/1.1" 302 -
[2017-01-10 13:26:47,354] ERROR in app: Exception on /dashboard [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/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 "server.py", line 48, in generatePage
_csrf_token = session['_csrf_token'])
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/domoboard/templates/index.html", line 7, in top-level template code
{% include k + ".html" ignore missing %}
File "/home/pi/domoboard/templates/line_charts.html", line 29, in top-level template code
{% for k, v in blockArray[count]["line_charts"].iteritems() %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
UndefinedError: 'dict object' has no attribute 'line_charts'
192.168.1.111 - - [10/Jan/2017 13:26:47] "GET /dashboard HTTP/1.1" 500 -
Is it normal for it to show a different IP?
John
-
Awst6000
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Hi,
I also got a lot of these errors that look like this (has no attribute 'line_charts')
It seems that you cannot have empty entries.
This is only an example !!!
[info]
[[display_components]]
components = top_tiles, tvgids, news
[[top_tiles]]
[[tvgids]]
<no news entry>
I also got a lot of these errors that look like this (has no attribute 'line_charts')
It seems that you cannot have empty entries.
This is only an example !!!
[info]
[[display_components]]
components = top_tiles, tvgids, news
[[top_tiles]]
[[tvgids]]
<no news entry>
-
squandor
- Posts: 213
- Joined: Saturday 19 December 2015 22:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5837
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Thats Right, you can't because you set news in components the server looks for an [[news]] item in the list.Awst6000 wrote:Hi,
I also got a lot of these errors that look like this (has no attribute 'line_charts')
It seems that you cannot have empty entries.
This is only an example !!!
[info]
[[display_components]]
components = top_tiles, tvgids, news
[[top_tiles]]
[[tvgids]]
<no news entry>
-
dutchdevil83
- Posts: 130
- Joined: Monday 31 October 2016 19:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Netherlands
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
I have pulled the develop branch but still have some issues configuring domoboard. Can someone tell me if the functions are supported and how to use it?
1) Can`t get CounterToday values from my P1 Meters (gas+electricity)... It only displays the total usage (first value from the DATA string ). looks like it doesn`t get CounterToday from JSON string?
2) Can`t get current usage from P1 Meter (USAGE from JSON string)
3) Is it possible to display only temp, only humidity, only baro, etc from 1 sensor. For example for my weather sensor it display temp+humidity+baro but all those data doesn`t fit in the top tile
If i know this are issues then i can register them at github if necessary
1) Can`t get CounterToday values from my P1 Meters (gas+electricity)... It only displays the total usage (first value from the DATA string ). looks like it doesn`t get CounterToday from JSON string?
2) Can`t get current usage from P1 Meter (USAGE from JSON string)
3) Is it possible to display only temp, only humidity, only baro, etc from 1 sensor. For example for my weather sensor it display temp+humidity+baro but all those data doesn`t fit in the top tile
If i know this are issues then i can register them at github if necessary
Hardware
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Hi John,jhenrikb wrote:went over my config again. Now after login it shows "Internal server error"
Raspbian command window show
I have the same problems as you. Did you recently updated your system (sudo apt-get update/upgrade)? Or did you reinstall some of the dependencies?
Cheers,
Lex
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
I restored my SD-card to the previous version (on which i initially installed a working version of Domoboard).
Did
and I am still getting the same errors when calling domoboard. So now I'm sure it's not me 
Did
Code: Select all
sudo apt-get install python-setuptools
sudo easy_install flask flask-auth configobj gitpython simplejson bleach requests
git clone https://github.com/wez3/domoboard
-
dutchdevil83
- Posts: 130
- Joined: Monday 31 October 2016 19:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Netherlands
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Where do i have to put this code?This is fixed by adding the following code : then the onclick function on ipad will loading in same window instead of opening safari when de dashboard is running from the Homescreen as 'native' app
Code: Select all
var a=document.getElementsByTagName("a"); for(var i=0;i<a.length;i++) { a[i].onclick=function() { window.location=this.getAttribute("href"); return false } }
Can you make a pull request for this issue on github?
Hardware
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
-
squandor
- Posts: 213
- Joined: Saturday 19 December 2015 22:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5837
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Make sure to use master if you are looking for stability. The development branch is used for testing and development which could contain bugs (however we would like to know them!).
-
Awst6000
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Yesterday It was surely the master branch I downloaded. (The zipfile also contains the word 'master')squandor wrote:Make sure to use master if you are looking for stability. The development branch is used for testing and development which could contain bugs (however we would like to know them!).
I recognize a lot of the errors in the posts above.
I'm not a coder but maybe it is wise to rollback the recent changes.
-
jhenrikb
- Posts: 26
- Joined: Sunday 08 January 2017 19:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Heya, yeah. Everything is the newest version from fresh install.felix63 wrote:Hi John,jhenrikb wrote:went over my config again. Now after login it shows "Internal server error"
Raspbian command window show
I have the same problems as you. Did you recently updated your system (sudo apt-get update/upgrade)? Or did you reinstall some of the dependencies?
Cheers,
Lex
I can't even install a simple Frontpage from this forum even though I do everything right (or so I believe :p). Load in IP etc but nothing works. Domoticz offline all the time. If I upload the Frontpage on my computer and get the idxs from the Pi3 it's working perfectly. I will try to install domoboard on Windows later and see if that works.
John
-
linconnu76
- Posts: 2
- Joined: Sunday 08 January 2017 19:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Location: Dieppe - Normandie
- Contact:
Re: Domoboard a New Dashboard using Domoticz as backend
Hello,
I've got this problem :
pi@raspberrypi:~/domoboard$ sudo python server.py -c domoboard.conf
* Running on http://192.168.1.9:5000/ (Press CTRL+C to quit)
[2017-01-10 18:49:05,627] ERROR in app: Exception on /dashboard [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/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 "server.py", line 48, in generatePage
_csrf_token = session['_csrf_token'])
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.2-py2.7.egg/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.2-py2.7.egg/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/domoboard/templates/index.html", line 9, in top-level template code
{% set count = count + 1 %}
UndefinedError: 'count' is undefined
What can I do ?
I've got this problem :
pi@raspberrypi:~/domoboard$ sudo python server.py -c domoboard.conf
* Running on http://192.168.1.9:5000/ (Press CTRL+C to quit)
[2017-01-10 18:49:05,627] ERROR in app: Exception on /dashboard [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/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 "server.py", line 48, in generatePage
_csrf_token = session['_csrf_token'])
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.2-py2.7.egg/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.2-py2.7.egg/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/domoboard/templates/index.html", line 9, in top-level template code
{% set count = count + 1 %}
UndefinedError: 'count' is undefined
What can I do ?
Who is online
Users browsing this forum: No registered users and 1 guest