Page 29 of 32

Re: Domoboard - General Discussions

Posted: Tuesday 28 March 2017 18:15
by miljume
miljume wrote:
squandor wrote:
miljume wrote:Yes, I have authentication enabled but not for local IP adresses and the Domoboard is on the same RPI so that shouldnt be the problem

I did a git pull from the development branch so I am on the latest development version
Could you send the [general_settings] part of the config so we can see if the problem is in there.
Sure, see below
I guess the username/password part for Domoticz isn't needed when I have excluded login for local IP's?

Code: Select all

[general_settings]
  [[server]]
    url = 192.168.0.51:8081			# IP-address of Domoticz backend
    flask_url = 192.168.0.51:8090		# 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 = <secret key> # A random secret key used for Python authentication. Change to anything random.
  [[users]]
    user1 = password1			# Add users for Domoboard here. In this case login with username "username" and password "password"
    user2 = password2
  [[domoboard]]
    time = True			# True/False: show time in top bar
    date = True			# True/False: show date in top bar
    language = "sv"			# Change this to display date/time in local language and format
    #google_maps_api_key = <api key>		# Google Maps Embed API key
    autologon = True       # True/False: enable autologon
  [[wunderground]]
  	api = <api key>
  	language = en
I have found the error!

The switch in Domoticz was called "Ljusträd" and it seems like it's the same error I reported on before (for temperature sensor) that the script can't handle Swedish letters when receiving info from Domoticz. When renaming the switch to "Light Tree" it started working again :)

Re: Domoboard - General Discussions

Posted: Thursday 30 March 2017 14:17
by SwordFish
Nice work with this frontend.
I setup Domoboard and it is working but i noticed that with klikaanklikuit dimmers the sliders only work within the 1 to 16%. The dimmers don't support dimming in % only in steps (16 in this case). Is there a fix for?
Keep up the good work.

Re: Domoboard - General Discussions

Posted: Tuesday 11 April 2017 15:09
by squandor
sander815 wrote:Just got my HDMI display and second rpi. One question, do i install this on a fresh rpi with raspbian? Or on the rpi that runs domoticz
It is both possible. If you run domoboard on an fresh rpi you can change the config settings like this:
[general_settings]
[[server]]
url = url of you're domoticz server like 192.168.1.2:8080
flask_url = the ip adres of you're fresh rpi

then it should work fine :)

Re: Domoboard - General Discussions

Posted: Thursday 13 April 2017 20:11
by jake
I tried to install the Domoboard on an Xbain RPI setup. So far I haven't succeeded:

Code: Select all

 sudo apt-get install python-setuptools
sudo easy_install flask flask-auth configobj gitpython simplejson bleach requests
sudo apt-get install git
git clone https://github.com/wez3/domoboard
sudo apt-get install python-pip
pip install setuptools --upgrade
pip install html5lib

