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:A question about the selector:
Is this the three-way switch for the ventilation system?
Three way or four way doesn't matter it will dynamically add the number of buttons that you have in domoticz.
jhenrikb
Posts: 26
Joined: Sunday 08 January 2017 19:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by jhenrikb »

Is there any way to increase buttons size?

I tried to double all the pixels in bootstrap-switch and "buttons" file without success.

the other files I looked in I didnt find much related to size.

On the 2000x1500 pixel tablet a scene button becomes very small.

Sincerely
John
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 »

jhenrikb wrote:Is there any way to increase buttons size?

I tried to double all the pixels in bootstrap-switch and "buttons" file without success.

the other files I looked in I didnt find much related to size.

On the 2000x1500 pixel tablet a scene button becomes very small.

Sincerely
John
Hi john the scene buttons style is located in the buttons.css so maybe if you change the values in that file that the buttons will change to.
Zahariac
Posts: 6
Joined: Monday 30 March 2015 14:47
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by Zahariac »

I can't seem to get it working. When I want to startup domoboard with the Python server.py config file this is what I get:

Traceback (most recent call last):
File "server.py", line 149, in <module>
unsanitizedConfig = configobj.ConfigObj(configfile)
File "/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1229, in __init__
self._load(infile, configspec)
File "/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1318, in _load
raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 67.

When I go to that map the file configonj does'nt exist. Can somebody help me? I am clearly not an expert in linux

PS: On the easy install configobj is installed with the correct version
jhenrikb
Posts: 26
Joined: Sunday 08 January 2017 19:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by jhenrikb »

Zahariac wrote:I can't seem to get it working. When I want to startup domoboard with the Python server.py config file this is what I get:

Traceback (most recent call last):
File "server.py", line 149, in <module>
unsanitizedConfig = configobj.ConfigObj(configfile)
File "/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1229, in __init__
self._load(infile, configspec)
File "/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1318, in _load
raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 67.

When I go to that map the file configonj does'nt exist. Can somebody help me? I am clearly not an expert in linux

PS: On the easy install configobj is installed with the correct version
I get those errors when there is something wrong with my .config file. eg example.config

Got it last night when I tried to show a dimmer as a switch.
Zahariac
Posts: 6
Joined: Monday 30 March 2015 14:47
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by Zahariac »

jhenrikb wrote:
Zahariac wrote:I can't seem to get it working. When I want to startup domoboard with the Python server.py config file this is what I get:

Traceback (most recent call last):
File "server.py", line 149, in <module>
unsanitizedConfig = configobj.ConfigObj(configfile)
File "/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1229, in __init__
self._load(infile, configspec)
File "/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg/configobj.py", line 1318, in _load
raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 67.

When I go to that map the file configonj does'nt exist. Can somebody help me? I am clearly not an expert in linux

PS: On the easy install configobj is installed with the correct version
I get those errors when there is something wrong with my .config file. eg example.config

Got it last night when I tried to show a dimmer as a switch.
THANK YOU! Now I got another fault. But can I change the port with no problems? Yes I can! Thanks it is working I think.

Error when starting the Flask server: [Errno 98] Address already in use

Still have a lot of 404 errors on several pages but I am getting somewhere
anconakip
Posts: 17
Joined: Tuesday 30 September 2014 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 7722
Contact:

Re: Domoboard - General Discussions

Post by anconakip »

I have installed all by this post on my pi2. I changed the flask_url port to 5000. But when i go to myip:5000 the browser wil not connect. What do i wrong?
Zahariac
Posts: 6
Joined: Monday 30 March 2015 14:47
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by Zahariac »

anconakip wrote:I have installed all by this post on my pi2. I changed the flask_url port to 5000. But when i go to myip:5000 the browser wil not connect. What do i wrong?
Does your router support up to range 5000 for the port? Or your PI2 for that matter?
anconakip
Posts: 17
Joined: Tuesday 30 September 2014 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 7722
Contact:

Re: Domoboard - General Discussions

Post by anconakip »

Zahariac wrote:
anconakip wrote:I have installed all by this post on my pi2. I changed the flask_url port to 5000. But when i go to myip:5000 the browser wil not connect. What do i wrong?
Does your router support up to range 5000 for the port? Or your PI2 for that matter?
I changed the port to 85 and this works also not. What should i change on my pi then? all is on my locale network so i don't need portforwarding on my router i guess.
Zahariac
Posts: 6
Joined: Monday 30 March 2015 14:47
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by Zahariac »

anconakip wrote:
Zahariac wrote:
anconakip wrote:I have installed all by this post on my pi2. I changed the flask_url port to 5000. But when i go to myip:5000 the browser wil not connect. What do i wrong?
Does your router support up to range 5000 for the port? Or your PI2 for that matter?
I changed the port to 85 and this works also not. What should i change on my pi then? all is on my locale network so i don't need portforwarding on my router i guess.
Are you sure that the installation is complete?
anconakip
Posts: 17
Joined: Tuesday 30 September 2014 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 7722
Contact:

Re: Domoboard - General Discussions

Post by anconakip »

Zahariac wrote:
anconakip wrote:
Zahariac wrote:
Does your router support up to range 5000 for the port? Or your PI2 for that matter?
I changed the port to 85 and this works also not. What should i change on my pi then? all is on my locale network so i don't need portforwarding on my router i guess.
Are you sure that the installation is complete?
how can i check that? i folowwed this tut.
Zahariac
Posts: 6
Joined: Monday 30 March 2015 14:47
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by Zahariac »

anconakip wrote:
Zahariac wrote:
anconakip wrote: I changed the port to 85 and this works also not. What should i change on my pi then? all is on my locale network so i don't need portforwarding on my router i guess.
Are you sure that the installation is complete?
how can i check that? i folowwed this tut.
Not sure on a Pi. But in my terminal I can see lines and lines of code running
anconakip
Posts: 17
Joined: Tuesday 30 September 2014 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 7722
Contact:

Re: Domoboard - General Discussions

Post by anconakip »

Zahariac wrote:
anconakip wrote:
Zahariac wrote:
Are you sure that the installation is complete?
how can i check that? i folowwed this tut.
Not sure on a Pi. But in my terminal I can see lines and lines of code running
with what command?
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 »

anconakip wrote:
Zahariac wrote:
anconakip wrote: how can i check that? i folowwed this tut.
Not sure on a Pi. But in my terminal I can see lines and lines of code running
with what command?
start with -d in terminal and you can run in debug mode :

Code: Select all

python server.py -c <config_file> -d
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
anconakip
Posts: 17
Joined: Tuesday 30 September 2014 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 7722
Contact:

Re: Domoboard - General Discussions

Post by anconakip »

dutchdevil83 wrote:
anconakip wrote:
Zahariac wrote:
Not sure on a Pi. But in my terminal I can see lines and lines of code running
with what command?
start with -d in terminal and you can run in debug mode :

Code: Select all

python server.py -c <config_file> -d
The only thing i see is:

Device and/or scene with IDX 22 is not available in Domoticz

and then my command line again.
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Domoboard - General Discussions

Post by desertdog »

Just a question to be sure I wont 'break' anything...
My Domoticz web interface is currently running on 192.168.0.2:8080

If I set the Domoboard config to:

Code: Select all

[general_settings]
  [[server]]
    url = 192.168.0.2:8080			# IP-address of Domoticz backend
    flask_url = 192.168.0.2:80		# Please note: this is the internal IP-address including port of the Domoboard server
Does this means that the domoticz interface is still available on port 8080 and the Domoboard interface in port 80?
Snowtiger
Posts: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Domoboard - General Discussions

Post by Snowtiger »

anconakip wrote:
dutchdevil83 wrote:
anconakip wrote: with what command?
start with -d in terminal and you can run in debug mode :

Code: Select all

python server.py -c <config_file> -d
The only thing i see is:

Device and/or scene with IDX 22 is not available in Domoticz

and then my command line again.
in your configuration file (something like myconf.conf) you can only use IDX which are actually present and active in your Domoticz - you specified IDX 22 which is not present in your Domoticz so Domoboard will not run
Snowtiger
Posts: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Domoboard - General Discussions

Post by Snowtiger »

desertdog wrote:Just a question to be sure I wont 'break' anything...
My Domoticz web interface is currently running on 192.168.0.2:8080

If I set the Domoboard config to:

Code: Select all

[general_settings]
  [[server]]
    url = 192.168.0.2:8080			# IP-address of Domoticz backend
    flask_url = 192.168.0.2:80		# Please note: this is the internal IP-address including port of the Domoboard server
Does this means that the domoticz interface is still available on port 8080 and the Domoboard interface in port 80?
Correct, maybe you should use another port number that 80 because this is the default port for webservers - or it must be that this is your intention ;) use for example 1500 :)
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Domoboard - General Discussions

Post by desertdog »

Unfortunately I already get stuck at the first line:

Code: Select all

sudo easy_install flask flask-auth configobj gitpython simplejson bleach requests
This gives the error: sudo: easy_install: command not found

I am trying to install on a Rasberry Pi 3B

what am I doing wrong?
Felix82
Posts: 5
Joined: Tuesday 10 January 2017 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by Felix82 »

desertdog wrote:Unfortunately I already get stuck at the first line:

Code: Select all

sudo easy_install flask flask-auth configobj gitpython simplejson bleach requests
This gives the error: sudo: easy_install: command not found

I am trying to install on a Rasberry Pi 3B

what am I doing wrong?
Already posted, read forum, use google...

sudo install python-setuptools
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests