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.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor »

Awst6000 wrote:
squandor wrote:Hi,
...if anyone has any idea's they are always welcome...
Unfortunately I'm not a coder. But I hope you guys take the time needed and work something out that works intuitive.
Yep this will be an big change for the system so this time where not rushing anything :)
possible
Posts: 18
Joined: Monday 10 October 2016 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by possible »

Hi,

I just installed domoboard and it is working perfectly.

I do have 2 questions:

1. I have a RGBWW Milgiht led tube. This one is a switch, dimmer and RGBWW adjustable.

How can i add this in domoboard together? I only can add 1 section. Dimmer, switch or RGB and not all together?

2. How does the weatherunderground works on the dashboard? I have set the following settings:

Code: Select all

[general_settings]

[[wunderground]]
     api = xxxxxxxxxxxxxxxx
Dashboard:

Code: Select all

[dashboard]
[[display_components]]
     components = top_tiles, switches, domoticz_temp_charts, wunderground[condition], wunderground[forecast]
and the information:

Code: Select all

[[wunderground]]
   [[[forecast]]]
   location = Amsterdam, NL
   [[[condition]]]
   location = Amsterdam, NL
It results in:

Code: Select all

[2017-02-07 14:18:07,483] ERROR in app: Exception on /api [POST]
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 "/home/pi/domoboard/modules/api.py", line 43, in gateway
    result = call(request.args)
  File "/home/pi/domoboard/plugins/wunderground.py", line 59, in getData
    _language = config['general_settings']['wunderground']['language']
KeyError: 'language'
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor »

possible wrote:Hi,

I just installed domoboard and it is working perfectly.

I do have 2 questions:

1. I have a RGBWW Milgiht led tube. This one is a switch, dimmer and RGBWW adjustable.

How can i add this in domoboard together? I only can add 1 section. Dimmer, switch or RGB and not all together?

2. How does the weatherunderground works on the dashboard? I have set the following settings:

Code: Select all

[general_settings]

[[wunderground]]
     api = xxxxxxxxxxxxxxxx
Dashboard:

Code: Select all

[dashboard]
[[display_components]]
     components = top_tiles, switches, domoticz_temp_charts, wunderground[condition], wunderground[forecast]
and the information:

Code: Select all

[[wunderground]]
   [[[forecast]]]
   location = Amsterdam, NL
   [[[condition]]]
   location = Amsterdam, NL
It results in:

Code: Select all

[2017-02-07 14:18:07,483] ERROR in app: Exception on /api [POST]
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 "/home/pi/domoboard/modules/api.py", line 43, in gateway
    result = call(request.args)
  File "/home/pi/domoboard/plugins/wunderground.py", line 59, in getData
    _language = config['general_settings']['wunderground']['language']
KeyError: 'language'
Hi there,

It seems that you mist 1 argument in the general_settings config.

If you add the following argument under the [wunderground] section it should work:

Code: Select all

language = en
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor »

Just created an feature to add autologon functionality to domoboard.
If you get the latest develop update you can add autologon to the domoboard section in general settings and add True or False like this:

Code: Select all

  [[domoboard]]
    time = False			# True/False: show time in top bar
    date = False			# True/False: show date in top bar
    autologon = False 		# True/False: enable autologon
dutchdevil83
Posts: 130
Joined: Monday 31 October 2016 19:34
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Netherlands
Contact:

Re: Domoboard - General Discussions

Post by dutchdevil83 »

squandor wrote:Just created an feature to add autologon functionality to domoboard.
If you get the latest develop update you can add autologon to the domoboard section in general settings and add True or False like this:

Code: Select all

  [[domoboard]]
    time = False			# True/False: show time in top bar
    date = False			# True/False: show date in top bar
    autologon = False 		# True/False: enable autologon
Thank you for this!
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
possible
Posts: 18
Joined: Monday 10 October 2016 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by possible »

squandor wrote:
possible wrote:Hi,

Hi there,

It seems that you mist 1 argument in the general_settings config.

If you add the following argument under the [wunderground] section it should work:

Code: Select all

language = en
Hi,

I think i already had it:

Code: Select all