xbian@xbian ~/domoboard $ python server.py -c jacco.conf
Traceback (most recent call last):
  File "server.py", line 8, in <module>
    import modules.api as api
  File "/home/xbian/domoboard/modules/api.py", line 7, in <module>
    import security, charts, plugins, webconfig, domoticz
  File "/home/xbian/domoboard/modules/security.py", line 5, in <module>
    import json, simplejson, hashlib, os, bleach
  File "/usr/local/lib/python2.7/dist-packages/bleach-2.0.0-py2.7.egg/bleach/__init__.py", line 5, in <module>
    from bleach.linkifier import (
  File "/usr/local/lib/python2.7/dist-packages/bleach-2.0.0-py2.7.egg/bleach/linkifier.py", line 5, in <module>
    from html5lib.filters.base import Filter
ImportError: No module named base
It looks like it gets stuck on every step of the process, but now I am at the 'ImportError: No module named base' and have no clue how to continue.

Suggestions welcome

Re: Domoboard - General Discussions

Posted: Sunday 16 April 2017 17:15
by squandor
jake wrote:I tried to install the Domoboard on an Xbain RPI setup. So far I haven't succeeded:

Code: Select all

 sudo apt-get install python-setuptools
sudo easy_install flask flask-auth configobj gitpython simplejson bleach requests
sudo apt-get install git
git clone https://github.com/wez3/domoboard
sudo apt-get install python-pip
pip install setuptools --upgrade
pip install html5lib

xbian@xbian ~/domoboard $ python server.py -c jacco.conf
Traceback (most recent call last):
  File "server.py", line 8, in <module>
    import modules.api as api
  File "/home/xbian/domoboard/modules/api.py", line 7, in <module>
    import security, charts, plugins, webconfig, domoticz
  File "/home/xbian/domoboard/modules/security.py", line 5, in <module>
    import json, simplejson, hashlib, os, bleach
  File "/usr/local/lib/python2.7/dist-packages/bleach-2.0.0-py2.7.egg/bleach/__init__.py", line 5, in <module>
    from bleach.linkifier import (
  File "/usr/local/lib/python2.7/dist-packages/bleach-2.0.0-py2.7.egg/bleach/linkifier.py", line 5, in <module>
    from html5lib.filters.base import Filter
ImportError: No module named base
It looks like it gets stuck on every step of the process, but now I am at the 'ImportError: No module named base' and have no clue how to continue.

Suggestions welcome
could you try the following command:
pip install bleach --upgrade

i thought that base is an module that should be installed with bleach but maybe it needs an update.

Re: RE: Re: Domoboard - General Discussions

Posted: Sunday 16 April 2017 18:56
by jake
squandor wrote:
could you try the following command:
pip install bleach --upgrade

i thought that base is an module that should be installed with bleach but maybe it needs an update.
I tried your suggestion. I needed to do it as sudo because of permission error. However, it didn't help, the error is still the same.

Verstuurd vanaf mijn GT-I9195 met Tapatalk

Re: RE: Re: Domoboard - General Discussions

Posted: Thursday 27 April 2017 0:08
by squandor
jake wrote:
squandor wrote:
could you try the following command:
pip install bleach --upgrade

i thought that base is an module that should be installed with bleach but maybe it needs an update.
I tried your suggestion. I needed to do it as sudo because of permission error. However, it didn't help, the error is still the same.

Verstuurd vanaf mijn GT-I9195 met Tapatalk
hmm could you try the follow command:
pip install html5lib==0.999999999

Re: Domoboard - General Discussions

Posted: Saturday 29 April 2017 0:27
by wez3
If you have some issues installing domoboard on raspbian lite or full (probably other OS's aswell) you could try to use a virtualenv. I've tested this on lite and full, both seem to work flawless (change the path /home/pi if domoboard is located somewhere else):

sudo apt-get install python-virtualenv
virtualenv /home/pi/domoboard/
cd /home/pi/domoboard/bin
source activate
cd ..
pip install -r requirements.txt
python server.py -c config.conf

Please let me know if this works for you guys, so i can modify the installation instructions on the github page :).

Re: Domoboard - General Discussions

Posted: Wednesday 03 May 2017 20:30
by bbos
@wez3,
I had the same problem today on raspbian full, so I tried the virtualenv as you suggested... and it works like a charm.
Thx

Re: Domoboard - General Discussions

Posted: Friday 05 May 2017 20:19
by janvier123
is this project still active?
Any updates lately?

Re: Domoboard - General Discussions

Posted: Friday 05 May 2017 22:18
by wez3
janvier123 wrote:is this project still active?
Any updates lately?
Yes it is. Soon we will start writing code to configure domoboard through the webinterface.

Re: Domoboard - General Discussions

Posted: Sunday 07 May 2017 12:46
by wez3
I've created a script to easier install Domoboard. Domoboard can be installed in the current folder with the following command:
curl -L https://www.domoboard.nl/install | bash

Re: Domoboard - General Discussions

Posted: Sunday 07 May 2017 13:41
by bbos
How can I make the domoboard run at startup?
Previously I used pm2 (on another RPi)
On my new RPi I have to run domoboard via the virtualenv, and setting it up on pm2 has not worked so far.
I have also tried putting the following commands in my rc.local:
cd domoboard/bin
source activate
cd ..
python server.py -c domo.conf

but this also didn't work

Re: Domoboard - General Discussions

Posted: Tuesday 09 May 2017 12:42
by wez3
bbos wrote:How can I make the domoboard run at startup?
Previously I used pm2 (on another RPi)
On my new RPi I have to run domoboard via the virtualenv, and setting it up on pm2 has not worked so far.
I have also tried putting the following commands in my rc.local:
cd domoboard/bin
source activate
cd ..
python server.py -c domo.conf

but this also didn't work
Checkout the "Install as a service" instructions on the github page:
https://github.com/wez3/domoboard

This explains how to get it running under systemd.

Re: Domoboard - General Discussions

Posted: Wednesday 10 May 2017 17:58
by janvier123

Code: Select all

[statistics]
  [[display_components]]
    components = domoticz_temp_charts[1], domoticz_temp_charts[2]
   [[domoticz_temp_charts]]
      [[[1]]]
		Temperatuur = 13, day, temp
      [[[2]]]
		Temperatuur2 = 14, day, temp	
This does not seem to work, i see 2 blocks, but only the bottom one (2) is working, the first one is blank

Re: Domoboard - General Discussions

Posted: Wednesday 10 May 2017 19:56
by wez3
janvier123 wrote:

Code: Select all

[statistics]
  [[display_components]]
    components = domoticz_temp_charts[1], domoticz_temp_charts[2]
   [[domoticz_temp_charts]]
      [[[1]]]
		Temperatuur = 13, day, temp
      [[[2]]]
		Temperatuur2 = 14, day, temp	
This does not seem to work, i see 2 blocks, but only the bottom one (2) is working, the first one is blank
This is a known issue. Please see:
https://github.com/wez3/domoboard/issues/28

Re: Domoboard - General Discussions

Posted: Friday 12 May 2017 20:32
by janvier123
Got a 2nd RPI and i wanted to install domoboard, however it didnt work
i used: 2017-04-10-raspbian-jessie-lite (Minimal Install)

So after installing over and over again, ive made a list that allowes you to install it without any issues.
So please update the install script to the following?

PLEASE NOTE: that i did not use the NOOBS install, so it can be that some lines are not needed ;)

Here is what ive done:

Code: Select all

sudo apt-get update
sudo apt-get install python-dev -y
sudo apt-get install python-pip -y
sudo apt-get install git -y
curl -L https://www.domoboard.nl/install | bash 
its up to you what to do with it, this is the most working install for me :)

