Page 23 of 32

Re: Domoboard - General Discussions

Posted: Wednesday 01 February 2017 9:07
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 :)

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 8:59
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'

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 15:55
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

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 15:56
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

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 17:57
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!

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 18:12
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

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 18:14
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

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 18:29
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?

Re: Domoboard - General Discussions

Posted: Tuesday 07 February 2017 20:54
by GuyTreepbush
squandor wrote:Just created an feature to add autologon functionality to domoboard.
:D will give that a try this weekend

Re: Domoboard - General Discussions

Posted: Friday 10 February 2017 7:14
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?

Re: Domoboard - General Discussions

Posted: Friday 10 February 2017 9:46
by squandor
Does he has Jessie-light installed?
It seems that there is an difference between the full and light version

Re: Domoboard - General Discussions

Posted: Friday 10 February 2017 13:50
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.

Re: Domoboard - General Discussions

Posted: Friday 10 February 2017 22:18
by squandor
Great to hear :)!

Re: Domoboard - General Discussions

Posted: Sunday 12 February 2017 19:22
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

Re: Domoboard - General Discussions

Posted: Monday 13 February 2017 9:53
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.

Re: Domoboard - General Discussions

Posted: Monday 13 February 2017 11:22
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 :)

Re: Domoboard - General Discussions

Posted: Monday 13 February 2017 12:13
by possible
Aaah yeah I found it! Thanks! normally I use supervisor but systemd is also working fine :)

Re: Domoboard - General Discussions

Posted: Thursday 16 February 2017 10:42
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 2087 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 2087 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 2087 times
Does anyone have an idea of how I can get the Fibaro dimmer in domoboard?

Re: Domoboard - General Discussions

Posted: Friday 17 February 2017 17:36
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 :)

Re: Domoboard - General Discussions

Posted: Saturday 18 February 2017 13:44
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.