[general_settings]
  [[server]]
    url = 192.168.0.1:8080                     # IP-address of Domoticz backend
    flask_url = 192.168.0.1:8081               # Please note: this is the internal IP-address including port of the Domoboard server
    user = username                     # Username for Domoticz (if required)
    password = password                 # Password for Domoticz (if required)
    secret_key = xxxxxxxxxxxxx   # A random secret key used for Python authentication. Change to anything random.
  [[wunderground]]
     api_key = xxxxxxxxxxxxxxx

  [[users]]
    username = password                        # Add users for Domoboard here. In this case login with username "username" and password "password"
  [[domoboard]]
    time = False                        # True/False: show time in top bar
    date = False                        # True/False: show date in top bar
    language = "en"                     # Change this to display date/time in local language and format
    google_maps_api_key = X             # Google Maps Embed API key
This is the my config file. Is this oke? I stil have the same error
dutchdevil83
Posts: 130
Joined: Monday 31 October 2016 19:34
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Netherlands
Contact:

Re: Domoboard - General Discussions

Post by dutchdevil83 »

possible wrote:
squandor wrote:
possible wrote:Hi,

Hi there,

It seems that you mist 1 argument in the general_settings config.

If you add the following argument under the [wunderground] section it should work:

Code: Select all

language = en
Hi,

I think i already had it:

Code: Select all

[general_settings]
  [[server]]
    url = 192.168.0.1:8080                     # IP-address of Domoticz backend
    flask_url = 192.168.0.1:8081               # Please note: this is the internal IP-address including port of the Domoboard server
    user = username                     # Username for Domoticz (if required)
    password = password                 # Password for Domoticz (if required)
    secret_key = xxxxxxxxxxxxx   # A random secret key used for Python authentication. Change to anything random.
  [[wunderground]]
     api_key = xxxxxxxxxxxxxxx

  [[users]]
    username = password                        # Add users for Domoboard here. In this case login with username "username" and password "password"
  [[domoboard]]
    time = False                        # True/False: show time in top bar
    date = False                        # True/False: show date in top bar
    language = "en"                     # Change this to display date/time in local language and format
    google_maps_api_key = X             # Google Maps Embed API key
This is the my config file. Is this oke? I stil have the same error
You need to add the language in the Wunderground settings. The other setting is for local settings for the date/time bar at top of the page
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
possible
Posts: 18
Joined: Monday 10 October 2016 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by possible »

dutchdevil83 wrote:
possible wrote:
squandor wrote:
Hi,

I think i already had it:

Code: Select all

[general_settings]
  [[server]]
    url = 192.168.0.1:8080                     # IP-address of Domoticz backend
    flask_url = 192.168.0.1:8081               # Please note: this is the internal IP-address including port of the Domoboard server
    user = username                     # Username for Domoticz (if required)
    password = password                 # Password for Domoticz (if required)
    secret_key = xxxxxxxxxxxxx   # A random secret key used for Python authentication. Change to anything random.
  [[wunderground]]
     api_key = xxxxxxxxxxxxxxx

  [[users]]
    username = password                        # Add users for Domoboard here. In this case login with username "username" and password "password"
  [[domoboard]]
    time = False                        # True/False: show time in top bar
    date = False                        # True/False: show date in top bar
    language = "en"                     # Change this to display date/time in local language and format
    google_maps_api_key = X             # Google Maps Embed API key
This is the my config file. Is this oke? I stil have the same error
You need to add the language in the Wunderground settings. The other setting is for local settings for the date/time bar at top of the page
Thanks.. I have it working now!

Do you have an answer for my led tubes?
GuyTreepbush
Posts: 19
Joined: Thursday 12 January 2017 13:26
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by GuyTreepbush »

squandor wrote:Just created an feature to add autologon functionality to domoboard.
:D will give that a try this weekend
possible
Posts: 18
Joined: Monday 10 October 2016 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by possible »

Hi All,

I tried to install domoboard on a friend of my his Raspberry Pi. When i trie to load the example config, it fails with:

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 auth


I installed it but i cannot get it started. Does anyone know what the problem might be?
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor »

Does he has Jessie-light installed?
It seems that there is an difference between the full and light version
possible
Posts: 18
Joined: Monday 10 October 2016 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by possible »

Yeah..

he installed the pixel (full) version.. I needed to upgrade the auth package.. Once this was done.. It is working fine now.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor »

Great to hear :)!
58djarviss
Posts: 6
Joined: Sunday 12 February 2017 19:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by 58djarviss »