Re: Domoboard - General Discussions

Posted: Friday 12 May 2017 21:36
by wez3
janvier123 wrote:Got a 2nd RPI and i wanted to install domoboard, however it didnt work
i used: 2017-04-10-raspbian-jessie-lite (Minimal Install)

So after installing over and over again, ive made a list that allowes you to install it without any issues.
So please update the install script to the following?

PLEASE NOTE: that i did not use the NOOBS install, so it can be that some lines are not needed ;)

Here is what ive done:

Code: Select all

sudo apt-get update
sudo apt-get install python-dev -y
sudo apt-get install python-pip -y
sudo apt-get install git -y
curl -L https://www.domoboard.nl/install | bash 
its up to you what to do with it, this is the most working install for me :)
Thanks. Just added this to the install script :)

Re: Domoboard - General Discussions

Posted: Friday 19 May 2017 17:22
by janvier123
Error Found:

------------------------------------------------------------------------------------------------- First one

Code: Select all

XML Parsing Error: syntax error
Location: https://domoboard.nl/version.md?_=1495206829537
Line Number 1, Column 1:
1.0.16,1.0.18

Code: Select all

XML Parsing Error: syntax error Location: moz-nullprincipal:{d9dde203-ba69-4cea-9122-1f27dcdde6b5} Line Number 1, Column 1:
1.0.16,1.0.18
^
------------------------------------------------------------------------------------------------- 2nd one


Instellingen => Plugins
When clicking install, it just keeps loading but nothing changes
(Using FF latest version)

Re: Domoboard - General Discussions

Posted: Friday 19 May 2017 18:38
by squandor
janvier123 wrote:Error Found:

------------------------------------------------------------------------------------------------- First one

Code: Select all

XML Parsing Error: syntax error
Location: https://domoboard.nl/version.md?_=1495206829537
Line Number 1, Column 1:
1.0.16,1.0.18

Code: Select all

XML Parsing Error: syntax error Location: moz-nullprincipal:{d9dde203-ba69-4cea-9122-1f27dcdde6b5} Line Number 1, Column 1:
1.0.16,1.0.18
^
------------------------------------------------------------------------------------------------- 2nd one


Instellingen => Plugins
When clicking install, it just keeps loading but nothing changes
(Using FF latest version)
Hi janvier123 which plug-in did you try to install And does this happen with every plugin you try to install? And do you have you're server running in debug mode? For the first error I must ask wez3 to check so I'll get back on that one