Page 21 of 32
Re: Domoboard - General Discussions
Posted: Wednesday 25 January 2017 20:01
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.
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 1:05
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
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 9:33
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.
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 12:11
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
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 12:48
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.
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 12:56
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
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 13:26
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?
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 13:36
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?
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 13:43
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.
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 13:52
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?
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 13:55
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.
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 14:01
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
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 14:05
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?
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 14:25
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
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 15:45
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.
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 16:47
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?
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 17:29
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
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 17:31
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

Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 21:35
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?
Re: Domoboard - General Discussions
Posted: Thursday 26 January 2017 21:51
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