Hi,

I 've installed in a few minutes Domoboard (very easy, thanks for that) and it's look very nice. Just have some issues with my Foscam IP Camera to get live streaming, anyway I'll check later.

I would like to ask for a feature which could be nice : auto rotation between the different menu of the navbar. I have an android tablet on the wall and use Imperihome. It's a great tool but the GUI is a bit old and my tablet is a bit old and have some difficulties to run imperihome.

But I like the "rotation" feature between pages in Imerihome. The same would be really appreciated in Domoboard.

Thanks for the job
possible
Posts: 18
Joined: Monday 10 October 2016 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by possible »

1 more question.

Is there a way to autostart the python server.py script without using the commandline?

When i want to reboot my system it would be nice if domoboard starts automatically.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor »

possible wrote:1 more question.

Is there a way to autostart the python server.py script without using the commandline?

When i want to reboot my system it would be nice if domoboard starts automatically.
it was mentioned before in this topic, i still need to automate this on my server to but there is an systemd example somewhere in this topic :)
possible
Posts: 18
Joined: Monday 10 October 2016 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by possible »

Aaah yeah I found it! Thanks! normally I use supervisor but systemd is also working fine :)
ztorm
Posts: 20
Joined: Thursday 16 February 2017 10:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Domoboard - General Discussions

Post by ztorm »

Hello!

I really love the domoboard! Been playing with it for a while now. Everything works fine, but there is one thing that I can't fix. I have three dimmers (two Hue lamps and a Fibaro dimmer 2). In domoticz they are shown as dimmers with a slider.
Schermafbeelding 2017-02-16 om 10.27.45.png
Schermafbeelding 2017-02-16 om 10.27.45.png (105.65 KiB) Viewed 1937 times
When I add them to the domoboard the Hue lamps (IDX 16/17) do work, but the Fibaro dimmer (IDX 1) doesn't. I get an empty square. When I add the dimmer as switch it does work (only on/off, no dimming).
Schermafbeelding 2017-02-16 om 10.27.31.png
Schermafbeelding 2017-02-16 om 10.27.31.png (8.53 KiB) Viewed 1937 times
I saw in the devices table of domoticz that the subtype of the Hue lamps is AC and light/switch for the Fibaro dimmer. I thought that that could be an issue. So I added a dummy switch and set the type to dimmer (IDX 29). Then I've added the dummy dimmer to domoboard and guess what: a slider :shock:
Schermafbeelding 2017-02-16 om 10.28.15.png
Schermafbeelding 2017-02-16 om 10.28.15.png (48.96 KiB) Viewed 1937 times
Does anyone have an idea of how I can get the Fibaro dimmer in domoboard?
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor »

ztorm wrote:Hello!

I really love the domoboard! Been playing with it for a while now. Everything works fine, but there is one thing that I can't fix. I have three dimmers (two Hue lamps and a Fibaro dimmer 2). In domoticz they are shown as dimmers with a slider.

Schermafbeelding 2017-02-16 om 10.27.45.png

When I add them to the domoboard the Hue lamps (IDX 16/17) do work, but the Fibaro dimmer (IDX 1) doesn't. I get an empty square. When I add the dimmer as switch it does work (only on/off, no dimming).

Schermafbeelding 2017-02-16 om 10.27.31.png

I saw in the devices table of domoticz that the subtype of the Hue lamps is AC and light/switch for the Fibaro dimmer. I thought that that could be an issue. So I added a dummy switch and set the type to dimmer (IDX 29). Then I've added the dummy dimmer to domoboard and guess what: a slider :shock:

Schermafbeelding 2017-02-16 om 10.28.15.png

Does anyone have an idea of how I can get the Fibaro dimmer in domoboard?
Hi ztorm,

Hmm that's an unusual behaviour. did you get an error in you're console.log when domoboard tries to init an dimmer on zithoek?

It looks like it should work but if there are no errors its a little bit difficult to debug it :)
GuyTreepbush
Posts: 19
Joined: Thursday 12 January 2017 13:26
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by GuyTreepbush »

squandor wrote:Just created an feature to add autologon functionality to domoboard.
If you get the latest develop update you can add autologon to the domoboard section in general settings and add True or False like this:
In internet explorer or chrome this seems to work. Unfortunatly on IOS it still asks for a password each time.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest