Domoboard - General Discussions

Domoboard is a dashboard for Domoticz based on Python Flask.

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.
Post Reply
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

Post by squandor »

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:

Code: Select all

git pull
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by blackdog65 »

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:

Code: Select all

git pull
Yay! There's a pile of features I've been wanting... time for testing :D

Thanks guys!
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
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

Post by squandor »

blackdog65 wrote: Yay! There's a pile of features I've been wanting... time for testing :D

Thanks guys!
Haha you guys brought some great idea's so when we have time we will try to make them real :)
User avatar
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

Post by felix63 »

Still trying out how to set things up. Title feature works like a charm.

Still got some trouble with traffic.

Code: Select all

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 -
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

Post by squandor »

hmm how did you setup you're config?

did you have the [[anwb]] section beneath [[general_settings]] ?
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

Post by wez3 »

felix63 wrote:Still trying out how to set things up. Title feature works like a charm.

Still got some trouble with traffic.

Code: Select all

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.
User avatar
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

Post by felix63 »

Great! That worked a charme!
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by blackdog65 »

I'm not getting my push button right. My code is

Code: Select all

  [[switches]]
     D-Gong = 56, pushon
But all that shows is "D-Gong" and no button...
How does one summon the children to meals without a dinner gong??? :lol: :lol: :lol:

Would the fact that it is a ByronSX Chime affect it?
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
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

Post by squandor »

haha that's an ultimate solution :)

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.
User avatar
proza
Posts: 24
Joined: Friday 12 February 2016 15:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11415
Location: The Netherlands
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by proza »

Show me some screendumps please


Verzonden vanaf mijn iPhone met Tapatalk
If you see me collapse, pause my Garmin fenix 3
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

Post by squandor »

here is an screenshot with the pushon button with D-Gong for example.
Attachments
Screen Shot 2017-01-02 at 22.05.50.png
Screen Shot 2017-01-02 at 22.05.50.png (96.08 KiB) Viewed 2945 times
User avatar
proza
Posts: 24
Joined: Friday 12 February 2016 15:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11415
Location: The Netherlands
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by proza »

squandor wrote:here is an screenshot with the pushon button with D-Gong for example.
I was wondering what kind off domoboards everbody are creating. Just some samples Image
If you see me collapse, pause my Garmin fenix 3
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

Post by squandor »

proza wrote:
squandor wrote:here is an screenshot with the pushon button with D-Gong for example.
I was wondering what kind off domoboards everbody are creating. Just some samples Image
okay here are some pics from my test situation
Attachments
Screen Shot 2017-01-02 at 22.44.34.png
Screen Shot 2017-01-02 at 22.44.34.png (249.62 KiB) Viewed 2935 times
Screen Shot 2017-01-02 at 22.42.38.png
Screen Shot 2017-01-02 at 22.42.38.png (243.26 KiB) Viewed 2935 times
Screen Shot 2017-01-02 at 22.42.22.png
Screen Shot 2017-01-02 at 22.42.22.png (277.98 KiB) Viewed 2935 times
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

Post by squandor »

and my traffic and cams obviously
Attachments
Screen Shot 2017-01-02 at 22.50.27.png
Screen Shot 2017-01-02 at 22.50.27.png (120.5 KiB) Viewed 2934 times
Screen Shot 2017-01-02 at 22.46.33.png
Screen Shot 2017-01-02 at 22.46.33.png (126.56 KiB) Viewed 2934 times
Last edited by squandor on Tuesday 03 January 2017 18:31, edited 1 time in total.
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by blackdog65 »

squandor wrote:haha that's an ultimate solution :)

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
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
GreenSmart01
Posts: 22
Joined: Sunday 01 January 2017 17:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10856
Location: Zeeland
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by GreenSmart01 »

Hi There,

im still getting an error while starting:

Code: Select all

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
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

Post by wez3 »

GreenSmart01 wrote:Hi There,

im still getting an error while starting:

Code: Select all

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.
GreenSmart01
Posts: 22
Joined: Sunday 01 January 2017 17:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10856
Location: Zeeland
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by GreenSmart01 »

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.
can u help me out how to check this?
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

Post by wez3 »

Check if the following program is available:
easy_install-2.7
and
python2.7

Then:
sudo easy_install-2.7 flask flask-auth configobj gitpython simplejson bleach requests
and:
sudo python2.7 server.py -c <your config>
GreenSmart01
Posts: 22
Joined: Sunday 01 January 2017 17:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10856
Location: Zeeland
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by GreenSmart01 »

Code: Select all

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.

Code: Select all

pi@raspberrypi:~/domoboard$ python2.7
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests